/*
 *  Gaycko        Text mode web browser
 *  Copyright (c) 2011 Jean-Yves Lamoureux <jylam@lnxscene.org>
 *                All Rights Reserved
 *
 *  This library is free software. It comes without any warranty, to
 *  the extent permitted by applicable law. You can redistribute it
 *  and/or modify it under the terms of the Do What The Fuck You Want
 *  To Public License, Version 2, as published by Sam Hocevar. See
 *  http://sam.zoy.org/wtfpl/COPYING for more details.
 */
#ifndef RENDERER_H
#define RENDERER_H
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#include <caca.h>

#include "gaycko.h"
#include "dom/dom.h"
#include "window/window.h"


void gaycko_render(gWindow *window);
void gaycko_get_position      (gNode *node, gNode *parent);

void gaycko_fix_table(gNode *table);
void gaycko_fix_tr(gNode *tr);

void gaycko_print_dom(gWindow *window);
void gaycko_print_node(gNode *node,gWindow *window);



#endif /* RENDERER_H */


