playX
|
2b9f993574
|
gg: add text rendering, keyboard event handling for JS and other fixes (#12932)
|
2021-12-22 12:26:52 +02:00 |
playX
|
5f0160bf11
|
js,gg: more work on porting gg to JS backend (#12903)
|
2021-12-20 16:18:21 +03: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 |
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
|
32b74dd348
|
gg: simplify the minimal gg application even more with `context.user_data = context`
|
2021-11-06 18:24:19 +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 |
Alexander Medvednikov
|
45534b512b
|
time: move pure V function from time.c.v
|
2021-10-19 16:03:45 +03:00 |
Larpon
|
09cc0c7247
|
gg: use sgl.begin_points for pixels + improve pixels example (#12085)
|
2021-10-07 10:46:57 +03:00 |
Larpon
|
f454d30318
|
gg: use sgl.begin_triangles when drawing triangles (#12083)
|
2021-10-07 03:45:23 +03: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 |
Larpon
|
e85311c2ba
|
gg: change draw_cubic_bezier* call signatures for speed and to match *_poly (#11323)
|
2021-08-27 16:52:05 +03:00 |
yuyi
|
4d078edb72
|
scanner: no longer allow `1.` float literals (#11301)
|
2021-08-25 14:39:37 +03:00 |
Larpon
|
833bf2cf15
|
gg: add cubic Bézier curves + examples (#11286)
|
2021-08-24 06:35:27 +03:00 |
Benjamin Stigsen
|
76205cff2b
|
gg: add scaling to draw_convex_poly (#11276)
|
2021-08-23 13:38:29 +03:00 |
Benjamin Stigsen
|
352df873d5
|
gg: add scaling to draw_empty_poly() (#11272)
|
2021-08-23 00:37:20 +03:00 |
Benjamin Stigsen
|
70a658a265
|
gg: set_pixels() (#11236)
|
2021-08-20 01:14:25 +03:00 |
Alexander Medvednikov
|
fadfc3b457
|
gg: format a line
|
2021-08-16 06:36:23 +03:00 |
Benjamin Stigsen
|
022503a107
|
gg: fix top left corner pixel not being drawn (#11202)
|
2021-08-16 04:59:05 +03:00 |
Delyan Angelov
|
576664e31f
|
gg,sokol,stbi,gx,fontstash: cleanup for -Wimpure-v
|
2021-08-12 22:42:42 +03:00 |
Delyan Angelov
|
79c7aed3c2
|
gg: allow easily detecting the edges of key_down keyboard events
|
2021-07-26 18:39:59 +03:00 |
Alexander Medvednikov
|
c44a47acb1
|
gg: fix draw_line on macos (native rendering)
|
2021-07-03 02:49: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
|
cc91d9bee3
|
gg: keep/update commonly used event state inside the gg.Context
|
2021-06-24 11:14:57 +03:00 |
kahsa
|
f1c4753cc0
|
gg: fix draw_line (#10534)
|
2021-06-21 20:30:03 +03:00 |
KJ Lawrence
|
123682dffb
|
gg: add a `draw_line_with_config` method (#10513)
|
2021-06-19 21:32:08 +03:00 |
KJ Lawrence
|
22214c73e3
|
gg: apply ctx.scale to circle pos (#10512)
|
2021-06-19 09:07:34 +03:00 |
Delyan Angelov
|
98613036c1
|
gg: fix draw_line on m1
|
2021-06-07 21:31:24 +03:00 |
KJ Lawrence
|
452a51c8fe
|
gg: render text if we fell back to system default (#10307)
|
2021-06-02 16:00:14 +03:00 |
KJ Lawrence
|
465860e418
|
gg: fix ctx.scale for circles (#10210)
|
2021-05-28 22:37:02 +03:00 |
KJ Lawrence
|
9fab4af3f1
|
gg: update the mouse click callback to pass what mouse button was clicked too (#10225)
|
2021-05-28 12:46:23 +03:00 |
Wertzui123
|
a095a27d00
|
gg: change vid to ved in a comment (#10218)
|
2021-05-27 20:14:36 +03:00 |
KJ Lawrence
|
6cdc7646b8
|
gg: add quit fn (#10223)
|
2021-05-27 17:56:18 +03:00 |
Uwe Krüger
|
d26ac5692e
|
all: various fixes for [heap]/auto-heap handling (#10033)
|
2021-05-07 15:58:48 +03:00 |
R cqls
|
8af6237e28
|
gg: fix width and height in draw_rounded_rect primitive (#9926)
|
2021-04-29 10:58:57 +03:00 |
Don Park
|
aebb551e93
|
cgen: do full struct initialisation for V structs, fixes invalid data from `map[string]Struct{}['unknown']` (#9878)
|
2021-04-27 08:18:48 +03:00 |
kahsa
|
f36e46bfde
|
gg:fix draw_line for android (#9882)
|
2021-04-26 10:01:55 +03:00 |
spaceface
|
73352583e7
|
ci: fix all `-cstrict` warnings with gcc and clang (#9792)
|
2021-04-19 15:38:48 +03:00 |
Larpon
|
8caabf0e9e
|
sokol: update to floooh/sokol@c602d83 (#9607)
|
2021-04-07 20:39:23 +02:00 |
Alexander Medvednikov
|
1716e8dd04
|
gg: byteptr fixes
|
2021-04-04 18:05:01 +03:00 |
Alexander Medvednikov
|
cbf4715804
|
gg: ui mode fixes
|
2021-03-27 13:03:19 +03:00 |
Lukas Neubert
|
a67d49050c
|
math: add a pure V `math.mathutil`, with generic `min`, `max` and `abs` functions (#9176), and use it consistently
|
2021-03-12 11:28:04 +02:00 |
Alexander Medvednikov
|
845e8decce
|
x64: basic mach-o and arm64 support
|
2021-03-05 17:52:39 +03:00 |
spaceface
|
b712af56fd
|
all: bring back `panic(err.msg)` -> `panic(err)` (#9022)
|
2021-03-01 00:18:14 +01:00 |
spaceface
|
d63b7bc35a
|
all: update repo to use the new error handling syntax (#8950)
|
2021-02-28 23:20:21 +03:00 |
penguindark
|
1d69a0bd22
|
gg: window_size_real_pixels that for 3D without dpi scaling (#9004)
|
2021-02-27 22:11:26 +01:00 |