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

Last change on this file since 4768 was 4768, checked in by Jean-Yves Lamoureux, 11 years ago
  • Reworked table handling
File size: 1.2 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 *td);
31unsigned int gaycko_get_td_width_at(gNode *tr, unsigned int td);
32void         gaycko_set_td_width_at(gNode *tr, unsigned int td, unsigned int width);
33void         gaycko_move_td_contents(gNode *td, unsigned int add_x);
34
35void         gaycko_print_dom(gWindow *window);
36void         gaycko_print_node(gNode *node,gWindow *window);
37
38
39
40#endif /* RENDERER_H */
41
42
Note: See TracBrowser for help on using the repository browser.