1 |
/* |
/* |
2 |
$Id$ |
$Id$ |
3 |
|
|
4 |
(C) Copyright 2000/2001 Joel Vennin |
(C) Copyright 2000/2001/2004 Joel Vennin |
5 |
Part of the Adonthell Project http://adonthell.linuxgames.com |
Part of the Adonthell Project http://adonthell.linuxgames.com |
6 |
|
|
7 |
This program is free software; you can redistribute it and/or modify |
This program is free software; you can redistribute it and/or modify |
24 |
|
|
25 |
#include "str_hash.h" |
#include "str_hash.h" |
26 |
#include "win_theme.h" |
#include "win_theme.h" |
27 |
#include "win_font.h" |
#include "win_ttf.h" |
28 |
|
|
29 |
#ifndef SWIG |
#ifndef SWIG |
30 |
using namespace std; |
using namespace std; |
161 |
/** |
/** |
162 |
* Empty for now |
* Empty for now |
163 |
*/ |
*/ |
164 |
static void init (); |
static void init (const string & font); |
165 |
|
|
166 |
/** |
/** |
167 |
* Delete all themes and fonts currently loaded. |
* Delete all themes and fonts currently loaded. |
225 |
private: |
private: |
226 |
#ifndef SWIG |
#ifndef SWIG |
227 |
static hash_map<string, win_theme *> theme; |
static hash_map<string, win_theme *> theme; |
228 |
static hash_map<string, win_font *> font; |
static hash_map<string, win_ttf *> font; |
229 |
|
|
230 |
list<win_base *> wnd_list; |
list<win_base *> wnd_list; |
231 |
list<win_base *>::iterator current; |
list<win_base *>::iterator current; |
232 |
win_base *wnd_focus; |
win_base *wnd_focus; |
233 |
win_manager *prev; |
win_manager *prev; |
234 |
|
static string font_file; |
235 |
#endif // SWIG |
#endif // SWIG |
236 |
}; |
}; |
237 |
|
|