mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-12-15 15:59:39 -05:00
Multi screen support, with dyn alignment (#2801)
This commit is contained in:
parent
23cabb8b8a
commit
371b6b5079
161 changed files with 4042 additions and 4157 deletions
|
|
@ -89,9 +89,8 @@ class BtnGridView : public View {
|
|||
bool blacklisted_app(GridItem new_item);
|
||||
|
||||
void update_items();
|
||||
void set_btn_min_max_height(uint8_t min, uint8_t max) {
|
||||
btn_h_min = min;
|
||||
btn_h_max = max;
|
||||
void set_btn_height_fixed(uint8_t h) {
|
||||
button_h = h;
|
||||
}
|
||||
|
||||
protected:
|
||||
|
|
@ -99,8 +98,6 @@ class BtnGridView : public View {
|
|||
|
||||
private:
|
||||
int rows_{3};
|
||||
uint8_t btn_h_min{40};
|
||||
uint8_t btn_h_max{60};
|
||||
bool keep_highlight{false};
|
||||
|
||||
std::vector<GridItem> menu_items{};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue