Commit graph

135 commits

Author SHA1 Message Date
hippoz
55b19a3834
allow using custom class for window in application 2022-10-28 23:58:07 +03:00
hippoz
9b2655beb2
fix relayout subtree logic 2022-10-28 23:24:07 +03:00
hippoz
abbedd9db1
fix documentlayout by requiring fixed width of target 2022-10-28 19:46:33 +03:00
hippoz
fc59ad6e10
add "inherit_secondary_dimension" to listlayout 2022-10-28 02:45:39 +03:00
hippoz
a2120328f1
somewhat limit scrolling extents 2022-10-28 02:35:42 +03:00
hippoz
dfa13dc46d
add "ListLayout" and remove columnlayout and rowlayout 2022-10-28 02:26:31 +03:00
hippoz
cd96edba8b
slightly reduce button padding 2022-10-26 22:15:47 +03:00
hippoz
e6be3bb378
add basic multi-window support 2022-10-26 22:13:07 +03:00
hippoz
035522591f
hopefully improve behavior when widgets overlap 2022-10-19 00:23:25 +03:00
hippoz
854e7d1d74
remove debug logging 2022-10-19 00:18:03 +03:00
hippoz
8c437b1d80
improve ui colors 2022-10-18 23:51:43 +03:00
hippoz
c3a5cce4f9
fix example program repainting 2022-10-18 23:32:05 +03:00
hippoz
f0acf9522d
silly boxlayout automatic sizing 2022-10-18 23:28:48 +03:00
hippoz
13047e73a7
don't reflow on listview elements update 2022-10-17 11:34:57 +03:00
hippoz
4f85dafa28
fix listview selection bug 2022-10-17 07:39:25 +03:00
hippoz
e178428742
add basic TextInput class with support for minimal text editing 2022-10-16 22:52:23 +03:00
hippoz
9ef5cbab9b
change name of box.contains_point and contains_box 2022-10-16 14:38:06 +03:00
hippoz
7cd8169622
fix redundant reflow on application start, might break on some x implementations 2022-10-15 22:54:54 +03:00
hippoz
748bd60194
re-add default batch to window 2022-10-15 22:41:13 +03:00
hippoz
dd894d1024
much improved paint and reflow scheduling 2022-10-15 21:35:00 +03:00
hippoz
002318c213
improve growing behavior of widgets 2022-10-15 14:51:58 +03:00
hippoz
805c9ff194
fix name of row and column layout 2022-10-15 00:55:54 +03:00
hippoz
f22979c7cc
add list view and other improvements 2022-10-15 00:54:46 +03:00
hippoz
407a86de79
improve button enum 2022-10-01 17:08:15 +03:00
hippoz
a4e5d47690
improve style naming 2022-09-28 12:41:52 +03:00
hippoz
e8f095bfc4
improve boxlayout growing 2022-08-29 15:22:17 +03:00
hippoz
43eec85adc
add a way to pre-render svgs to fix duplication of surfaces 2022-07-31 23:14:16 +03:00
hippoz
d07340217c
fix logging header file and stop throwing exceptions 2022-07-30 17:01:59 +03:00
hippoz
c02f286f01
fix boxlayout adding extra spacing 2022-07-29 03:02:54 +03:00
hippoz
55b8353d6d
remove on_click from button and add it to the Widget class 2022-07-28 18:54:29 +03:00
hippoz
909f911260
add margin and spacing to boxlayout 2022-07-28 18:54:06 +03:00
hippoz
a7051174a9
add SvgWidget 2022-07-27 03:26:58 +03:00
hippoz
4d7cb99fb1
add on_after_layout 2022-07-27 03:26:51 +03:00
hippoz
cc1d49c435
add microtask system and temporary logging system 2022-07-27 02:32:33 +03:00
hippoz
9f52cad7e9
dont accept events if we did not init yet 2022-07-26 17:26:18 +03:00
hippoz
913240c33b
increase scroll step 2022-07-26 17:26:02 +03:00
hippoz
b6c6f1e78c
fix batch system 2022-07-26 04:47:17 +03:00
hippoz
3c5c5b6b51
add batch in add_child 2022-07-26 04:47:03 +03:00
hippoz
360952c25d
add label text align option 2022-07-26 02:44:09 +03:00
hippoz
4929424d2a
improve README 2022-07-26 01:23:27 +03:00
hippoz
112a3b83d3
add test to window 2022-07-26 01:06:51 +03:00
hippoz
cbbe90f57d
add clear_children function for widget 2022-07-26 01:06:40 +03:00
hippoz
32524f01e2
add scrollcontainer hack for width 2022-07-26 01:06:19 +03:00
hippoz
533b6ebe91
remove png function as it was not very useful 2022-07-26 01:06:07 +03:00
hippoz
801482efbf
add hack for label 2022-07-26 01:05:51 +03:00
hippoz
6dd0a1338f
fix documentlayout automatic sizing 2022-07-26 01:05:37 +03:00
hippoz
59e8806c9e
clean up some of the imports 2022-07-26 01:05:21 +03:00
hippoz
3139582373
hopefully fix library dependencies 2022-07-26 01:04:16 +03:00
hippoz
c63d94a651
new install script 2022-07-26 01:03:51 +03:00
hippoz
711c244ef2 add png support 2022-07-17 23:17:12 +03:00