4 Commits

Author SHA1 Message Date
Joonas Javanainen
46d099f40f
Require explicit ending/popping of almost all stack tokens
This is probably going to be controversial...
Calling end/pop in the Drop implementation causes way too many problems,
and interacts very badly with panics.

There are closure-based simpler implementations of almost everything
except parameter stacks that are still convenient to use. However, if we
end up switching to &mut Ui in most functions (very much possible in the
future!), closures will complicate matters so push/pop and begin/end
pairs are still relevant.
2019-07-13 17:19:32 +03:00
Joonas Javanainen
95662e575a
Derive Copy, Clone, Debug for builders whenever possible 2019-07-13 13:53:24 +03:00
Joonas Javanainen
baa9362a25
Redesign selectable API 2019-07-13 13:11:51 +03:00
Joonas Javanainen
c0b9571160
Redesign combo box API 2019-07-13 12:42:35 +03:00