Freeciv-3.2
|
#include <SDL3/SDL.h>
#include "log.h"
#include "string_vector.h"
#include "colors.h"
#include "gui_id.h"
#include "gui_string.h"
#include "gui_tilespec.h"
#include "mapview.h"
#include "widget.h"
#include "widget_p.h"
Go to the source code of this file.
Data Structures | |
struct | combo_menu |
Functions | |
static int | combo_redraw (struct widget *combo) |
static int | combo_menu_callback (struct widget *window) |
static int | combo_menu_item_callback (struct widget *label) |
void | combo_popup (struct widget *combo) |
void | combo_popdown (struct widget *combo) |
struct widget * | combo_new (SDL_Surface *background, struct gui_layer *dest, utf8_str *pstr, const struct strvec *vector, int length, Uint32 flags) |
Variables | |
static int(* | baseclass_redraw )(struct widget *widget) = NULL |
User interacted with the combo menu window.
Definition at line 102 of file widget_combo.c.
User interacted with a single item of the combo menu.
Definition at line 117 of file widget_combo.c.
struct widget * combo_new | ( | SDL_Surface * | background, |
struct gui_layer * | dest, | ||
utf8_str * | pstr, | ||
const struct strvec * | vector, | ||
int | length, | ||
Uint32 | flags | ||
) |
Create a combo box widget.
Definition at line 231 of file widget_combo.c.
Popdown the combo box widget.
Definition at line 208 of file widget_combo.c.
Popup the combo box widget.
Definition at line 134 of file widget_combo.c.
Redraw the combo box widget.
Definition at line 45 of file widget_combo.c.