wlmaker
|
#include <view.h>
Public Attributes | |
uint32_t(* | set_activated )(wlmaker_view_t *view_ptr, bool activated) |
void(* | get_size )(wlmaker_view_t *view_ptr, uint32_t *width_ptr, uint32_t *height_ptr) |
void(* | set_size )(wlmaker_view_t *view_ptr, int width, int height) |
void(* | set_maximized )(wlmaker_view_t *view_ptr, bool maximize) |
void(* | set_fullscreen )(wlmaker_view_t *view_ptr, bool maximize) |
void(* | handle_axis )(wlmaker_view_t *view_ptr, struct wlr_pointer_axis_event *event_ptr) |
Implementation methods for the view.
void(* wlmaker_view_impl_t::get_size) (wlmaker_view_t *view_ptr, uint32_t *width_ptr, uint32_t *height_ptr) |
Retrieves the size of the view's surface owned by the implementation.
This ignores elements owned by the wlmaker_view_t
, eg. server-side decoration elements. Both |width_ptr| and |height_ptr| may be NULL, if the caller is not interested in the particular value.
Required for an implementation.
void(* wlmaker_view_impl_t::handle_axis) (wlmaker_view_t *view_ptr, struct wlr_pointer_axis_event *event_ptr) |
Handles an axis event.
Optional for an implementation.
uint32_t(* wlmaker_view_impl_t::set_activated) (wlmaker_view_t *view_ptr, bool activated) |
Sets the activated
status for the view. "Activated" denotes the visual appearance when the view has keyboard focus.
Required for an implementation.
void(* wlmaker_view_impl_t::set_fullscreen) (wlmaker_view_t *view_ptr, bool maximize) |
Sets the implementation's fullscreen state.
Optional for an implementation.
void(* wlmaker_view_impl_t::set_maximized) (wlmaker_view_t *view_ptr, bool maximize) |
Sets the implementation maximization state.
Optional for an implementation.
void(* wlmaker_view_impl_t::set_size) (wlmaker_view_t *view_ptr, int width, int height) |
Sets the size of the view's surface owned by the implementation.
This sets width and height of the view, excluding elements owned by wlmaker_view_t
, such as server-side decoration. Will not change the position of the view; the position is iwned by wlmaker_view_t
.
Optional for an implementation.