Files
Upsilon/apps/apps_window.h
Émilie Feral 4f5b35a4b3 [apps] Alpha Lock icon
Change-Id: Ie5a2f4e6b3fae2e14808430e2207306cae2bd7c2
2017-04-27 13:16:57 +02:00

24 lines
533 B
C++

#ifndef APPS_WINDOW_H
#define APPS_WINDOW_H
#include <escher.h>
#include "title_bar_view.h"
class AppsWindow : public Window {
public:
AppsWindow();
void setTitle(I18n::Message title);
bool updateBatteryLevel();
bool updateIsChargingState();
void refreshPreferences();
bool updateAlphaLock();
private:
constexpr static KDCoordinate k_titleBarHeight = 18;
int numberOfSubviews() const override;
void layoutSubviews() override;
View * subviewAtIndex(int index) override;
TitleBarView m_titleBarView;
};
#endif