diff options
Diffstat (limited to 'src/gui/base.h')
| -rw-r--r-- | src/gui/base.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/base.h b/src/gui/base.h index 0418afd..1a1c4cb 100644 --- a/src/gui/base.h +++ b/src/gui/base.h @@ -95,7 +95,8 @@ extern struct GUI_VECTORINPUT* gui_vectorinput( F32 max, F32 step = 1.f, const char* letters = "xyzw", - const char* printfmt = "%.2f" + const char* printfmt = "%.2f", + U8 showval = 1 ); extern struct GUI_COLORINPUT* gui_colorinput( @@ -234,6 +235,7 @@ struct GUI_FLOATINPUT : GUI_BASE { I32 lastmx; U8 heldoutbounds; U8 held; + U8 drawval; // for color sliders CLR bgcol; @@ -329,7 +331,7 @@ struct __gui_internal { GL_BATCH2D* batch; }; -void __gui_internal_vectorinput_init( +extern void __gui_internal_vectorinput_init( GUI_VECTORINPUT* input, I32 x, I32 y, I32 w, const char* title, |
