- ui_enum( panel, "Select enum:", dropdown_options, 3, &dropdown_value );
- ui_checkbox( panel, "Toggly:", &checkbox_value );
+
+ static i32 page = 0;
+ ui_tabs( panel, content,
+ (const char *[]){ "Controls", "Other", "Nothing" }, 3, &page );
+
+ if( page == 0 ){
+ ui_enum( content, "Select enum:", dropdown_options, 3, &dropdown_value );
+ ui_checkbox( content, "Toggly:", &checkbox_value );
+ ui_textbox( content, "Single:", g_an_buffer, 96, 1, 0, NULL );
+ ui_textbox( content, "Multi:", g_an_buffer2, 96, 5, 0, NULL );
+
+ if( ui_button( content, "Hello" ) == 1 ){
+ vg_success( "Ding!\n" );
+ }
+ }
+ else if( page == 1 ){
+ if( ui_button( content, "Another button" ) == 1 ){
+ vg_error( "Press\n" );
+ }
+ }
+