std::unique_ptr<registry> r;
display();
+ ~display();
bool ok() const;
void roundtrip();
int dispatch();
// Events
void visibility(int32_t visibility);
- void opacity(wl_fixed_t opacity);
+ void opacity(float opacity);
void source_rectangle(int32_t x, int32_t y, int32_t width, int32_t height);
void destination_rectangle(int32_t x, int32_t y, int32_t width,
int32_t height);
// Events
void visibility(int32_t visibility);
- void opacity(wl_fixed_t opacity);
+ void opacity(float opacity);
void source_rectangle(int32_t x, int32_t y, int32_t width, int32_t height);
void destination_rectangle(int32_t x, int32_t y, int32_t width,
int32_t height);
void orientation(int32_t orientation);
void screen(struct wl_output *screen);
void destroyed();
+
+ // Requests
+ void set_visibility(uint32_t visibility);
+ void set_opacity(wl_fixed_t opacity);
+ void set_source_rectangle(int32_t x, int32_t y, int32_t width, int32_t height);
+ void set_destination_rectangle(int32_t x, int32_t y, int32_t width, int32_t height);
+ void set_configuration(int32_t width, int32_t height);
+ void set_orientation(int32_t orientation);
+ void screenshot(const char *filename);
+ void clear_surfaces();
+ void add_surface(struct surface *surface);
+ void remove_surface(struct surface *surface);
+ void set_render_order(struct wl_array *id_surfaces);
};
//