wlmaker
|
#include <view.h>
Public Attributes | |
const wlmaker_view_impl_t * | impl_ptr |
bs_dllist_node_t | views_node |
wlmaker_server_t * | server_ptr |
wlmaker_workspace_t * | workspace_ptr |
struct wlr_surface * | wlr_surface_ptr |
struct wlr_scene_tree * | elements_wlr_scene_tree_ptr |
struct wlr_scene_tree * | view_wlr_scene_tree_ptr |
wlmaker_view_send_close_callback_t | send_close_callback |
uint32_t | anchor |
bool | active |
struct wlr_box | organic_box |
bool | maximized |
bool | fullscreen |
bool | shaded |
wlmaker_workspace_layer_t | default_layer |
wlmaker_iconified_t * | iconified_ptr |
struct wlr_scene_buffer * | window_menu_wlr_scene_buffer_ptr |
bs_avltree_t * | interactive_tree_ptr |
struct wl_listener | button_release_listener |
struct wlr_scene_node * | pointer_focussed_wlr_scene_node_ptr |
char * | app_id_ptr |
char * | title_ptr |
wlmaker_client_t | client |
State of a view.
bool _wlmaker_view_t::active |
Whether this view is currently active (focussed).
uint32_t _wlmaker_view_t::anchor |
Anchor of the view.
char* _wlmaker_view_t::app_id_ptr |
Application ID, as a UTF-8 string.
struct wl_listener _wlmaker_view_t::button_release_listener |
Listener for "button release" signals. To catch releases off focus.
wlmaker_client_t _wlmaker_view_t::client |
Client information.
wlmaker_workspace_layer_t _wlmaker_view_t::default_layer |
Default layer (unless the view is in fullscreen).
struct wlr_scene_tree* _wlmaker_view_t::elements_wlr_scene_tree_ptr |
Scene graph tree, holding all the window elements.
Will hold the scene node of the view's surfaces & sub-surfaces (as provided to wlmaker_view_init and re-parented), the decorations and window menu.
The node.data
field of the tree's scene node is a back-link pointing to wlmaker_view_t.
bool _wlmaker_view_t::fullscreen |
Whether the view is currently in full-screen mode.
wlmaker_iconified_t* _wlmaker_view_t::iconified_ptr |
Is set, iff the view is currently iconified.
const wlmaker_view_impl_t* _wlmaker_view_t::impl_ptr |
Points to the view's implementation methods.
bs_avltree_t* _wlmaker_view_t::interactive_tree_ptr |
AVL tree holding decoration interactives. Lookup key: the wlr_scene_buffer.node
.
bool _wlmaker_view_t::maximized |
Whether the view is currently maximized.
struct wlr_box _wlmaker_view_t::organic_box |
Stores the 'organic' position and size of the view.
This is used to store the position & size of the view before entering maximized (or fullscreen) state, and to restore the dimensions once that state is terminated.
struct wlr_scene_node* _wlmaker_view_t::pointer_focussed_wlr_scene_node_ptr |
Scene node currently having pointer focus, or NULL.
wlmaker_view_send_close_callback_t _wlmaker_view_t::send_close_callback |
"Sending close event" callback.
wlmaker_server_t* _wlmaker_view_t::server_ptr |
Back-link to the server.
bool _wlmaker_view_t::shaded |
Whether the view is currently shaded.
char* _wlmaker_view_t::title_ptr |
Window title, as a UTF-8 string.
struct wlr_scene_tree* _wlmaker_view_t::view_wlr_scene_tree_ptr |
Scene graph tree of the surface (the shell).
bs_dllist_node_t _wlmaker_view_t::views_node |
Node within the stack of views, defining it's position.
struct wlr_scene_buffer* _wlmaker_view_t::window_menu_wlr_scene_buffer_ptr |
The window menu's buffer.
struct wlr_surface* _wlmaker_view_t::wlr_surface_ptr |
The surface. TODO: Clarify.
wlmaker_workspace_t* _wlmaker_view_t::workspace_ptr |
Workspace this view belongs to. Non-NULL when mapped.