Files
Upsilon/apps/apps_window.h
Émilie Feral 41259e8cbe [apps] Add an battery icon to indicate that the battery is charging
Change-Id: I26c616cc6e39f87d305b7bd0c27433e646d74b05
2017-03-28 14:49:27 +02:00

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);
void updateBatteryLevel();
void 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