mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-05-30 07:58:24 +00:00
Fix whitespace to match furrtek/portapack-havoc.
This commit is contained in:
parent
b147aee30a
commit
f726a54f25
@ -147,8 +147,10 @@ void NavigationView::free_view() {
|
|||||||
|
|
||||||
void NavigationView::update_view() {
|
void NavigationView::update_view() {
|
||||||
const auto new_view = view_stack.back().get();
|
const auto new_view = view_stack.back().get();
|
||||||
|
|
||||||
add_child(new_view);
|
add_child(new_view);
|
||||||
new_view->set_parent_rect({ {0, 0}, size() });
|
new_view->set_parent_rect({ {0, 0}, size() });
|
||||||
|
|
||||||
focus();
|
focus();
|
||||||
set_dirty();
|
set_dirty();
|
||||||
|
|
||||||
|
@ -22,7 +22,6 @@
|
|||||||
#include "portapack_persistent_memory.hpp"
|
#include "portapack_persistent_memory.hpp"
|
||||||
|
|
||||||
#include "portapack.hpp"
|
#include "portapack.hpp"
|
||||||
|
|
||||||
#include "hal.h"
|
#include "hal.h"
|
||||||
|
|
||||||
#include "utility.hpp"
|
#include "utility.hpp"
|
||||||
|
@ -329,7 +329,7 @@ void Text::paint(Painter& painter) {
|
|||||||
|
|
||||||
/* Button ****************************************************************/
|
/* Button ****************************************************************/
|
||||||
|
|
||||||
Button::Button(
|
Button::Button(
|
||||||
Rect parent_rect,
|
Rect parent_rect,
|
||||||
std::string text
|
std::string text
|
||||||
) : Widget { parent_rect },
|
) : Widget { parent_rect },
|
||||||
|
@ -340,3 +340,4 @@ type_name = '::cpld::xilinx::XC2C64A::verify_blocks_t'
|
|||||||
|
|
||||||
# HeaderGen(header_includes, namespaces, type_name, variable_name).to_file(args.header_file_path)
|
# HeaderGen(header_includes, namespaces, type_name, variable_name).to_file(args.header_file_path)
|
||||||
DataGen(data_includes, namespaces, type_name, variable_name, verify).to_file(args.data_file_path)
|
DataGen(data_includes, namespaces, type_name, variable_name, verify).to_file(args.data_file_path)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user