1 /**********************************************************************
2 Freeciv - Copyright (C) 2006 - The Freeciv Project
3 This program is free software; you can redistribute it and/or modify
4 it under the terms of the GNU General Public License as published by
5 the Free Software Foundation; either version 2, or (at your option)
8 This program is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 GNU General Public License for more details.
12 ***********************************************************************/
14 #ifndef FC__WIDGET_COMBO_H
15 #define FC__WIDGET_COMBO_H
19 #define combo_new_from_chars(background, dest, font_size, \
20 char_string, vector, length, flags) \
21 combo_new(background, dest, create_utf8_from_char(char_string, \
22 font_size), vector, length, flags)
24 struct widget
*combo_new(SDL_Surface
*background
, struct gui_layer
*dest
,
25 utf8_str
*pstr
, const struct strvec
*vector
,
26 int length
, Uint32 flags
);
27 void combo_popup(struct widget
*combo
);
28 void combo_popdown(struct widget
*combo
);
30 #endif /* FC__WIDGET_COMBO_H */