Commit graph

61 commits

Author SHA1 Message Date
Emil Ernerfeldt
554e6e7120 [app] unify web and glium demo app 2020-07-23 19:04:23 +02:00
Emil Ernerfeldt
61cdec8fca [refactor] rename 'example' to 'demo', and add simple example_glium 2020-07-23 12:18:19 +02:00
Emil Ernerfeldt
48bad68257 [glium] implement reactive run mode 2020-07-22 22:26:49 +02:00
Emil Ernerfeldt
a14bfa0e73 [glium] make it super easy to make an Egui app using glium 2020-07-22 18:46:12 +02:00
Emil Ernerfeldt
e84412dec5 [glium] break out persistence 2020-07-22 18:01:27 +02:00
Emil Ernerfeldt
4e52a960e5 [glium] refactor and simplify glium example code 2020-07-22 12:10:14 +02:00
Emil Ernerfeldt
9b9cd01c5c [glium] update to latest glium with EventLoop and vsync 2020-07-22 00:36:17 +02:00
Emil Ernerfeldt
fccd135254 [refactor] rename 'PaintBatches' to 'PaintJobs' 2020-07-19 00:01:13 +02:00
Emil Ernerfeldt
8b1f02f22c [egui] handle dynamic changes to pixels_per_point (dpi scaling)
Also: egui::Context::new() no longer takes any arguments
2020-05-30 14:56:38 +02:00
Emil Ernerfeldt
b80baf4039 [egui] make serde an optional dependency 2020-05-30 11:04:40 +02:00
Emil Ernerfeldt
fd5ab736bb Rename from "Emigui" to "Egui"
Shorter to type (especially in code).
2020-05-30 10:22:35 +02:00
Emil Ernerfeldt
fac0866f73 example_glium: restore example app state 2020-05-23 09:57:39 +02:00
Emil Ernerfeldt
ae6080405c Remove 'Web' from GuiInput 2020-05-21 12:04:42 +02:00
Emil Ernerfeldt
555d7aed20 Remove dropping files from emigui Input 2020-05-21 11:53:26 +02:00
Emil Ernerfeldt
896d87c804 make pixels_per_point optional in RawInput (default 1) 2020-05-20 21:19:42 +02:00
Emil Ernerfeldt
0f0e385ea3 [refactor] collect stuff into new mod paint 2020-05-19 22:28:57 +02:00
Emil Ernerfeldt
8f43d38e38 Style/visuals tweaks 2020-05-17 17:44:29 +02:00
Emil Ernerfeldt
f9bb9f71c4 Add button to collapse windows 2020-05-17 12:26:17 +02:00
Emil Ernerfeldt
d4204f03c0 Refactor: break out Layout to own struct/file 2020-05-13 22:23:33 +02:00
Emil Ernerfeldt
7a1c97ccfe Simplify and unify queries about available space 2020-05-12 18:21:09 +02:00
Emil Ernerfeldt
8c0942bf1e Show menu bar in main window instead of in example window 2020-05-12 07:27:14 +02:00
Emil Ernerfeldt
71154edf9b Add a fractal clock example to showcase painting performance 2020-05-11 20:21:24 +02:00
Emil Ernerfeldt
6bee26ca59 Glium: persist window position and size 2020-05-10 21:16:24 +02:00
Emil Ernerfeldt
f1c57cb950 Improve example app 2020-05-10 19:04:10 +02:00
Emil Ernerfeldt
fa82e8d806 Rename Region to Ui (shorter, sweeter) 2020-05-08 22:42:31 +02:00
Emil Ernerfeldt
9f6e9c94d6 Merge struct Emigui into Context 2020-05-08 22:25:28 +02:00
Emil Ernerfeldt
87e3aacf35 enforce and fix a bunch of clippy issues 2020-05-07 10:47:03 +02:00
Emil Ernerfeldt
45564f952b Kinetic windows 2020-05-03 13:28:47 +02:00
Emil Ernerfeldt
bfbb669d02 Store/restore emigui memory state (window positions, sizes etc) 2020-05-02 11:37:12 +02:00
Emil Ernerfeldt
b73fbb33d8 Improve size negotiation code.
Better enfocred minimum sizes.
You can now have windows that expand to fit their content.
2020-05-01 02:08:01 +02:00
Emil Ernerfeldt
4c79064760 Move code from glium example into glium library 2020-04-29 21:58:14 +02:00
Emil Ernerfeldt
14db237b1d Basic text input support 2020-04-29 21:25:49 +02:00
Emil Ernerfeldt
89823ab617 Print frame times for glium and wasm excluding painting 2020-04-29 07:20:27 +02:00
Emil Ernerfeldt
1e685d1cb0 Add support for text input in emilib and glium.
Add input inspectors
2020-04-28 23:05:22 +02:00
Emil Ernerfeldt
154424384f Implement Window as collection of Floating + Frame + Resize 2020-04-25 22:49:57 +02:00
Emil Ernerfeldt
e26d08851f Add Floating and Frame containers as building blocks for windows 2020-04-25 15:26:24 +02:00
Emil Ernerfeldt
3a430c8fc7 Add new Resize container 2020-04-25 14:37:39 +02:00
Emil Ernerfeldt
8f879de9f5 minor glium app change 2020-04-25 11:12:00 +02:00
Emil Ernerfeldt
299cc76fcf silence clippy warning 2020-04-25 10:50:51 +02:00
Emil Ernerfeldt
b39555bb23 Add support for hyperlinks 2020-04-23 19:15:17 +02:00
Emil Ernerfeldt
fd8180cea4 Fix left alignment of widgets and tweak style slightly 2020-04-23 00:23:29 +02:00
Emil Ernerfeldt
a8d9c3fc42 Listen to scroll wheel (glium only) 2020-04-22 20:01:49 +02:00
Emil Ernerfeldt
4efbb94e1b Various small improvements 2020-04-21 20:48:31 +02:00
Emil Ernerfeldt
e9bdadb1da Some visual tweaks 2020-04-21 16:50:56 +02:00
Emil Ernerfeldt
0ed578341b Add time as input to emigui to enable animations 2020-04-21 14:46:42 +02:00
Emil Ernerfeldt
3a869aa5db Fix pixel vs points bug in logical screen size of glium window 2020-04-21 07:38:46 +02:00
Emil Ernerfeldt
2f02446f6f WIP: clip_rect 2020-04-20 23:48:55 +02:00
Emil Ernerfeldt
335b22d38d Create region.add_label shortcut 2020-04-20 23:45:05 +02:00
Emil Ernerfeldt
98178e9d69 Show resize mouse cursor when resizing windows 2020-04-20 10:01:13 +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