Files
Upsilon/apps/apps_window.h
Émilie Feral 689b5e1b48 [apps] Reload title bar when changing language
Change-Id: I1b2a7bc0a64af851f366843b8e06133e80050bc3
2017-05-10 16:30:46 +02:00

28 lines
650 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);
void reloadTitleBar();
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