소스 검색

* Fixed typo, added compilation example

tags/v0.99.beta14
Jean-Yves Lamoureux jylam 18 년 전
부모
커밋
dc57e11c0e
1개의 변경된 파일6개의 추가작업 그리고 1개의 파일을 삭제
  1. +6
    -1
      doc/tutorial.dox

+ 6
- 1
doc/tutorial.dox 파일 보기

@@ -43,7 +43,7 @@ int main(void)


What does it do ? (we skip variable definitions, guessing you have a brain) :
- Create a cucul canvas. A canvas is where everything happens. Writing characters, sprites, strings, images, everything. It is mandatory and is the reason for libcuculs' beeing. Size is there a width of 0 pixels, and a height of 0 pixels. It'll be resized according to contents you put in it.
- Create a cucul canvas. A canvas is where everything happens. Writing characters, sprites, strings, images, everything. It is mandatory and is the reason of libcuculs' beeing. Size is there a width of 0 pixels, and a height of 0 pixels. It'll be resized according to contents you put in it.

- Create a caca display. This is basically the window. Physically it can be a window (most of the displays), a console (ncurses, slang) or a real display (VGA).

@@ -62,4 +62,9 @@ What does it do ? (we skip variable definitions, guessing you have a brain) :
- Free canvas (release memory and close window if any)


You can then compile this code under UNIX-like systems with following command : (you'll need pkg-config and gcc)
\code
gcc `pkg-config --libs --cflags cucul caca` example.c -o example
\endcode

*/

불러오는 중...
취소
저장