source: gaycko/trunk/src/render/renderer.h @ 4760

Last change on this file since 4760 was 4760, checked in by Jean-Yves Lamoureux, 9 years ago
  • TD's are now aligned to the widest one

-- This line, and those below, will be ignored--

M src/render/position.c
M src/render/renderer.c
M src/render/renderer.h

File size: 1.1 KB
Line 
1/*
2 *  Gaycko        Text mode web browser
3 *  Copyright (c) 2011 Jean-Yves Lamoureux <jylam@lnxscene.org>
4 *                All Rights Reserved
5 *
6 *  This library is free software. It comes without any warranty, to
7 *  the extent permitted by applicable law. You can redistribute it
8 *  and/or modify it under the terms of the Do What The Fuck You Want
9 *  To Public License, Version 2, as published by Sam Hocevar. See
10 *  http://sam.zoy.org/wtfpl/COPYING for more details.
11 */
12#ifndef RENDERER_H
13#define RENDERER_H
14#include <stdio.h>
15#include <stdlib.h>
16#include <string.h>
17
18#include <caca.h>
19
20#include "gaycko.h"
21#include "dom/dom.h"
22#include "window/window.h"
23
24
25void gaycko_render(gWindow *window);
26void gaycko_get_position      (gNode *node, gNode *parent);
27
28void gaycko_fix_table(gNode *table);
29void gaycko_fix_tr(gNode *tr);
30unsigned int gaycko_get_td_width(gNode *tr, unsigned int td_index);
31void gaycko_set_td_width(gNode *tr, unsigned td_index, unsigned int width);
32void gaycko_add_node_x(gNode *node, unsigned int add);
33
34void gaycko_print_dom(gWindow *window);
35void gaycko_print_node(gNode *node,gWindow *window);
36
37
38
39#endif /* RENDERER_H */
40
41
Note: See TracBrowser for help on using the repository browser.