Fixed a single raygui binding
This commit is contained in:
parent
4e9fe28e4d
commit
e5fccefec0
5 changed files with 28 additions and 22 deletions
|
|
@ -332,7 +332,8 @@ update :: proc() {
|
|||
size := v2{224.0, 128.0}
|
||||
position := v2(iv2{rl.GetRenderWidth(), rl.GetRenderHeight()} / 2.0) - size / 2.0
|
||||
area := rect2{**position, **size}
|
||||
action := rl.GuiMessageBox(area, "Message", program_messages[program.message_type], "Confirm;Cancel")
|
||||
active := cast(^i32)&program.matrix_mode_perceived
|
||||
action := rl.GuiMessageBox(area, "Message", program_messages[program.message_type], "Confirm;Cancel", active)
|
||||
switch action {
|
||||
case 0:
|
||||
case 1:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue