|
void | constructor (float x, int xu, float y, int yu, float w, int wu, float h, int hu, int ha, int va, char *imagePath) |
| Constructor for the image frame class.
|
|
void | load (FILE *file) |
| Loads data from a file.
|
|
void | set_image (char *path) |
| Sets the image for the frame.
|
|
void | render (mat4 modelMatrix, Shader activeShader, WorldShaders *shaders) |
| Renders the image frame using the provided model matrix and shader.
|
|
void | save (FILE *file, Node *editor) |
| Saves the current state of the editor to a file.
|
|
void | free () |
| Frees the resources allocated for the image frame.
|
|
void | constructor (float x, int xu, float y, int yu, float w, int wu, float h, int hu, int ha, int va, int scroll, Theme *theme) |
| Constructor for initializing a frame object with specified parameters.
|
|
void | handle_dimension_unit (float *src, float *dest, int vertical, double size, int unit, double containerWidth, double containerHeight) |
| Handles the conversion of dimension units for a given source and destination.
|
|
void | init_frame () |
| Initializes the frame.
|
|
void | load (FILE *file) |
| Loads data from a file.
|
|
void | refresh () |
| Refreshes the frame.
|
|
void | refreshContent () |
| Refreshes the content of the frame.
|
|
void | update () |
| Updates the state of the frame.
|
|
void | on_resize () |
| Handles the resize event for the frame.
|
|
void | draw_frame () |
| Draws a frame.
|
|
void | render (mat4 modelMatrix, Shader activeShader, WorldShaders *shaders) |
| Renders a frame using the provided model matrix and shader.
|
|
void | save (FILE *file, Node *editor) |
| Saves the current state of the editor node to a file.
|
|
void | get_vao (VAO *vao) |
| Retrieves the Vertex Array Object (VAO).
|
|
void | is_gui_element (bool *result) |
| Determines if the current object is a GUI element.
|
|
void | is_button (bool *result) |
| Determines if a button is pressed.
|
|
void | is_input_area (bool *result) |
| Checks if the current area is an input area.
|
|
void | is_selectlist (bool *result) |
| Checks if the current item is in the selection list.
|
|
void | is_checkbox (bool *result) |
| Checks if a condition is a checkbox.
|
|
bool | is_radiobutton () |
| Checks if the current frame is a radio button.
|
|
void | free () |
| Frees the resources allocated for the frame.
|
|
void | constructor () |
| Constructor for the Node class.
|
|
void | initialize_node () |
| Initializes a node.
|
|
void | get_glow_shader (Shader *shader) |
| Retrieves the glow shader.
|
|
void | get_settings_data (void ***ptr, int *length) |
| Retrieves settings data.
|
|
void | load () |
| Loads the necessary resources or data for the node.
|
|
void | save (FILE *file) |
| Saves the current state to the specified file.
|
|
void | prepare_render (mat4 modelMatrix, Shader activeShader) |
| Renders a node using the specified model matrix and shader.
|
|
void | render () |
| Renders the node.
|
|
void | update_global_position (vec3 pos, vec3 rot, vec3 scale) |
| Updates the global position of a node.
|
|
void | update (vec3 pos, vec3 rot, vec3 scale) |
| Updates the position, rotation, and scale of a node.
|
|
void | on_resize () |
| Handles the resize event for the node.
|
|
void | free () |
| Frees the resources allocated by the object.
|
|
void | is_cshape (bool *cshape) |
| Checks if the current shape is a custom shape.
|
|
void | is_body (bool *body) |
| Sets the body status of the node.
|
|
void | is_area (bool *area) |
| Checks if the current node is within a specified area.
|
|
void | is_render_target (bool *render_target) |
| Sets the render target status.
|
|
void | is_gui_element (bool *result) |
| Determines if the current node is a GUI element.
|
|
void | add_child (Node *child) |
| Adds a child node to a parent node.
|
|
void | add_child_and_realloc (Node *child) |
| Adds a child node to a parent node and reallocates memory if necessary.
|
|
void | remove_child (Node *child) |
| Removes a child node from a parent node.
|
|
void | remove_child_and_realloc (Node *child) |
| Removes a child node from a parent node and reallocates memory if necessary.
|
|
void | remove_child_and_free (Node *child) |
| Removes a child node from a parent node and frees the memory of the child node.
|
|
void | remove_child_and_free_and_realloc (Node *child) |
| Removes a child node from a parent node, frees the memory of the child node, and reallocates memory if necessary.
|
|
int | index_of_child (Node *child) |
| Retrieves the index of a child node in a parent node's children array.
|
|
void | print (int level) |
| Prints the details of a node at a specified level of indentation.
|
|
void | emit_ready (...) |
| Emits the 'ready' signal for the node.
|
|
void | emit_update (...) |
| Emits an update event for the node.
|
|
void | emit_signal (...) |
| Emits a signal if the node has a script and the script has a signal handler.
|
|
Represents an image frame.
This structure holds the path to an image file.