Files
Upsilon/apps/apps_window.h
Léa Saviot 98f2db900c [apps] Cleaned useless functions for updating the title bar.
Change-Id: I119d1bd29aef1be4b65a9281d21400b81f801cc6
2017-11-17 11:59:50 +01:00

27 lines
625 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();
bool updatePluggedState();
void refreshPreferences();
bool updateAlphaLock();
void hideTitleBarView(bool hide);
private:
constexpr static KDCoordinate k_titleBarHeight = 18;
int numberOfSubviews() const override;
void layoutSubviews() override;
View * subviewAtIndex(int index) override;
TitleBarView m_titleBarView;
bool m_hideTitleBarView;
};
#endif