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

Last change on this file since 4750 was 4750, checked in by Jean-Yves Lamoureux, 9 years ago
  • Initial general node and table width computation
File size: 938 bytes
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(gDOM *dom, gWindow *window);
26unsigned int gaycko_get_width      (gNode *node, gNode *parent);
27unsigned int gaycko_get_table_width(gNode *node, gNode *parent);
28unsigned int gaycko_get_text_width (gNode *node, gNode *parent);
29
30#endif /* RENDERER_H */
31
32
Note: See TracBrowser for help on using the repository browser.