Event_Val_Max = Event_Error,
};
- const std::vector<const char *> kListEventName{
- "active",
- "inactive",
- "visible",
- "invisible",
- "syncDraw",
- "flushDraw",
- "screenUpdated",
- "error"};
-
- struct controller_hooks chooks;
-
- // ID allocation and proxy methods for lookup
- struct id_allocator id_alloc;
-
- std::map<const char *, struct afb_event> map_afb_event;
-
- // Surface are info (x, y, w, h)
- rect_map area_info;
-
- // FOR CES DEMO
- std::vector<int> surface_bg;
-
explicit WindowManager();
~WindowManager() = default;
void startTransitionWrapper(std::vector<WMAction> &actions);
void processError(WMError error);
+ const std::vector<const char *> kListEventName{
+ "active",
+ "inactive",
+ "visible",
+ "invisible",
+ "syncDraw",
+ "flushDraw",
+ "screenUpdated",
+ "error"};
+ std::map<const char *, struct afb_event> map_afb_event;
+
private:
int init_layers();
void surface_set_layout(int surface_id, const std::string& area = "");
std::shared_ptr<LayerControl> lc;
PMWrapper pmw;
+ struct controller_hooks chooks;
+ // ID allocation and proxy methods for lookup
+ struct id_allocator id_alloc;
+ // Surface are info (x, y, w, h)
+ rect_map area_info;
+ // FOR CES DEMO
+ std::vector<int> surface_bg;
+
static const char* kDefaultOldRoleDb;
};