RndmNmbr
|
36e5682406
|
Update ui_widget.hpp
Added include of <functional> to allow for a clean build with g++ 7.2.1 20170904
|
2018-02-03 13:41:40 -05:00 |
|
Jared Boone
|
f2dd6827ea
|
Add Widget::parent_rect() accessor, rename member variable.
Some day I will settle on a convention for naming members... I think that day is near.
|
2016-12-06 09:28:48 -08:00 |
|
Jared Boone
|
3f94591083
|
Remove a lot of static_cast<>s involving UI structs.
Also starting to get religion on using unsigned integers only when I want their wrapping/modulus behavior.
|
2016-11-29 10:13:56 -08:00 |
|
Jared Boone
|
46b3d9d087
|
Disallow copy constructors/assignments.
For classes containing pointers/state that should not be copied.
|
2016-11-26 16:52:57 -08:00 |
|
Jared Boone
|
4eb0facacb
|
Add lots of value constructors.
|
2016-11-26 16:50:44 -08:00 |
|
Jared Boone
|
8a69b0523e
|
View::add_children: Use std::list_initializer as argument.
Improvement in code size -- 944 bytes.
Some day I will understand C++11 well enough to do the right thing the first time.
|
2016-09-05 14:53:04 -07:00 |
|
Jared Boone
|
ff57b3c8cb
|
Add Color-only constructor to ui::Rectangle widget.
|
2016-05-25 11:32:06 -07:00 |
|
Jared Boone
|
dc2944d5e9
|
Make Widget::screen_rect() const.
Because I can.
|
2016-05-08 14:59:26 -07:00 |
|
Jared Boone
|
27a1423309
|
De-constexpr a few UI constructors.
Because it was silly.
|
2016-04-22 11:18:35 -07:00 |
|
Jared Boone
|
5a66c68861
|
Return Widget::children() by reference.
|
2016-02-07 11:24:25 -08:00 |
|
Jared Boone
|
2b6bc03408
|
Remove unfinished Widget last child focus code.
|
2016-02-07 11:06:16 -08:00 |
|
Jared Boone
|
a420f018c7
|
Remove unused View::dirty_screen_rect member.
|
2016-02-07 10:53:40 -08:00 |
|
Jared Boone
|
41d4fd0044
|
Remove unused View::initial_focus().
|
2016-02-07 10:42:41 -08:00 |
|
Jared Boone
|
3a709c51c4
|
Hide more Widget member variables.
|
2016-02-07 10:40:06 -08:00 |
|
Jared Boone
|
7cb3bbc9f8
|
Make Widget flags private, expose via methods.
|
2016-02-07 10:32:38 -08:00 |
|
Jared Boone
|
84824a504f
|
Add UI Image and ImageButton classes.
|
2016-02-03 15:48:50 -08:00 |
|
Jared Boone
|
be8c1307e2
|
Add OptionsField event for on_focus.
TODO: So poorly named! Should be on_focus, but requires sweeping changes. Ugh.
|
2016-02-02 13:41:11 -08:00 |
|
Jared Boone
|
275b644edd
|
Fix flickering freq/gain options views.
Was caused by invalidating ALL of the parent view, when only the overlapping views would need to be repainted.
|
2016-01-27 21:47:10 -08:00 |
|
Jared Boone
|
0efe2ea0ae
|
Add virtual title() to View class.
|
2016-01-26 13:01:16 -08:00 |
|
Jared Boone
|
9cab3c9978
|
Remove message_map from Context.
It doesn't belong in a display/rendering context object, it has much broader significance, mostly distributing messages via the M4->M0 IPC mechanism.
|
2016-01-13 15:46:04 -08:00 |
|
Jared Boone
|
750506b33e
|
Move more code from .hpp to .cpp.
|
2015-12-16 22:35:26 -08:00 |
|
Jared Boone
|
76845c4335
|
Extract to_string_* functions from ui_widget.
|
2015-12-02 13:38:17 -08:00 |
|
Jared Boone
|
47a3ffb15a
|
Insulate ui::Context a bit from its clients.
Add accessor methods.
|
2015-11-09 11:56:40 -08:00 |
|
Jared Boone
|
a9bb7c96e5
|
Move UI dirty tracking out of application main.cpp.
|
2015-08-14 21:17:23 -07:00 |
|
Jared Boone
|
65d5f68bfb
|
Move LCD display object to portapack namespace.
Globals are bad... Except in embedded development!
|
2015-08-01 14:31:51 -07:00 |
|
Jared Boone
|
4aa1c8fb65
|
String functions now default to length = 0, no padding.
|
2015-07-20 21:53:12 -07:00 |
|
Jared Boone
|
dc6fee8370
|
Initial firmware commit.
|
2015-07-08 08:39:24 -07:00 |
|