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

273 Commits

Author SHA1 Message Date
R cqls
c26b7666c7
gg: some stuff required to have svg and png screenshots working on v ui (#14180) 2022-04-26 20:59:36 +03:00
tzSharing
03d21a727e
gg: fix gg.draw_rounded_rect_filled() graphical abnormalities (#14128) 2022-04-22 00:16:10 +03:00
Alexander Medvednikov
1c6f63ac0a tests: use u8 everywhere 2022-04-15 18:34:15 +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
56e6fd01c5
gg: document pub functions in text_rendering and m4/vector (#13961) 2022-04-06 19:34:02 +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
Larpon
2350dbbd57
gg: add missing doc strings to pub fns in image.* (#13934) 2022-04-05 13:21:03 +03:00
Larpon
aa9e2ebb25
gg: document all draw functions (#13931) 2022-04-04 18:09:19 +03:00
Alexander Medvednikov
36ec47cd20 all: replace "NB:" with "Note:" (docs/comments) 2022-03-06 20:01:22 +03:00
Delyan Angelov
d2e8302d21
ci: show failing compilation output in draw_fns_api_test.v (make diagnostic easier) 2022-02-22 16:53:06 +02:00
kahsa
809772db4e
gg: improve Context scale for Android (#13545) 2022-02-21 12:12:21 +02:00
Delyan Angelov
db50e79d26
tools: implement cgen tag for Markdown examples in v check-md (#13332) 2022-01-31 22:51:04 +02:00
Delyan Angelov
eb7f152f3d
gg: add a temporary import for gx + a gg.Color type alias for gx.Color, without using it 2022-01-29 21:42:19 +02:00
Delyan Angelov
2d184559b6 ci: fix failing draw_fns_api_test.v on macos (after rename) 2022-01-26 15:32:06 +02:00
kahsa
867056dafb
gg: rename some variables (for consistency) (#13280) 2022-01-26 12:26:12 +02:00
Delyan Angelov
0979723636
gg: improve small circle (r<20) looks 2022-01-26 10:32:14 +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
Delyan Angelov
359b674cff
ci: fix more failing tests 2022-01-22 23:18:09 +02:00
Charles WANG
79cb0db2ff
gg: add a working implementation for screen_size() on windows (#13237) 2022-01-21 14:43:12 +02:00
Wertzui123
d67be6302b
gg: add the gg.Context.remove_cached_image_by_idx() method (#13206) 2022-01-20 08:10:09 +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
jeffmikels
a60b381d5e
docs: adding skeleton README.md files for all vlib modules (#13034) 2022-01-05 18:06:08 +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
2b9f993574
gg: add text rendering, keyboard event handling for JS and other fixes (#12932) 2021-12-22 12:26:52 +02:00
playX
ade14491d4
gg: add event handling for mouse down/up and mouse leave/out on VJS (#12917) 2021-12-21 12:31:29 +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
Benjamin Stigsen
d90ef1f29f
gg: draw_arc fixes (#12827) 2021-12-15 21:17:07 +03:00
Benjamin Stigsen
76f6f99bce
gg: add draw_ring() (#12817) 2021-12-13 21:03:42 +02:00
Benjamin Stigsen
ab6e93394f
gg: add draw_empty_triangle() (#12804) 2021-12-12 19:41:27 +02:00
Delyan Angelov
0021fbbaa9
gg: support VGG_STOP_AT_FRAME=120 VGG_SCREENSHOT_FOLDER=. VGG_SCREENSHOT_FRAMES=10,20,30 ./v -d gg_record run examples/gg/bezier_anim.v (#12767) 2021-12-08 22:38:33 +02:00
Larpon
047f059fb8
examples: use fontstash wrapper calls (#12718) 2021-12-06 23:39:43 +03:00
Delyan Angelov
6d97b0a407
checker: improve checking of a << b, when a and b are numbers (#12589) 2021-11-29 03:48:49 +03:00
kahsa
480f3876ee
gg: fix system_font_path (#12533) 2021-11-21 19:12:15 +02:00
kahsa
3f37ab2ef2
gg: fix system_font_path on Linux (#12477) 2021-11-16 12:14:35 +03:00
Delyan Angelov
9cb378bb6b
examples: reduce the memory usage of the clock example, without -autofree & -gc boehm 2021-11-11 17:39:02 +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
Delyan Angelov
8be64ef80e
gg: improve font loading diagnostics with -d debug_font 2021-11-06 17:15:17 +02:00
Delyan Angelov
c4e282a0c8
parser: check fn args in declarations too with -Wimpure-v
`v -Wimpure-v examples/2048/` now passes cleanly.
2021-11-03 16:20:24 +02:00