Pages: [1]
  Print  
Author Topic: Graphic User Interface  (Read 951 times)
Offline (Male) Goombert
Posted on: May 05, 2013, 03:43:23 AM

Contributor
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 3035

View Profile
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
Logged
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.

Pages: [1]
  Print