Freeciv-3.3
Loading...
Searching...
No Matches
Macros | Functions
widget_combo.h File Reference
#include "gui_string.h"

Go to the source code of this file.

Macros

#define combo_new_from_chars(background, dest, font_size, char_string, vector, length, flags)
 
#define combo_new_from_chars_fonto(background, dest, fonto, char_string, vector, length, flags)
 

Functions

struct widgetcombo_new (SDL_Surface *background, struct gui_layer *dest, utf8_str *pstr, const struct strvec *vector, int length, Uint32 flags)
 
void combo_popup (struct widget *combo)
 
void combo_popdown (struct widget *combo)
 

Macro Definition Documentation

◆ combo_new_from_chars

#define combo_new_from_chars (   background,
  dest,
  font_size,
  char_string,
  vector,
  length,
  flags 
)
Value:
combo_new(background, dest, \
vector, length, flags)
char * incite_cost
Definition comments.c:76
#define create_utf8_from_char(string_in, ptsize)
Definition gui_string.h:103
struct widget * combo_new(SDL_Surface *background, struct gui_layer *dest, utf8_str *pstr, const struct strvec *vector, int length, Uint32 flags)

Definition at line 22 of file widget_combo.h.

◆ combo_new_from_chars_fonto

#define combo_new_from_chars_fonto (   background,
  dest,
  fonto,
  char_string,
  vector,
  length,
  flags 
)
Value:
combo_new(background, dest, \
vector, length, flags)
#define create_utf8_from_char_fonto(string_in, fonto)
Definition gui_string.h:108

Definition at line 28 of file widget_combo.h.

Function Documentation

◆ combo_new()

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 235 of file widget_combo.c.

◆ combo_popdown()

void combo_popdown ( struct widget combo)

Popdown the combo box widget.

Definition at line 212 of file widget_combo.c.

Referenced by combo_menu_item_callback(), combo_new(), video_mode_widget_destroy(), and widget_pressed_action().

◆ combo_popup()

void combo_popup ( struct widget combo)

Popup the combo box widget.

Definition at line 138 of file widget_combo.c.

Referenced by widget_pressed_action().