Commit graph

32 commits

Author SHA1 Message Date
Emil Ernerfeldt
335b22d38d Create region.add_label shortcut 2020-04-20 23:45:05 +02:00
Emil Ernerfeldt
472e0b9afe Refactor Region: remember region rectangle
This will be used as a clip rectangle for generated paint commands.
2020-04-20 00:48:54 +02:00
Emil Ernerfeldt
6eae91e028 Distinguish ids that need to be unique and warn about name clashes 2020-04-19 11:13:24 +02:00
Emil Ernerfeldt
6eb1053c35 Start refactor mesher module into a more reusable Path concept 2020-04-19 00:27:25 +02:00
Emil Ernerfeldt
624e709a8f Make Id a proper newtype 2020-04-18 09:32:39 +02:00
Emil Ernerfeldt
407df94945 Switch to parking_lot::Mutex 2020-04-18 09:32:39 +02:00
Emil Ernerfeldt
f709423809 Rename Data to Context and move to own file 2020-04-17 15:33:52 +02:00
Emil Ernerfeldt
de76cb6190 Move Memory and Region to own files 2020-04-17 15:29:48 +02:00
Emil Ernerfeldt
1d3836ba80 Add rudimentary support for gui windows that you can move around 2020-04-17 14:26:36 +02:00
Emil Ernerfeldt
b26359d383 Add checkbox for antialiasing on/off 2020-04-17 14:25:27 +02:00
Emil Ernerfeldt
d999962602 Refactor example code 2020-04-12 12:07:51 +02:00
Emil Ernerfeldt
98899c80b0 Fix font sliders 2020-04-11 18:35:21 +02:00
Emil Ernerfeldt
157de8a966 Add support for monospace font 2019-12-02 20:08:49 +01:00
Emil Ernerfeldt
1d6bc3baba Minor API improvements 2019-04-25 18:07:36 +02:00
Emil Ernerfeldt
192b59ebb0 Refactor: remove GuiCmd 2019-03-11 15:59:49 +01:00
Emil Ernerfeldt
87288634e9 Refactor: Merge LayoutOptions and Style 2019-03-11 15:39:54 +01:00
Emil Ernerfeldt
c15768dbf4 Refactor: rename Frame to Mesh 2019-03-10 21:00:28 +01:00
Emil Ernerfeldt
f2040c6fc5 Fix antialiasing for non-retina screens 2019-02-24 17:18:30 +01:00
Emil Ernerfeldt
2583fd2c52 integer sliders 2019-02-10 16:10:08 +01:00
Emil Ernerfeldt
f0c879b2f4 Code cleanup: allow None mouse_pos + clippy fixes 2019-02-10 15:30:48 +01:00
Emil Ernerfeldt
ef4f0908f2 make label into a macro 2019-01-21 01:48:32 -06:00
Emil Ernerfeldt
c2c94ddda5 Pixel-perfect fonts 2019-01-19 10:10:28 -06:00
Emil Ernerfeldt
cd8ca47e76 Small tweaks 2019-01-19 10:09:00 -06:00
Emil Ernerfeldt
46293f6fd4 Allow zooming font atlas 2019-01-17 17:33:20 -06:00
Emil Ernerfeldt
88fdd127ea Allow resizing fonts at runtime 2019-01-17 11:03:39 -06:00
Emil Ernerfeldt
616245c323 Refactor: create Texture struct 2019-01-16 17:09:12 -06:00
Emil Ernerfeldt
7f83876005 Enable colored text (and other misc fixes) 2019-01-16 09:28:43 -06:00
Emil Ernerfeldt
2c0ca77e09 Add support for alignment (min, center, max) in horizontal and vertical layouts 2019-01-15 04:50:30 -06:00
Emil Ernerfeldt
ca9333ec3e Support multiple fonts 2019-01-13 00:55:56 +01:00
Emil Ernerfeldt
1b8a45a514 Share font atlas 2019-01-13 00:19:53 +01:00
Emil Ernerfeldt
e607097da0 Refactor where and how options are stored 2019-01-12 23:20:19 +01:00
Emil Ernerfeldt
8963a99a09 Rename to Emigui 2019-01-12 23:07:30 +01:00