1 #ifndef DECORATOR_HPP 2 #define DECORATOR_HPP 3 4 #include <wayfire/geometry.hpp> 5 6 namespace wf 7 { 8 class decorator_frame_t_t 9 { 10 public: 11 virtual wf::geometry_t expand_wm_geometry( 12 wf::geometry_t contained_wm_geometry) = 0; 13 14 virtual void calculate_resize_size( 15 int& target_width, int& target_height) = 0; 16 notify_view_activated(bool active)17 virtual void notify_view_activated(bool active) 18 {} notify_view_resized(wf::geometry_t view_geometry)19 virtual void notify_view_resized(wf::geometry_t view_geometry) 20 {} notify_view_tiled()21 virtual void notify_view_tiled() 22 {} notify_view_fullscreen()23 virtual void notify_view_fullscreen() 24 {} 25 ~decorator_frame_t_t()26 virtual ~decorator_frame_t_t() 27 {} 28 }; 29 } 30 31 #endif /* end of include guard: DECORATOR_HPP */ 32