- Timestamp:
- Jan 24, 2013, 8:45:33 PM (8 years ago)
- Location:
- gaycko/trunk
- Files:
-
- 1 deleted
- 4 edited
- 4 copied
Legend:
- Unmodified
- Added
- Removed
-
gaycko/trunk/configure.ac
r4749 r4861 77 77 [AC_MSG_RESULT(no) 78 78 AC_MSG_ERROR([you need libcaca version 0.99.beta18 or later])]) 79 79 80 80 81 81 XML2_INCLUDES="`xml2-config --cflags`" … … 86 86 TIDY_LIBS="-ltidy" 87 87 V8_INCLUDES="-I${V8}/include" 88 V8_LIBS="-L${V8}/ -lv8_g"88 V8_LIBS="-L${V8}/out/x64.debug/lib.target/ -lv8" 89 89 CFLAGS="${CFLAGS} -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare -std=c99 -D_GNU_SOURCE -O0 -g -ggdb" 90 90 -
gaycko/trunk/src/Makefile.am
r4761 r4861 3 3 bin_PROGRAMS = Gaycko 4 4 5 Gaycko_SOURCES = gaycko.cpp gaycko.h \ 6 io/file.c io/file.h \ 7 io/http.c io/http.h \ 8 io/io.c io/io.h \ 9 parsing/parse.c parsing/parse.h \ 10 dom/dom.c dom/dom.h \ 11 helpers/str.c helpers/str.h \ 12 js/glue.cpp js/glue.h \ 13 window/window.c window/window.h \ 14 render/renderer.c render/renderer.h \ 15 render/position.c render/table.c 16 17 Gaycko_CFLAGS = @CACA_INCLUDES@ @XML2_INCLUDES@ @CURL_INCLUDES@ @TIDY_INCLUDES@ 5 Gaycko_SOURCES =gaycko.cpp gaycko.h \ 6 io/file.c io/file.h \ 7 io/http.c io/http.h \ 8 io/io.c io/io.h \ 9 parse.c parse.h \ 10 dom/dom.c dom/dom.h \ 11 helpers/str.c helpers/str.h \ 12 js/glue.cpp js/glue.h \ 13 window.c window.h \ 14 renderer.c renderer.h \ 15 position.c \ 16 table.c 17 18 Gaycko_CFLAGS = @CACA_INCLUDES@ @XML2_INCLUDES@ @CURL_INCLUDES@ @TIDY_INCLUDES@ 18 19 Gaycko_CPPFLAGS=@CACA_INCLUDES@ @XML2_INCLUDES@ @CURL_INCLUDES@ @TIDY_INCLUDES@ @V8_INCLUDES@ 19 20 Gaycko_LDADD = @CACA_LIBS@ @XML2_LIBS@ @CURL_LIBS@ @TIDY_LIBS@ @V8_LIBS@ -
gaycko/trunk/src/gaycko.cpp
r4860 r4861 13 13 #include "gaycko.h" 14 14 #include "io/io.h" 15 #include "pars ing/parse.h"15 #include "parse.h" 16 16 #include "js/glue.h" 17 #include "render /renderer.h"18 #include "window /window.h"17 #include "renderer.h" 18 #include "window.h" 19 19 #include <caca.h> 20 20 } -
gaycko/trunk/src/renderer.h
r4859 r4861 20 20 #include "gaycko.h" 21 21 #include "dom/dom.h" 22 #include "window /window.h"22 #include "window.h" 23 23 24 24 -
gaycko/trunk/src/window.c
r4860 r4861 13 13 #include <stdlib.h> 14 14 15 #include "window /window.h"15 #include "window.h" 16 16 17 17 gWindow *gaycko_create_window(int width, int height) { 18 gWindow *window = NULL; 18 gWindow *window = NULL; 19 19 window = (gWindow*) malloc(sizeof(window)); 20 20 21 21 window->dom = NULL; 22 22 window->cv = caca_create_canvas(width, height); … … 27 27 28 28 void gaycko_window_set_dom(gWindow *window, gDOM *dom) { 29 window->dom = dom; 29 window->dom = dom; 30 30 } 31 31 32 32 void gaycko_destroy_window(gWindow *window) { 33 caca_free_canvas(window->cv); 33 caca_free_canvas(window->cv); 34 34 } 35 35
Note: See TracChangeset
for help on using the changeset viewer.