1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
Commit Graph

34 Commits

Author SHA1 Message Date
Tim Marston
711bb6def7
gg: rename Context.set_cfg() -> Context.set_text_cfg() (#15904) 2022-09-29 15:24:16 +03:00
Delyan Angelov
7e69619add
builtin, compiler: replace isnil(x) calls with x == unsafe { nil } (a little faster without -prod) (#15759) 2022-09-15 14:59:37 +03:00
shove
8b962f8446
checker: fix nested struct reference type field initialized check. (fix: #15741) (#15752) 2022-09-15 07:59:31 +03:00
Alexander Medvednikov
caa0c2f153 vfmt: voidptr(0) => unsafe { nil } (p.1) 2022-07-21 20:46:01 +03:00
Delyan Angelov
139c34c07d
gg: optimise app.gg.show_fps() (cache ctx.text_size() results, round frame to int without interpolation, center text inside the background rectangle) 2022-06-12 16:07:00 +03:00
Delyan Angelov
4682e17ac1
gg: fix v -d show_fps run examples/gg/stars.v 2022-06-12 15:17:04 +03:00
Delyan Angelov
7e06203da8 gg: support -d show_fps for all gg apps 2022-06-12 14:20:32 +03:00
Larpon
f58e5a94c2
gg: fire resize event before init if necessary on Android (#14725) 2022-06-08 21:43:20 +03:00
Alexander Medvednikov
fbb9e65c0f all: ~500 more byte=>u8 2022-04-15 18:25:45 +03:00
Alexander Medvednikov
fb192d949b all: replace []byte with []u8 2022-04-15 15:35:35 +03:00
Alexander Medvednikov
d4a0d6f73c all: byte => u8 2022-04-15 14:58:56 +03:00
Larpon
1482db6d1a
gg: add missing doc strings to android, recorder and gg.c.v (#13936) 2022-04-05 18:42:01 +03:00
Alexander Medvednikov
36ec47cd20 all: replace "NB:" with "Note:" (docs/comments) 2022-03-06 20:01:22 +03:00
kahsa
809772db4e
gg: improve Context scale for Android (#13545) 2022-02-21 12:12:21 +02:00
kahsa
867056dafb
gg: rename some variables (for consistency) (#13280) 2022-01-26 12:26:12 +02:00
kahsa
387b2db658
gg: cleanup reordering for readablity (#13258) 2022-01-24 14:12:34 +02:00
Benjamin Stigsen
4e0e2ef753
gg: additions, changes and fixes (#13255) 2022-01-23 18:18:17 +02:00
Charles WANG
79cb0db2ff
gg: add a working implementation for screen_size() on windows (#13237) 2022-01-21 14:43:12 +02:00
Larpon
7fbd856bf8
os: add font module, move from gg (#13144) 2022-01-13 12:16:18 +02:00
Larpon
3ae4513e2e
sokol: update to floooh/sokol from 27-Dec-2021 (4ff3ed7) (#13044) 2022-01-05 18:23:14 +02:00
Alexander Medvednikov
59ed4be49a all: update copyright year 2022-01-04 12:21:12 +03:00
Larpon
88a973b617
sokol: type alias all sgl structs, support sgl_context (#13018) 2022-01-03 15:05:24 +02:00
Larpon
4d4398fa8a
sokol: type alias all gfx structs (#13014) 2022-01-02 20:36:01 +02:00
Larpon
2210f89ea3
sokol: type alias all sapp structs (#12962) 2021-12-26 13:02:51 +02:00
Benjamin Stigsen
546c388b02
gg: renaming drawing functions (#12913) 2021-12-23 13:31:25 +02:00
playX
5f0160bf11
js,gg: more work on porting gg to JS backend (#12903) 2021-12-20 16:18:21 +03:00
Benjamin Stigsen
3a504480d9
gg: add draw_arc_empty (#12887) 2021-12-18 12:39:14 +02:00
Benjamin Stigsen
75830f1fe3
gg: add draw_ellipse_filled() + draw_ellipse_empty() APIs (#12869) 2021-12-17 21:19:18 +02:00
playX
b482da74e9
gg: move code using C types to c.v files, add js.v files (#12873) 2021-12-17 15:22:09 +02:00
Delyan Angelov
852d85b3a9
gg: cleanup the minimal gg program more 2021-11-07 09:16:49 +02:00
Delyan Angelov
32b74dd348
gg: simplify the minimal gg application even more with context.user_data = context 2021-11-06 18:24:19 +02:00
Larpon
970768288d
gg: expose sapp_desc.swap_interval via gg.Config (#11975) 2021-09-25 15:06:56 +03:00
penguindark
63ff5690ff
sokol.sapp,gg: add support for drag & drop events (#11359) 2021-09-01 09:21:27 +03:00
Delyan Angelov
576664e31f
gg,sokol,stbi,gx,fontstash: cleanup for -Wimpure-v 2021-08-12 22:42:42 +03:00