wlmaker
Loading...
Searching...
No Matches
Public Attributes | List of all members
wlmaker_view_impl_t Struct Reference

#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)
 

Detailed Description

Implementation methods for the view.

Member Data Documentation

◆ get_size

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.

◆ handle_axis

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.

◆ set_activated

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.

◆ set_fullscreen

void(* wlmaker_view_impl_t::set_fullscreen) (wlmaker_view_t *view_ptr, bool maximize)

Sets the implementation's fullscreen state.

Optional for an implementation.

◆ set_maximized

void(* wlmaker_view_impl_t::set_maximized) (wlmaker_view_t *view_ptr, bool maximize)

Sets the implementation maximization state.

Optional for an implementation.

◆ set_size

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.


The documentation for this struct was generated from the following file: