Delyan Angelov
|
2860152e82
|
gg,examples: use a timer to limit the rate of updates in breakout, instead of a separate thread, restore ability to run in a browser through emscripten
|
2025-03-09 08:45:21 +02:00 |
|
Delyan Angelov
|
0ffc33a5c9
|
examples, gg, gg.m4: fix VFLAGS='-no-skip-unused -cstrict -cc clang-18' v should-compile-all examples/sokol/ too
|
2025-03-06 19:58:25 +02:00 |
|
Adam Oates
|
6e3f6acffc
|
gg: fix incorrect Event.mouse_x and Event.mouse_y on gg.Context.event_fn and gg.Context.on_event on HiDPI displays (#23668)
|
2025-02-08 12:20:46 +02:00 |
|
Delyan Angelov
|
10f2fe196a
|
examples,gg: modify all remaining calls to fons.add_font_mem/3 to use an array.clone()
|
2025-02-07 14:39:36 +02:00 |
|
Delyan Angelov
|
16a6e45274
|
gg: fix ./v -gc none -autofree run examples/tetris/ (avoid return s1 + s2 + s3 , clone the arrays, passed to the fontstash wrapper)
|
2025-02-07 14:29:43 +02:00 |
|
Mike Ward
|
1d9aa88ca5
|
gg: mark create_image_with_size as deprecated (image resizing is done by stbi.resize_uint8/3 , with a different fn signature) (#23580)
|
2025-01-26 08:04:17 +02:00 |
|
Delyan Angelov
|
3acbd580d4
|
gg: enable clean compilation without notices for ./v -check-unused-fn-args examples/tetris/
|
2025-01-09 08:33:11 +02:00 |
|
Delyan Angelov
|
7aa2fcb55e
|
gg,sokol,examples: add example of overriding _SGL_DEFAULT_MAX_VERTICES in code
|
2025-01-06 14:54:56 +02:00 |
|
Adam Oates
|
c50d4ee13b
|
gg: add linux support for fn screen_size() Size (fix #23146) (#23326)
|
2025-01-02 19:10:09 +02:00 |
|
Alexander Medvednikov
|
17f56000aa
|
all: parallel-cc fixes
|
2024-12-12 15:04:26 +03:00 |
|
YukiiVR
|
c4d8687f74
|
gg: add icon field to gg.Config, for easier access (fix #23135) (#23138)
|
2024-12-12 03:54:35 +02:00 |
|
Hedgegod
|
cbfe1b8862
|
gg: use a larger fontstash text atlas by default (2048x2048, and customizable), instead of 512x512 (fix #21610) (#22959)
|
2024-11-24 14:35:34 +02:00 |
|
Delyan Angelov
|
5bba92a65a
|
vlib: remove modules/functions/fields, deprecated in 2023 (#22750)
|
2024-11-17 20:09:21 +02:00 |
|
yuyi
|
acf6b344f7
|
fmt: fix formating a file in an oscillating manner (fix #22223, fix #22026) (#22232)
|
2024-09-17 09:47:38 +03:00 |
|
yuyi
|
008aaad999
|
fmt: remove the prefixed module name of const names, that are in the same module (related #22183) (#22185)
|
2024-09-10 11:25:56 +03:00 |
|
Delyan Angelov
|
89e5279349
|
gg: change the type of PenConfig.thickness to f32
|
2024-09-08 12:05:04 +03:00 |
|
yuyi
|
c51d30bf53
|
fmt: fix alignment of struct init fields (#22025)
|
2024-08-11 09:11:24 +03:00 |
|
yuyi
|
19f080ffb8
|
all: change single blank comment to blank line (#22016)
|
2024-08-09 14:55:58 +03:00 |
|
yuyi
|
79ee4ae046
|
fmt: fix alignment of enumeration types (#21999)
|
2024-08-07 15:46:50 +03:00 |
|
yuyi
|
ddb6685d8a
|
fmt: fix and simplify align of struct fields (#21995)
|
2024-08-05 20:23:39 +03:00 |
|
Delyan Angelov
|
d43f0e457c
|
gg: add an optional size: parameter to the .draw_pixels and .draw_pixel methods (defaults to 1.0)
|
2024-07-31 21:54:53 +03:00 |
|
Delyan Angelov
|
2366582528
|
gg: deprecate gg.DrawImageConfig.rotate, in favor of gg.DrawImageConfig.rotation, improve the documentation comments (#21963)
|
2024-07-30 17:45:57 +03:00 |
|
Delyan Angelov
|
f676daceb5
|
vlib: fix C warnings/errors for v -show-c-output -cstrict -cc clang-18 run examples/gg/additive.v
|
2024-07-30 17:15:15 +03:00 |
|
Delyan Angelov
|
4e6f6164ed
|
gg: change the type of gg.DrawImageConfig.rotate from int to f32
|
2024-07-30 16:16:04 +03:00 |
|
Delyan Angelov
|
083faa3568
|
gg: make gg.DrawImageConfig fields mutable, cleanup additive.v, extracting the common parameters, and using {...myconfig, ...} for the differences
|
2024-07-30 16:16:03 +03:00 |
|
Delyan Angelov
|
8fec4cec9a
|
gg: add more documentation comments for gg.Config (the parameters of gg.start and gg.new_context)
|
2024-07-29 09:51:08 +03:00 |
|
Delyan Angelov
|
cadec97427
|
gg: add a note that Context.new_streaming_image has to be called after Sokol's setup
|
2024-07-29 09:21:06 +03:00 |
|
Delyan Angelov
|
0bf8adb5e6
|
gg: reset ctx.mouse_d? and ctx.scroll_? at the end of each frame (fix #21945) (#21946)
|
2024-07-28 01:25:58 +03:00 |
|
yuyi
|
209063ffd0
|
fmt: implement wrapping function's super long arguments (fix #15545, fix #21643) (#21782)
|
2024-07-02 23:10:00 +03:00 |
|
Delyan Angelov
|
4c42fe3420
|
gg: add Context.draw_cubic_bezier_recursive/2 and Context.draw_cubic_bezier_recursive_scalar/9 (#21749)
|
2024-06-28 08:30:45 +03:00 |
|
Adam Oates
|
434c3fbf9b
|
gg: make PenConfig fields public (#21353)
|
2024-04-26 01:10:13 +03:00 |
|
Turiiya
|
1a35a783f1
|
breaking,checker: disallow initializing private struct fields outside structs module (#21183)
|
2024-04-12 13:53:02 +03:00 |
|
Alexander Medvednikov
|
5cbed731dc
|
gg: draw_text with custom fonts
|
2024-04-05 18:09:47 +03:00 |
|
Turiiya
|
9704a01406
|
parser: fix case of falsely registering imports as used, remove unused imports (#21156)
|
2024-04-01 19:46:50 +03:00 |
|
Alexander Medvednikov
|
acf0107493
|
builtin: str.last_index(); pref: hide-auto-str;
|
2024-03-28 18:26:30 +03:00 |
|
Alexander Medvednikov
|
85533fe178
|
sokol, gg: min window width and height
|
2024-03-28 18:23:33 +03:00 |
|
Turiiya
|
f77bb32044
|
all: fix typos (#21089)
|
2024-03-25 12:18:27 +02:00 |
|
Alexander Medvednikov
|
b2df3264a7
|
gg: fix empty circle in native; http: post_form_with_cookies; veb: print veb action in html errors
|
2024-03-11 18:21:06 +03:00 |
|
Delyan Angelov
|
4cf05083ca
|
examples: cleanup code duplication in examples/sokol/04_multi_shader_glsl/rt_glsl.v, document gg.m4 (#20978)
|
2024-03-08 11:39:23 +02:00 |
|
Larpon
|
790ea2f1bd
|
sokol, gg, examples: update to match uptream at 058a4c5 (#20953)
|
2024-03-05 17:04:05 +02:00 |
|
Jan Kåre Vatne
|
cf7dcfe287
|
gg: handle dpi change, when moving window to another monitor (#20886)
|
2024-02-24 05:08:43 +02:00 |
|
Turiiya
|
d485cceee8
|
doc: update trim_doc_node_description, make module readmes more uniform (#20792)
|
2024-02-12 12:38:47 +02:00 |
|
gym603
|
bc37c85cae
|
tests: make 'test-self' pass under msys2/MINGW32 (#20614)
|
2024-01-22 01:20:53 +02:00 |
|
Anton
|
763f94388b
|
all: update copyright year (#20334)
|
2024-01-01 23:29:54 +02:00 |
|
Delyan Angelov
|
c4180d4b06
|
examples: shrink examples/gg/minimal.v even more
|
2023-12-29 16:46:18 +02:00 |
|
Larpon
|
6d0d82dbb9
|
gg: fix overlapping slices in draw_slice_filled() (#20182)
|
2023-12-15 19:31:33 +02:00 |
|
Alexander Medvednikov
|
399af6768d
|
gg: fn (data voidptr, e &Event) for events, allows methods
|
2023-11-25 01:19:39 +03:00 |
|
shove
|
2a6c1d9074
|
all: assigning 0 to reference fields now requires unsafe blocks (fix #14911) (#19955)
|
2023-11-23 11:16:26 +02:00 |
|
Alexander Medvednikov
|
01e6f6473b
|
gg: set_window_title; macos img fix; gx: color fixes; strings: Builder.writeln_string
|
2023-11-22 03:10:34 +03:00 |
|
Joe C
|
757929392e
|
all: update attributes to use new syntax
|
2023-11-15 16:16:01 +11:00 |
|