Files
Upsilon/apps/apps_window.h
Jean-Baptiste Boric 2fd15b7d7f [ion] Add RTC subsystem
2020-08-16 15:49:40 +02:00

28 lines
639 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 updateClock();
bool updateIsChargingState();
bool updatePluggedState();
void refreshPreferences();
void reloadTitleBarView();
bool updateAlphaLock();
void hideTitleBarView(bool hide);
private:
int numberOfSubviews() const override;
void layoutSubviews(bool force = false) override;
View * subviewAtIndex(int index) override;
TitleBarView m_titleBarView;
bool m_hideTitleBarView;
};
#endif