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 |
Alexander Medvednikov
|
cc57b52773
|
gg: fix typo
|
2020-08-01 23:52:15 +02:00 |
Alexander Medvednikov
|
149de958f3
|
gg: fix compilation
|
2020-08-01 23:45:36 +02:00 |
Alexander Medvednikov
|
fb4550e582
|
gg: new create_image() (part 1)
|
2020-08-01 23:40:28 +02:00 |
Delyan Angelov
|
5bf3b6eda3
|
gg: fix running tetris and ui examples on linux
|
2020-07-28 12:12:44 +03:00 |
Alexander Medvednikov
|
65159b8070
|
gg: bold/mono/italic fonts
|
2020-07-27 21:20:23 +02:00 |
Alexander Medvednikov
|
db2346069a
|
gg: always use stb_truetype for now
|
2020-07-13 01:02:50 +02:00 |
Alexander Medvednikov
|
cad816a19d
|
gg: text_height()
|
2020-07-12 12:48:42 +02:00 |
Alexander Medvednikov
|
40da32a141
|
gg: text_width()
|
2020-07-12 01:46:21 +02:00 |
Alexander Medvednikov
|
e0fcd565d5
|
gg: fix default text size
|
2020-07-07 17:33:24 +02:00 |
Louis Schmieder
|
f8a89e3f8f
|
gg: fix text rendering (#5727)
|
2020-07-07 17:09:35 +02:00 |
Alexander Medvednikov
|
013c0e6e16
|
gg: make FT private
|
2020-07-06 21:40:24 +02:00 |
Alexander Medvednikov
|
48f1f814d2
|
gg: minor fixes
|
2020-07-06 20:40:54 +02:00 |
Alexander Medvednikov
|
0ed8199da2
|
gg: merge ft module
|
2020-07-06 20:29:09 +02:00 |
Alexander Medvednikov
|
1f3d7d393e
|
gg: simplify text rendering
|
2020-07-06 19:45:00 +02:00 |
Alexander Medvednikov
|
f6ab63f3a0
|
stbi: remove opengl call
|
2020-07-05 19:28:31 +02:00 |
Alexander Medvednikov
|
8277c976a8
|
gg: draw_image,draw_rounded_rect placeholder fns
|
2020-06-07 15:20:42 +02:00 |
Alexander Medvednikov
|
3478430762
|
gg: borderless windows on macos without animation
|
2020-06-05 15:43:47 +02:00 |
Delyan Angelov
|
c1fc61200c
|
gg: support .keydown_fn and .char_fn in addition to .event_fn
|
2020-06-05 12:39:06 +03:00 |
Delyan Angelov
|
24b263cf87
|
vid: bring back scale field to gg.Config, fixes vid compilation
|
2020-06-05 08:48:31 +03:00 |
Delyan Angelov
|
2237968ec1
|
gg: fix x11 scaling
|
2020-06-05 08:19:34 +03:00 |
Alexander Medvednikov
|
e7f52ebed6
|
gg/ft: minor Sokol fixes
|
2020-06-04 23:51:59 +02:00 |
Alexander Medvednikov
|
13a7ce9e69
|
gg: GG => Context
|
2020-06-04 20:26:18 +02:00 |
Alexander Medvednikov
|
fb7ca56d87
|
gg: minor fixes
|
2020-06-04 19:57:16 +02:00 |
Alexander Medvednikov
|
6b6c9d6738
|
gg: make the Sokol based gg the default
|
2020-06-04 16:05:15 +02:00 |
Uwe Krüger
|
076089d3c5
|
checker: apply stricter type checks to function args and return types
|
2020-06-01 21:15:59 +02:00 |
Uwe Krüger
|
013fdb8a4b
|
checker: restrict numeric promotions to cases where no data is lost
|
2020-05-27 05:42:48 +02:00 |
yuyi
|
dda875a9c8
|
all: unify const names to snake_case
|
2020-05-22 17:36:09 +02:00 |
yuyi
|
7f4cf08516
|
parser: check `(mut f Foo)` syntax
|
2020-05-17 13:51:18 +02:00 |
eyelash
|
b495dac780
|
fix a few warnings
Good find, @eyelash .
|
2020-04-26 12:42:44 +03:00 |
Delyan Angelov
|
1318c27699
|
tetris: it now works with v2 (on linux) :-)
|
2020-04-16 13:30:40 +03:00 |
Daniel Däschle
|
6079025985
|
gg: add option to decorate window
|
2020-02-17 20:29:09 +01:00 |
Delyan Angelov
|
da21b50750
|
gg,os: minimize memory allocation
|
2020-02-03 04:01:39 +01:00 |
Leah Lundqvist
|
0ef1ba9ad2
|
gg: added draw_empty_rounded_rect
|
2020-02-02 02:55:29 +01:00 |
Leah Lundqvist
|
4ca283380a
|
gg: scissor
|
2020-02-02 02:54:41 +01:00 |
Leah Lundqvist
|
aa625bc22c
|
gg: roundrects
|
2020-01-31 03:43:46 +01:00 |
Leah Lundqvist
|
6c5879add9
|
gg: filled arcs and circles
|
2020-01-30 01:26:45 +01:00 |
Leah Lundqvist
|
8986633624
|
gg: draw_arc()
|
2020-01-27 20:42:32 +01:00 |
Shun Sakai
|
c8c43a2475
|
update copyright year
|
2020-01-23 21:04:46 +01:00 |
Alexander Medvednikov
|
0502a54a36
|
new gg/freetype modules with sokol/fontstash backends
|
2020-01-22 20:54:36 +01:00 |
Delyan Angelov
|
8c1b03c731
|
freetype: text_size() so that users can retrieve the vertical size of a text too
|
2020-01-18 20:08:11 +01:00 |
Alexander Medvednikov
|
de3ad2b04f
|
fix vweb tutorial project; clean up gg functions a bit
|
2020-01-15 22:17:45 +01:00 |
Delyan Angelov
|
fcc10d6358
|
gg: fixes same image twice lead to invisible rectangles sometimes
|
2020-01-13 19:59:31 +01:00 |
Alexander Medvednikov
|
e159347c10
|
gg: remove 2 prints
|
2020-01-12 19:54:47 +01:00 |
Alexander Medvednikov
|
b6c0b22742
|
interfaces fixes; freetype.text_width(); gl and stbi fixes
|
2020-01-12 16:11:28 +01:00 |
Delyan Angelov
|
d405cfbcf7
|
gg: remove spurious printing of gl.TEXT_VERT
|
2019-12-17 19:17:48 +03:00 |
Delyan Angelov
|
32b0225079
|
remove os/time references from live programs, fix warnings
|
2019-12-09 18:53:17 +03:00 |
Alexander Medvednikov
|
ad6adf327e
|
vlib: fix missing `else{}` in match statements
|
2019-12-07 17:23:37 +03:00 |
Alexander Medvednikov
|
c8d111924d
|
check unused and unmodified vars in all modules, not just main
|
2019-12-06 18:43:56 +03:00 |
Alexander Medvednikov
|
a57e29dfc5
|
os: replace dir_exists with is_dir; file_exists() => exists()
|
2019-12-04 23:17:45 +03:00 |
Alexander Medvednikov
|
40df0644ca
|
fix all Foo{!}
|
2019-12-04 13:08:28 +03:00 |
Alexander Medvednikov
|
ffa6bcfff5
|
vfmt: handle comments
|
2019-11-13 11:54:22 +03:00 |
joe-conigliaro
|
fe17dd9a7e
|
vlib: make more structs, consts, & enums public
|
2019-10-24 22:35:11 +11:00 |
Alexander Medvednikov
|
a6aad880f7
|
gg: resizable window option
|
2019-10-23 12:17:08 +03:00 |
Sergio Abreu García
|
14c273f273
|
gg: fix clear function
|
2019-10-22 23:06:56 +03:00 |
joe-conigliaro
|
dd053d79b0
|
vlib/examples: fix gl/glfw/gg examples. rename init functions
|
2019-10-12 06:03:15 +03:00 |
Vitor Oliveira
|
1a099c9284
|
vlib: fix several typos
|
2019-09-14 23:54:14 +03:00 |
Delyan Angelov
|
ecb661f719
|
tetris: fix &Foo instead of *Foo warnings.
|
2019-09-03 11:39:06 +03:00 |
Alexander Medvednikov
|
f61b14584a
|
remove "import const" everywhere
|
2019-08-23 00:09:03 +03:00 |
Julian Schurhammer
|
1864e92ff4
|
parser: disallow statements after a return, branch check $if, $else, switch, and loops correctly
|
2019-08-10 10:26:42 +02:00 |
Alexander Medvednikov
|
d4441e4353
|
freetype: clean up new_context()
|
2019-08-10 07:13:25 +02:00 |
Delyan Angelov
|
7d8b296943
|
freetype,gg: option to pass a custom font_path to freetype.new_context .
|
2019-08-10 00:10:26 +02:00 |
Alexander Medvednikov
|
865eee2f6b
|
gg: remove draw_text()
|
2019-08-08 16:09:04 +02:00 |
Alexander Medvednikov
|
7a7b5040e2
|
http: fix response headers and status code; clean up ft and gg
|
2019-08-06 03:06:27 +02:00 |
Alexander Medvednikov
|
4bc1f73fd0
|
fix gg.v
|
2019-08-04 09:46:49 +02:00 |
Alexander Medvednikov
|
a2a0b149b2
|
examples/graph: update the graph instantly; add a couple of graphs
|
2019-07-23 00:24:42 +02:00 |
Alexander Medvednikov
|
7f512eaf72
|
examples/hot_code_reloading: graph builder improvements
|
2019-07-20 17:59:40 +02:00 |