Textfield time
This commit is contained in:
@@ -36,6 +36,8 @@ Interaction_State :: struct {
|
||||
left_mouse_pressed: bool;
|
||||
right_mouse_pressed: bool;
|
||||
|
||||
editing: bool;
|
||||
|
||||
normalized_local_mouse_coordinates: Vector2; // Coordinates inside the rect in the range [0,1]
|
||||
}
|
||||
|
||||
@@ -71,6 +73,8 @@ UI_Box :: struct {
|
||||
|
||||
interaction : Interaction_State;
|
||||
|
||||
_number_text: Static_Array(u8, 8);
|
||||
|
||||
style : struct {
|
||||
texture: Texture_Handle;
|
||||
background_color: Color;
|
||||
@@ -971,4 +975,5 @@ padding_top : float;
|
||||
padding_bottom : float;
|
||||
|
||||
#load "../core/stack.jai";
|
||||
#load "../core/static_array.jai";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user