mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
(to know if the redrawing is necessary) Change-Id: Iebb1d2ba1f188815b01bcbd6e632244f6169b3f9
23 lines
507 B
C++
23 lines
507 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();
|
|
private:
|
|
constexpr static KDCoordinate k_titleBarHeight = 18;
|
|
int numberOfSubviews() const override;
|
|
void layoutSubviews() override;
|
|
View * subviewAtIndex(int index) override;
|
|
TitleBarView m_titleBarView;
|
|
};
|
|
|
|
#endif
|