GFXprim
2D bitmap graphics library with emphasis on speed and correctness
Loading...
Searching...
No Matches
include
widgets
gp_widget_overlay.h
Go to the documentation of this file.
1
//SPDX-License-Identifier: LGPL-2.0-or-later
2
/*
3
4
Copyright (c) 2014-2024 Cyril Hrubis <metan@ucw.cz>
5
6
*/
7
16
#ifndef GP_WIDGET_OVERLAY_H
17
#define GP_WIDGET_OVERLAY_H
18
26
gp_widget
*
gp_widget_overlay_new
(
unsigned
int
stack_size);
27
34
void
gp_widget_overlay_hide
(
gp_widget
*self,
unsigned
int
stack_pos);
35
42
void
gp_widget_overlay_show
(
gp_widget
*self,
unsigned
int
stack_pos);
43
50
unsigned
int
gp_widget_overlay_stack_size
(
gp_widget
*self);
51
61
int
gp_widget_overlay_stack_pos_by_child
(
gp_widget
*self,
gp_widget
*child,
62
unsigned
int
*stack_pos);
63
74
gp_widget
*
gp_widget_overlay_put
(
gp_widget
*self,
unsigned
int
stack_pos,
75
gp_widget
*child);
76
77
#endif
/* GP_WIDGET_OVERLAY_H */
gp_widget_overlay_new
gp_widget * gp_widget_overlay_new(unsigned int stack_size)
Allocates new overlay widget.
gp_widget_overlay_put
gp_widget * gp_widget_overlay_put(gp_widget *self, unsigned int stack_pos, gp_widget *child)
Puts a widget on stack_pos into an overlay.
gp_widget_overlay_hide
void gp_widget_overlay_hide(gp_widget *self, unsigned int stack_pos)
Hides a widget in overlay stack.
gp_widget_overlay_stack_size
unsigned int gp_widget_overlay_stack_size(gp_widget *self)
Returns the widget overlay stack size.
gp_widget_overlay_show
void gp_widget_overlay_show(gp_widget *self, unsigned int stack_pos)
Shows a widget in overlay stack.
gp_widget_overlay_stack_pos_by_child
int gp_widget_overlay_stack_pos_by_child(gp_widget *self, gp_widget *child, unsigned int *stack_pos)
Returns widget overlay stack position by child widget pointer.
gp_widget
A widget base.
Definition
gp_widget.h:28
Generated by
1.9.8