Commit Graph

6191 Commits

Author SHA1 Message Date
Samuel Guerra 078fb65eb7 Continued implementing text. 2019-08-21 01:06:35 -03:00
Samuel Guerra c7fdd1e127 Renamed z_list to z_stack 2019-08-21 01:06:11 -03:00
Samuel Guerra 6af67a59e3 Implemented background color and refactored init/render contexts. 2019-08-21 01:05:35 -03:00
Well 4b073f9603 Started implementing Text 2019-08-20 01:09:41 -03:00
Samuel Guerra 4856c9eaf4 Fixed webrender initiated redraw. 2019-08-18 19:05:16 -03:00
Samuel Guerra 958107587f Changed Rect to FillColor. Implemented FillGradient. 2019-08-18 01:16:40 -03:00
Samuel Guerra ff3dfebf2c Removed warnings from unimplemented text ui. 2019-08-18 00:24:44 -03:00
Samuel Guerra 1118b20572 Implemented empty Ui () 2019-08-18 00:23:34 -03:00
Samuel Guerra e6ec8bef66 Modified window to support initialization from inside event_loop. 2019-08-18 00:23:22 -03:00
Samuel Guerra 491aed5f05 Avoids calling set_visible(true) every frame. 2019-08-17 23:51:53 -03:00
Samuel Guerra 45074a1671 Changed window closing code to use the same loop as other flags. 2019-08-17 23:12:43 -03:00
Well d7e5827eee Refactored impl_tuples macro for easier use. v_list and h_list changed to _stack to conform with the new naming scheme 2019-08-17 01:22:41 -03:00
Wellington Rodrigues e4ce5bec1f Merge branch 'glutin-0.22' into 'master'
Fixed render sync problems.

See merge request sam.rodr.g/zero-ui!1
2019-08-17 02:07:46 +00:00
Samuel Guerra f386df3c50 Fixed render sync problems. 2019-08-16 18:52:28 -03:00
Samuel Guerra 27196d2b53 Added note. 2019-08-15 12:19:14 -03:00
Samuel Guerra 06dcca8d98 Improved construction of stack panels. 2019-08-15 01:28:58 -03:00
Samuel Guerra 1b154345cb Implemented ZList. 2019-08-14 23:46:20 -03:00
Samuel Guerra b06c55057a Started text mod 2019-08-14 23:46:11 -03:00
Well d5e8fe7a1d Deleted unused button.rs 2019-08-14 01:05:54 -03:00
Well eecdc5da63 Implemented horizontal list 2019-08-14 00:48:37 -03:00
Well ed1f1b0d41 Added more options for Ui item sizing.
Implemented into_box.
Fixed bug on vertical list.
2019-08-14 00:25:46 -03:00
Samuel Guerra af8f317795 Moved UI stuff to mod.
Implemented margin and vertical list.
2019-08-13 01:02:54 -03:00
Samuel Guerra e6be331e71 Fixed document not resizing with window. 2019-08-12 23:07:27 -03:00
Well 5d4547038f Fixed bug of childs not being measured in Size's fn measure 2019-08-10 01:06:50 -03:00
Well 1d0197e482 Implemented more varied Ui constructors 2019-08-10 00:26:57 -03:00
Well d5ea7ef518 Implemented RenderContext 2019-08-09 23:56:06 -03:00
Samuel Guerra 06973737d6 Implemented very basic ui components. 2019-08-09 01:08:55 -03:00
Samuel Guerra b6377aa995 fmt 2019-08-08 23:13:57 -03:00
Well 0264258f03 Sketched API a bit more 2019-08-08 01:12:14 -03:00
Samuel Guerra c40a920fd1 Sketched API. 2019-08-07 01:02:20 -03:00
Samuel Guerra 2f00e34e8b Now runs at 60fps 2019-08-07 00:30:33 -03:00
Samuel Guerra 531ab225d4 Separated render from event. 2019-08-07 00:09:54 -03:00
Samuel Guerra e4075de2cf Implemented single event loop. 2019-08-07 00:04:19 -03:00
Well b19b73bb6e Merged hover button with webrender's multi-window example 2019-08-06 01:02:23 -03:00
Samuel Guerra e1350f503d Changed loop to our own using poll_events and rendering everything every loop iteration. 2019-08-03 01:37:33 -03:00
Well 8038d4cb77 implemented hit-test (ran into trouble rendering things without having to push a new render) 2019-07-31 01:10:03 -03:00
Samuel Guerra e7f6a82a72 Fixed layout. 2019-07-30 00:56:07 -03:00
Well 8b909c962a unsuccessful attempt at making the rect stay in place relative to top right while resizing 2019-07-28 01:01:21 -03:00
Well e44519a76f Rendered a rect 2019-07-28 00:30:23 -03:00
Samuel Guerra 2cf9e68bde Added Well 2019-07-26 01:20:16 -03:00
Samuel Guerra 805a10637e Implemented black window. 2019-07-26 01:18:23 -03:00