Skip to content
slaeshjag edited this page Mar 27, 2013 · 1 revision

Note: Menutk should be considered in alpha-state. The API has been unmodified for a long time, but I'm not at all happy with how it works. Be aware that it may or may not change a lot in the future.

DARNIT_MENU

DARNIT_MENU is a collection of menu widgets to quickly put up simple menues. Mouse input is not yet supported.

  • DARNIT_MENU *d_menu_horizontal_create(const char *options, int x, int y, DARNIT_FONT *font, int max_w);
  • DARNIT_MENU *d_menu_vertical_create(const char *options, int x, int y, DARNIT_FONT *font, int menu_w, int textskip_x, int max_h); *[DARNIT_MENYd_menu_vertical_shade_new(int x, int y, int shade_w, int shade_h, int y_advance, int options, int skip_option, int max_h);
  • DARNIT_MENU *d_menu_spinbutton_new(const char *label, int x, int y, DARNIT_FONT *font, int step, int min, int max);
  • DARNIT_MENU *d_menu_textinput_new(int x, int y, DARNIT_FONT *font, char *buff, int buff_len, int field_len);
  • void d_menu_vertical_shade_selections_reduce

Clone this wiki locally