1
0
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:
penguindark
2021-09-21 08:55:06 +02:00
committed by GitHub
parent 49886b8c40
commit e4bd2306da
8 changed files with 2487 additions and 1020 deletions

View File

@@ -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 {