Commit graph

19 commits

Author SHA1 Message Date
Emil Ernerfeldt
c22156cd0f [refactor] simplify Widget trait return type to InteractInfo 2020-05-23 12:43:08 +02:00
Emil Ernerfeldt
5c966bdc76 [input] widgets must say if they are interested in click or drags 2020-05-23 12:38:52 +02:00
Emil Ernerfeldt
620442a64b refactor: group mouse input into own struct 2020-05-21 10:20:16 +02:00
Emil Ernerfeldt
58a8f743be Optimize and clean up text output 2020-05-20 21:22:42 +02:00
Emil Ernerfeldt
0f0e385ea3 [refactor] collect stuff into new mod paint 2020-05-19 22:28:57 +02:00
Emil Ernerfeldt
3ec552392f TextEdit: cursor movement with home/end/up/down 2020-05-17 22:32:04 +02:00
Emil Ernerfeldt
037b22be7f Simplify and improve the default visual style 2020-05-17 10:21:45 +02:00
Emil Ernerfeldt
01568acef2 TextEdit: click to move cursor 2020-05-16 20:54:01 +02:00
Emil Ernerfeldt
c0e7f947ff Improved text edit with cursor that can be moved with arrow keys 2020-05-16 19:38:46 +02:00
Emil Ernerfeldt
89aa285255 Simplify text layout further with even less allocations 2020-05-16 18:17:35 +02:00
Emil Ernerfeldt
cdfd42eb3e refactor text layout with a new struct Galley 2020-05-16 11:27:02 +02:00
Emil Ernerfeldt
7a1c97ccfe Simplify and unify queries about available space 2020-05-12 18:21:09 +02:00
Emil Ernerfeldt
4fcea59929 Optimize meshing 2020-05-11 17:08:04 +02:00
Emil Ernerfeldt
3a1d677840 refactor interact style 2020-05-10 08:55:41 +02:00
Emil Ernerfeldt
fa82e8d806 Rename Region to Ui (shorter, sweeter) 2020-05-08 22:42:31 +02:00
Emil Ernerfeldt
87e3aacf35 enforce and fix a bunch of clippy issues 2020-05-07 10:47:03 +02:00
Emil Ernerfeldt
bfbb669d02 Store/restore emigui memory state (window positions, sizes etc) 2020-05-02 11:37:12 +02:00
Emil Ernerfeldt
7cd8ac2bbf Rename Widget::add_to to Widget::ui 2020-04-29 22:01:39 +02:00
Emil Ernerfeldt
14db237b1d Basic text input support 2020-04-29 21:25:49 +02:00