Files
Upsilon/apps/apps_window.h
Émilie Feral 39b0bd9b66 [apps] Display the preferences in the title bar
Change-Id: Ib1defef85b68a48f667127c583901b659db1cbaf
2017-01-30 16:06:48 +01:00

22 lines
499 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(const char * title);
void updateBatteryLevel();
void refreshPreferences(Preferences * preferences);
private:
constexpr static KDCoordinate k_titleBarHeight = 18;
int numberOfSubviews() const override;
void layoutSubviews() override;
View * subviewAtIndex(int index) override;
TitleBarView m_titleBarView;
};
#endif