tim_button_noborder
This commit is contained in:
@@ -256,10 +256,14 @@ void tim_frame(i32 x, i32 y, i32 w, i32 h, TimStyle style);
|
||||
// color: background, text
|
||||
void tim_label(cstr s, i32 x, i32 y, i32 w, i32 h, TimStyle style);
|
||||
|
||||
// button - returns true on click
|
||||
// button with border - returns true on click
|
||||
// color: frame, background, text
|
||||
bool tim_button(cstr txt, i32 x, i32 y, i32 w, i32 h, TimStyle style);
|
||||
|
||||
// button without border - returns true on click
|
||||
// color: frame, background, text
|
||||
bool tim_button_noborder(cstr txt, i32 x, i32 y, i32 w, i32 h, TimStyle style);
|
||||
|
||||
// check box - returns true when clicked
|
||||
// txt : text label
|
||||
// state: persistent state, 0 unchecked, -1 semi checked, !0: checked
|
||||
|
||||
Reference in New Issue
Block a user