mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-10 15:40:29 -04:00
Prepare for display orientation part 1 (#2661)
This commit is contained in:
parent
6f6d863a14
commit
a1d7cf2b86
85 changed files with 405 additions and 334 deletions
|
@ -292,12 +292,12 @@ class RemoteAppView : public View {
|
|||
bool is_sending() const { return replay_thread_ != nullptr; }
|
||||
void show_error(const std::string& msg) const;
|
||||
|
||||
static constexpr Dim button_rows = 4;
|
||||
static constexpr Dim button_cols = 3;
|
||||
static constexpr uint8_t max_buttons = button_rows * button_cols;
|
||||
static constexpr Dim button_area_height = 200;
|
||||
static constexpr Dim button_width = screen_width / button_cols;
|
||||
static constexpr Dim button_height = button_area_height / button_rows;
|
||||
Dim button_rows = 4;
|
||||
Dim button_cols = 3;
|
||||
uint8_t max_buttons = button_rows * button_cols;
|
||||
Dim button_area_height = 200;
|
||||
Dim button_width = screen_width / button_cols;
|
||||
Dim button_height = button_area_height / button_rows;
|
||||
|
||||
// This value is mysterious... why?
|
||||
static constexpr uint32_t baseband_bandwidth = 2'500'000;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue