mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
[apps] Alpha Lock icon
Change-Id: Ie5a2f4e6b3fae2e14808430e2207306cae2bd7c2
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
|
||||
#include <escher.h>
|
||||
#include "battery_view.h"
|
||||
#include "alpha_lock_view.h"
|
||||
#include "i18n.h"
|
||||
|
||||
class TitleBarView : public View {
|
||||
@@ -12,9 +13,11 @@ public:
|
||||
void setTitle(I18n::Message title);
|
||||
bool setChargeState(Ion::Battery::Charge chargeState);
|
||||
bool setIsCharging(bool isCharging);
|
||||
bool setAlphaLockStatus(AlphaLockView::Status status);
|
||||
void refreshPreferences();
|
||||
private:
|
||||
constexpr static KDCoordinate k_batteryRightMargin = 5;
|
||||
constexpr static KDCoordinate k_alphaRightMargin = 5;
|
||||
constexpr static KDCoordinate k_preferenceMargin = 3;
|
||||
constexpr static KDCoordinate k_examIconWidth = 18;
|
||||
constexpr static KDCoordinate k_examIconHeight = 9;
|
||||
@@ -24,6 +27,7 @@ private:
|
||||
View * subviewAtIndex(int index) override;
|
||||
MessageTextView m_titleView;
|
||||
BatteryView m_batteryView;
|
||||
AlphaLockView m_alphaLockView;
|
||||
BufferTextView m_preferenceView;
|
||||
ImageView m_examModeIconView;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user