2 Commits (e79902e9110eb47cf13bc31beb5d5ae806072ba1)

Author SHA1 Message Date
anna e79902e911
major refactor, part 2
We've reached the point where it kind of works,
albeit only with limited features: The template!
macro has the backend type parameter hardcoded to
TargetBackend as i still can't get it to infer the
type.  I'll probably remove the generic backend
parameter, though, because (1) it's annoying to
have to write everywhere and (2) it is of little
to no use in real applications (you do not create
views targeting the, say, ncurses backend when
compiling against GTK).
8 months ago
anna c0765b7dd0
[broken] major refactor, part 1
This commit introduces the first theoretical
concept for how custom components could work in
this framework, in combination with derive macros
for native and custom components.  The latter
still don't work because rustc can't infer the
Backend type parameter for custom components for
some reason.  I'm only committing this because
the diff is large enough as it is and i thought
it's a pretty good milestone for documenting the
development of this framework.  Furthermore, i'm
experiencing critical levels of being an eepy
little girl,
8 months ago