|
Gama C Library
Gama C API Documentation
|
Defines the theme and functionality for a frame widget. More...
Go to the source code of this file.
Data Structures | |
| struct | gmwFrameTheme |
| Structure defining the visual theme for a frame widget. More... | |
Functions | |
| int | gmw_frame (double x, double y, double width, double height) |
| Creates and renders a frame widget (a bordered panel). | |
Variables | |
| gmwFrameTheme | gmwFrame |
| Global frame theme instance with default values. | |
Defines the theme and functionality for a frame widget.
This file provides structures for customizing the appearance of frames (panels) and a function to render them. Frames are typically used as containers for other UI elements or for displaying information.
| int gmw_frame | ( | double | x, |
| double | y, | ||
| double | width, | ||
| double | height ) |
Creates and renders a frame widget (a bordered panel).
This function draws a rectangular frame at the specified coordinates, applying styling based on the global gmwFrame theme and its state (hovered/focused or normal).
| x | The x-coordinate of the frame's center. |
| y | The y-coordinate of the frame's center. |
| width | The width of the frame. |
| height | The height of the frame. |
| gmwFrameTheme gmwFrame |
Global frame theme instance with default values.