Alexander Medvednikov
|
d60ceb45cd
|
gg: make create_image() return !Image
|
2023-03-29 19:04:41 +02:00 |
|
Tim Marston
|
26b9464f51
|
gg: setup ctx.window.user_data and ctx.user_data on ctx.run(), instead of in gg.new_context, to allow for embedding gg.Context in ui (#17169)
|
2023-01-31 18:22:20 +02:00 |
|
Delyan Angelov
|
68501677e3
|
ci: fix gg-regressions failure
|
2022-12-21 21:03:47 +02:00 |
|
Alexander Medvednikov
|
88e33a83de
|
gg: fix draw_image on macos native; vcreate: vweb template
|
2022-12-21 19:33:37 +03:00 |
|
yuyi
|
017ace6ea7
|
vfmt: change all '$expr' to '${expr}' (#16428)
|
2022-11-15 16:53:13 +03:00 |
|
Junko
|
5bb058e35b
|
gg: revamp the Context pipeline for more effects, implement an additive effect (#16394)
|
2022-11-12 09:39:18 +02:00 |
|
Alexander Medvednikov
|
e81e0ac708
|
fmt: replace go with spawn
|
2022-11-05 10:46:40 +03:00 |
|
Makhnev Petr
|
2e8b9e3b92
|
v fmt: fix extra space for anon struct (#16131)
|
2022-10-21 10:38:19 +03:00 |
|
Delyan Angelov
|
fa20d797a5
|
Revert "examples: increase the window size of drag_n_drop.v a little (test CI)"
This reverts commit 8fc166d5a3 .
|
2022-10-10 10:39:58 +03:00 |
|
Delyan Angelov
|
8fc166d5a3
|
examples: increase the window size of drag_n_drop.v a little (test CI)
|
2022-10-10 04:04:27 +03:00 |
|
Swastik Baranwal
|
b584e1df98
|
checker: allow EnumName(number) casts only inside unsafe{} blocks (#15932)
|
2022-10-02 22:39:11 +03:00 |
|
Larpon
|
816e9319d7
|
cgen: remove the need for [console] for gg or ui programs on windows (#15912)
|
2022-09-29 15:02:50 +03:00 |
|
Tim Marston
|
089e89f865
|
gg: improve arc/slice drawing (#15856)
|
2022-09-25 15:22:10 +03:00 |
|
shove
|
8b962f8446
|
checker: fix nested struct reference type field initialized check. (fix: #15741) (#15752)
|
2022-09-15 07:59:31 +03:00 |
|
Delyan Angelov
|
cae7bc9a9a
|
examples: add examples/gg/rotating_textured_quad.v
|
2022-08-14 09:45:25 +03:00 |
|
Mehmet Ali
|
12d57e8e7b
|
sokol: add mouse cursor support (#15111)
|
2022-07-18 09:44:48 +03:00 |
|
Alexander Medvednikov
|
cb60392302
|
examples: fix unsafe 0
|
2022-06-26 07:12:15 +03:00 |
|
Delyan Angelov
|
ea71ea3ec1
|
examples: speed up mandelbrot.v a little, increase iterations/details too
|
2022-06-09 20:10:00 +03:00 |
|
Delyan Angelov
|
64a686f41f
|
examples: speed up mandelbrot.v by using a constant size thread pool, processing smaller chunks
|
2022-05-22 11:12:16 +03:00 |
|
Subhomoy Haldar
|
114a341f5f
|
rand: simplify rand.PRNG, move to optional types for error handling (#13570)
|
2022-02-23 12:36:14 +02:00 |
|
Wertzui123
|
22c21e62a1
|
examples: fix the mandelbrot set example on Windows (#13251)
|
2022-01-23 00:45:27 +02:00 |
|
Larpon
|
7fbd856bf8
|
os: add font module, move from gg (#13144)
|
2022-01-13 12:16:18 +02:00 |
|
Benjamin Stigsen
|
546c388b02
|
gg: renaming drawing functions (#12913)
|
2021-12-23 13:31:25 +02:00 |
|
Larpon
|
047f059fb8
|
examples: use fontstash wrapper calls (#12718)
|
2021-12-06 23:39:43 +03:00 |
|
penguindark
|
89eb5425cd
|
examples: clean file path usage in the examples, move all the fonts in the common assets folder (#12736)
|
2021-12-06 09:53:46 +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
|
09cc0c7247
|
gg: use sgl.begin_points for pixels + improve pixels example (#12085)
|
2021-10-07 10:46:57 +03:00 |
|
yuyi
|
108a01d65f
|
fmt: fix unnecessary line break in array init (fix #11448) (#11562)
|
2021-09-21 16:20:09 +03:00 |
|
Delyan Angelov
|
5010d18f27
|
examples: use double buffering for mandelbrot.v, to remove flickering on m1
|
2021-09-10 19:46:10 +03:00 |
|
Delyan Angelov
|
fa0983128f
|
examples: add a mandelbrot viewer example
|
2021-09-10 18:59:39 +03:00 |
|
penguindark
|
f1cba44154
|
examples: add a gg drag'n'drop example (#11403)
|
2021-09-05 16:14:38 +03:00 |
|
Larpon
|
e85311c2ba
|
gg: change draw_cubic_bezier* call signatures for speed and to match *_poly (#11323)
|
2021-08-27 16:52:05 +03:00 |
|
Larpon
|
833bf2cf15
|
gg: add cubic Bézier curves + examples (#11286)
|
2021-08-24 06:35:27 +03:00 |
|
Benjamin Stigsen
|
70a658a265
|
gg: set_pixels() (#11236)
|
2021-08-20 01:14:25 +03:00 |
|
Delyan Angelov
|
0d12d55295
|
gg: allow customisation of the image format in gg.new_streaming_image
|
2021-07-26 11:05:16 +03:00 |
|
Daniel Däschle
|
ad3835b598
|
parser: deprecate short struct init (#10842)
|
2021-07-20 11:17:08 +03:00 |
|
Delyan Angelov
|
05284c45a6
|
examples: fix x,y dimensions
|
2021-07-16 22:51:20 +03:00 |
|
Delyan Angelov
|
b2391424d9
|
examples: add examples/gg/random.v demonstrating how to stream images/pixels
|
2021-06-24 17:45:14 +03:00 |
|
Delyan Angelov
|
f18265e6a8
|
gg: remove obsolete usages of use_ortho: true
|
2021-06-24 11:15:12 +03:00 |
|
Larpon
|
19b4504072
|
examples: add a gg timer example, drawing the result coming from a worker thread (#10065)
|
2021-05-10 11:30:24 +03:00 |
|
Lukas Neubert
|
dee733aae4
|
fmt: reset const field align after multi line exprs (#9916)
|
2021-04-29 02:17:37 +03:00 |
|
Lukas Neubert
|
16e79bc3ca
|
tools: format most examples and tutorials, add them to v test-cleancode (#9826)
|
2021-04-20 17:16:35 +03:00 |
|
Alexander Medvednikov
|
711e309eef
|
gg: bring back native rendering on macos
|
2021-04-14 03:59:34 +03:00 |
|
Lucas Hernán Tarche
|
7813ecbb75
|
gg: add draw_convex_poly/2 and draw_empty_poly/2 methods (#8487)
|
2021-02-01 18:18:23 +02:00 |
|
Larpon
|
afddcda7a3
|
examples: make raven text run on android, fix text scaling (#8394)
|
2021-01-29 12:13:06 +02:00 |
|
Delyan Angelov
|
3a357d9718
|
gg: add examples/gg/stars.v
|
2021-01-04 12:19:05 +02:00 |
|
Delyan Angelov
|
8b2e704741
|
examples: make v -prod build-examples pass without warnings/errors
|
2020-10-18 09:48:13 +03:00 |
|
Delyan Angelov
|
b22711ef33
|
examples/gg/rectangles.v: add missing logo.png picture
|
2020-08-05 19:56:01 +03:00 |
|
Alexander Medvednikov
|
ecaccafd31
|
gg: image cache
|
2020-08-05 16:00:24 +02:00 |
|