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

125 Commits

Author SHA1 Message Date
Alexander Medvednikov
89952edd25 gg: remove unnecessary copy in draw_text 2020-12-05 00:03:46 +01:00
Lukas Neubert
02ba923ba7
fmt: do not add braces for trailing struct arg (#7072) 2020-12-04 11:22:26 +02:00
Alexander Medvednikov
cae3bd7f32 gg: vfmt gg.v 2020-12-04 01:27:40 +01:00
Alexander Medvednikov
e160f6e7d2 gg: screen_size() 2020-12-03 23:17:00 +01:00
Alexander Medvednikov
0ddf0a4b92 gg: custom bold font path 2020-12-01 16:30:25 +01:00
hirossan4049
67d5dfb315
gg: draw_rounded_rect() (#6909) 2020-11-22 20:13:40 +01:00
hirossan4049
54df7d1daf
gg: new draw_empty_rounded_rect() (#6891) 2020-11-21 15:40:02 +01:00
Alexander Medvednikov
ff1752dfff gg: vfmt gg.v 2020-11-21 00:04:29 +01:00
Alexander Medvednikov
99bdb87a01 all: remove #objc for good 2020-11-20 23:49:52 +01:00
Alexander Medvednikov
30ddb89e3c gg: UI mode for much lower CPU usage in UI apps 2020-11-20 14:50:26 +01:00
Alexander Medvednikov
d50c919879 clipboard: fix get_text() on macos 2020-11-20 01:08:55 +01:00
Alexander Medvednikov
ad1510afa0 gg: vfmt gg.v 2020-11-15 15:11:43 +01:00
Alexander Medvednikov
26785668c0 autofree: more tests; gg: fix draw_circle with hidpi 2020-11-15 15:09:44 +01:00
Alexander Medvednikov
396dca7f48 checker: handle bad $if values 2020-10-18 21:22:37 +02:00
Delyan Angelov
8b2e704741 examples: make v -prod build-examples pass without warnings/errors 2020-10-18 09:48:13 +03:00
scurty-labs
5e86b40469
gg: update draw_circle/arc x, y to f32 (#6595) 2020-10-11 20:36:18 +02:00
Alexander Medvednikov
d8d80fbf42 gg: add a missing math import and vfmt 2020-10-10 10:37:17 +02:00
scurty-labs
b2fdd7fbaf
gg: add draw_circle and draw_arc (#6594) 2020-10-10 10:26:08 +02:00
JalonSolov
2fd6c05445
fonts: fix so it does not try for RobotoMonoMono.ttf (#6507) 2020-09-29 13:20:37 +03:00
Delyan Angelov
af37c7ac6b gg: prevent messages about missing font variants without -d debug_font 2020-09-26 09:36:46 +03:00
spaceface777
ae48b709ed
gg: don't call os.is_file() on Android (the font is part of the APK there) (#6475) 2020-09-25 13:06:20 +03:00
Lukas Neubert
2ea94d621f
gg: fix loading variants of many fonts in new_ft() (#6468) 2020-09-25 11:52:57 +02:00
Delyan Angelov
dbce01792c gg: try 3 different fonts in system_font_path on MacOS 2020-09-24 17:09:08 +03:00
Delyan Angelov
1f21bc4b49 gg: bugfix on missing font file, remove last empty line in v doctor 2020-09-24 16:53:06 +03:00
Alexander Medvednikov
27f91faae5 gg: remove an old compielr hack that's no longer needed 2020-09-21 02:51:14 +02:00
Alexander Medvednikov
8c8fe02000 gg: mouse_move, mouse_down 2020-09-21 02:42:53 +02:00
Delyan Angelov
d4fbf422b3 gg: support transparency for rect/triangle/etc primitives too 2020-09-20 12:05:30 +03:00
Alexander Medvednikov
c781a5f245 gg: draw_triangle(); draw_image_flipped() 2020-09-20 03:47:32 +02:00
Alexander Medvednikov
6921d46185 all: rune type for `` literals 2020-08-27 06:46:37 +02:00
Alexander Medvednikov
542b149290 sokol: fix examples and remove copy pasta 2020-08-23 07:47:50 +02:00
Alexander Medvednikov
94c3a912ba gg: update sokol and stb_truetype 2020-08-23 07:25:30 +02:00
Alexander Medvednikov
5407d9b062 gg: fix draw_line on hi dpi screens 2020-08-23 04:57:12 +02:00
Alexander Medvednikov
9e12095111 gg: image: return an optional instead of panic(); darwin: fix nsstring() 2020-08-22 17:09:30 +02:00
Alexander Medvednikov
9da7349f63 gg: minor fixes 2020-08-20 08:32:05 +02:00
spaceface777
c1651bd271
gg: fixes and Android support (#6161) 2020-08-19 07:10:42 +02:00
Alexander Medvednikov
40d91cc23b gg: handle bad image index 2020-08-18 01:08:58 +02:00
Nick Treleaven
bab5c21224
parser: warn when fixed-size ArrayInit doesn't have trailing {}. (#6137) 2020-08-16 04:54:05 +02:00
Alexander Medvednikov
9800cf1e7b checker: improve array errors; gg: remove unused imports 2020-08-12 03:54:17 +02:00
Alexander Medvednikov
ecaccafd31 gg: image cache 2020-08-05 16:00:24 +02:00
Alexander Medvednikov
67aafd03c6 gg: fix image rendering 2020-08-05 14:34:28 +02:00
Delyan Angelov
7b1944c2da gg: simplify the image_cache 2020-08-05 08:46:20 +03:00
Delyan Angelov
221a777a80 gg: cache sokol C.sg_image handles 2020-08-05 08:09:25 +03:00
Alexander Medvednikov
f3ebd3a6e7 gg: fix image rendering 2020-08-05 03:15:40 +02:00
Delyan Angelov
f9d241ae27 gg,stbi: implement gg.create_image_from_memory/2 2020-08-04 13:18:08 +03:00
Delyan Angelov
216b6bf285 gg: remove tracing println in draw_image 2020-08-04 12:57:54 +03:00
Delyan Angelov
9ce75e10d5 gg: free gg.create_image from having to be called by sokols init_fn callback 2020-08-04 12:37:28 +03:00
Alexander Medvednikov
60c642f42d gg: clean up draw_image() 2020-08-04 01:26:56 +02:00
Delyan Angelov
0ac30a8d9c gg: enable image transparency in gg.draw_image2 too 2020-08-03 00:30:08 +03:00
Delyan Angelov
a7ca1682c4 gg: fix gg.draw_image2 (image drawn, but without transparency for now) 2020-08-02 23:47:37 +03:00
Alexander Medvednikov
79b70006e6 examples: simplify gg/rectangles.v 2020-08-02 17:01:10 +02:00