wlmaker
|
#include "iconified.h"
#include "config.h"
#include "decorations.h"
#include "interactive.h"
#include "toolkit/gfxbuf.h"
#include <libbase/libbase.h>
#include <linux/input-event-codes.h>
Classes | |
struct | _wlmaker_iconified_t |
struct | _wlmaker_dockapp_iconified_t |
Variables | |
const wlmaker_interactive_impl_t | iconified_interactive_impl |
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
|
static |
Handles button events for the iconified.
Will un-minimize (restore) the view shown by the iconified.
interactive_ptr | |
x | |
y | |
wlr_pointer_button_event_ptr |
|
static |
Handler: Destroy interactive, wraps to wlmaker_iconified_destroy.
|
static |
Handler: Pointer enters the interactive.
|
static |
Handler, unused: Focus the iconified. There is no focus.
|
static |
Handler: Pointer leaves the interactive.
|
static |
Handler: Pointer motion.
|
static |
Cast: Get the wlmaker_iconified_t from the pointer to interactive
.
interactive_ptr |
bs_avltree_node_t * wlmaker_avlnode_from_iconified | ( | wlmaker_iconified_t * | iconified_ptr | ) |
Conversion: Gets a pointer to the avlnode of the iconified's interactive.
iconified_ptr |
bs_dllist_node_t * wlmaker_dlnode_from_iconified | ( | wlmaker_iconified_t * | iconified_ptr | ) |
Conversion: Gets a pointer to the dlnode
of the iconified
iconified_ptr |
void wlmaker_dockapp_iconified_attach | ( | wlmaker_dockapp_iconified_t * | dai_ptr, |
struct wlr_surface * | wlr_surface_ptr ) |
Prototype: Attaches a surface to the DockApp.
wlmaker_dockapp_iconified_t * wlmaker_dockapp_iconified_create | ( | wlmaker_server_t * | server_ptr | ) |
Prototype: Creates an iconified as DockApp.
void wlmaker_dockapp_iconified_destroy | ( | wlmaker_dockapp_iconified_t * | dai_ptr | ) |
Prototype: Destroys the iconified as DockApp.
wlmaker_iconified_t * wlmaker_iconified_create | ( | wlmaker_view_t * | view_ptr | ) |
Creates an iconified, ie. a minimized representation of view_ptr
.
view_ptr |
void wlmaker_iconified_destroy | ( | wlmaker_iconified_t * | iconified_ptr | ) |
Destroys the iconified.
iconified_ptr |
wlmaker_iconified_t * wlmaker_iconified_from_dlnode | ( | bs_dllist_node_t * | dlnode_ptr | ) |
Conversion: Returns the iconified, given a pointer to it's dlnode
.
dlnode_ptr |
wlmaker_iconified_t * wlmaker_iconified_from_dockapp | ( | wlmaker_dockapp_iconified_t * | dai_ptr | ) |
Prototype: Gets the iconified from the DockApp.
void wlmaker_iconified_set_position | ( | wlmaker_iconified_t * | iconified_ptr, |
uint32_t | x, | ||
uint32_t | y ) |
Sets the position of the iconified, relative to the tile container.
iconified_ptr | |
x | |
y |
wlmaker_view_t * wlmaker_view_from_iconified | ( | wlmaker_iconified_t * | iconified_ptr | ) |
Conversion: Retrieves the wlmaker_view_t represented by this iconified.
iconified_ptr |
struct wlr_scene_node * wlmaker_wlr_scene_node_from_iconified | ( | wlmaker_iconified_t * | iconified_ptr | ) |
Conversion: Lookups up the scene node of the iconified's interactive.
iconified_ptr |
struct wlr_scene_node * wlmaker_wlr_scene_node_from_iconified_scene_buffer | ( | wlmaker_iconified_t * | iconified_ptr | ) |
Conversion: Gets the scene node from the scene buffer.
TODO(kaese.nosp@m.r@gu.nosp@m.bbe.c.nosp@m.h): Remove, once the dockapp prototype is cleaned up.
iconified_ptr |
const wlmaker_interactive_impl_t iconified_interactive_impl |
Handler implementation of the wlmaker_interactive_t for iconified.