ENIGMA Forums

Contributing to ENIGMA => Function Peer Review => Topic started by: Goombert on May 05, 2013, 03:43:23 AM

Title: Graphic User Interface
Post by: Goombert on May 05, 2013, 03:43:23 AM
This is a set of functions I am going to add that become dependent on the set graphics system, they will make it easier to create textured controls and stuff.

Code: [Select]
gui_create_button();
gui_create_checkbox();
gui_create_textbox();
gui_create_radiooption();
gui_create_label();

gui_set_label_text();
gui_set_button_text();
gui_set_button_state();
gui_set_button_texture();
gui_set_checkbox_text();
gui_set_checkbox_state();
gui_set_textbox_text();
gui_set_textbox_state();
gui_set_radiooption_text();
gui_set_control_position(x, y);

gui_get_button_state();
gui_get_checkbox_state();
gui_get_radiooption_state();

gui_set_style();

Please post any suggestions or requests here before I get around to implementing these  ;D