mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
sokol: upgrade to latest version, add program icon support (#11559)
* updated sokol_gfx.h to the last version: 16d7b2e * merged sokol_app and update enums.v * added missing icons structs * try to fixing Mac keyboard problems * added v patch marker to sokol_app.h * upgrade for sokol_gl.h, sokol_fontstash.h * manage sgl_load_default_pipeline * added load_default_pipeline() for sokol coherence * vfmt sapp_structs.c.v Co-authored-by: Delyan Angelov <delian66@gmail.com>
This commit is contained in:
@@ -18,6 +18,8 @@ pub enum EventType {
|
||||
resized
|
||||
iconified
|
||||
restored
|
||||
focused
|
||||
unfocused
|
||||
suspended
|
||||
resumed
|
||||
update_cursor
|
||||
@@ -39,6 +41,9 @@ pub enum Modifier {
|
||||
ctrl = 2 //(1<<1)
|
||||
alt = 4 //(1<<2)
|
||||
super = 8 //(1<<3)
|
||||
lmb = 0x100
|
||||
rmb = 0x200
|
||||
mmb = 0x400
|
||||
}
|
||||
|
||||
pub enum KeyCode {
|
||||
|
||||
Reference in New Issue
Block a user