Blame view

Giac_maj/epsilon-giac/apps/apps_window.h 650 Bytes
6663b6c9   adorian   projet complet av...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
  #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