source: gaycko/trunk/src/window.h @ 4860

Last change on this file since 4860 was 4860, checked in by Jean-Yves Lamoureux, 8 years ago
  • reordering
File size: 878 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 WINDOW_H
13#define WINDOW_H
14
15#include "dom/dom.h"
16#include <caca.h>
17
18
19typedef struct gWindow_ {
20    gDOM *dom;
21    caca_canvas_t *cv;
22    unsigned int width, height;
23   
24}gWindow;
25
26
27gWindow *gaycko_create_window(int width, int height);
28void gaycko_window_set_dom(gWindow *window, gDOM *dom);
29void gaycko_display_window(gWindow *window);
30void gaycko_destroy_window(gWindow *window);
31
32
33#endif
Note: See TracBrowser for help on using the repository browser.