more focus fixes
This commit is contained in:
committed by
Raphael Coeffic
parent
bc0a32902b
commit
941dd87651
@@ -90,9 +90,6 @@ class ViewMain: public Window
|
|||||||
// Set topbar visibility [0.0 -> 1.0]
|
// Set topbar visibility [0.0 -> 1.0]
|
||||||
void setTopbarVisible(float visible);
|
void setTopbarVisible(float visible);
|
||||||
|
|
||||||
// void setScrollPositionX(coord_t value) override;
|
|
||||||
// void setScrollPositionY(coord_t value) override;
|
|
||||||
|
|
||||||
#if defined(HARDWARE_TOUCH)
|
#if defined(HARDWARE_TOUCH)
|
||||||
unsigned char prevSlideState = 0;
|
unsigned char prevSlideState = 0;
|
||||||
unsigned int startSlidePage = 0;
|
unsigned int startSlidePage = 0;
|
||||||
|
|||||||
@@ -31,6 +31,14 @@
|
|||||||
|
|
||||||
#include "board.h"
|
#include "board.h"
|
||||||
|
|
||||||
|
ViewMainDecoration::ViewMainDecoration(Window* parent, const rect_t& rect) :
|
||||||
|
Window(parent, rect, NO_FOCUS)
|
||||||
|
{
|
||||||
|
createSliders();
|
||||||
|
createTrims();
|
||||||
|
createFlightMode();
|
||||||
|
}
|
||||||
|
|
||||||
void ViewMainDecoration::setSlidersVisible(bool visible)
|
void ViewMainDecoration::setSlidersVisible(bool visible)
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
|
|||||||
@@ -28,13 +28,7 @@ constexpr coord_t FM_LABEL_HEIGHT = 20;
|
|||||||
class ViewMainDecoration: public Window
|
class ViewMainDecoration: public Window
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
ViewMainDecoration(Window * parent, const rect_t & rect):
|
ViewMainDecoration(Window * parent, const rect_t & rect);
|
||||||
Window(parent, rect)
|
|
||||||
{
|
|
||||||
createSliders();
|
|
||||||
createTrims();
|
|
||||||
createFlightMode();
|
|
||||||
}
|
|
||||||
|
|
||||||
// Set decoration visibility
|
// Set decoration visibility
|
||||||
void setTrimsVisible(bool visible);
|
void setTrimsVisible(bool visible);
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ class WidgetsContainerImpl : public WidgetsContainer
|
|||||||
|
|
||||||
WidgetsContainerImpl(Window* parent, const rect_t& rect,
|
WidgetsContainerImpl(Window* parent, const rect_t& rect,
|
||||||
PersistentData* persistentData) :
|
PersistentData* persistentData) :
|
||||||
WidgetsContainer(parent, rect, FORM_FORWARD_FOCUS),
|
WidgetsContainer(parent, rect, NO_FOCUS | FORM_FORWARD_FOCUS),
|
||||||
persistentData(persistentData)
|
persistentData(persistentData)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|||||||
Vendored
+1
-1
Submodule radio/src/thirdparty/libopenui updated: ebdf277392...d5a887bf9c
Reference in New Issue
Block a user