#include "../../../include/graphics.h"
#include "../../../include/signal.h"
|
int | util_gl_set_arrow (int stack_id, int arrows_nb, int space_X, int space_Y, int space_Z, int requested_weight, int site, int arrow_x, int arrow_y, int arrow_z) |
|
long | util_gl_get_stack (void *container_widget) |
|
long | util_gl_is_ready (void *container_widget) |
|
bool | util_gl_init_stack (void *container_widget, GError *error_buffer) |
|
bool | util_gl_shutdown_stack (void *container_widget, GError *error_buffer) |
|
void | util_gl_clean_stack_index (void) |
|
bool | util_gl_render_stack (GtkWidget *container_widget) |
|
bool | util_gl_update_axis (GtkWidget *container_widget, int axis, int value) |
|
void | util_gl_shutdown_all_stacks (void) |
|
GtkWidget * | create_axis_slider (int axis) |
|
bool | util_gl_setup_glarea (int target_mode, GtkWidget *target_widget) |
|
◆ GL_AREA_SIZE
phantom documentation used to test the functioning of doxygen
◆ create_axis_slider()
GtkWidget * create_axis_slider |
( |
int |
axis | ) |
|
Creates a slider widget
- Parameters
-
axis | the axis we're building a label for |
- Returns
- GtkWidget*: pointer to the new widget
◆ util_gl_clean_stack_index()
void util_gl_clean_stack_index |
( |
void |
| ) |
|
phantom documentation used to test the functioning of doxygen
◆ util_gl_get_stack()
long util_gl_get_stack |
( |
void * |
container_widget | ) |
|
Look for stack entry and returns stack_id
- Parameters
-
container_widget | generally the GtkBox that contains the GLArea |
- Returns
- stack_id
◆ util_gl_init_stack()
bool util_gl_init_stack |
( |
void * |
container_widget, |
|
|
GError * |
error_buffer |
|
) |
| |
Look for stack entry and initializes OpenGL for it
- Parameters
-
container_widget | generally the GtkBox that contains the GLArea |
error_buffer | phantom documentation used to test the functioning of doxygen |
- Returns
- bool: true if success
◆ util_gl_is_ready()
long util_gl_is_ready |
( |
void * |
container_widget | ) |
|
Look for stack entry and returns stack_id
- Parameters
-
container_widget | generally the GtkBox that contains the GLArea |
- Returns
- stack_id
◆ util_gl_render_stack()
bool util_gl_render_stack |
( |
GtkWidget * |
container_widget | ) |
|
Look for stack entry and triggers OpenGL for drawing
- Parameters
-
container_widget | generally the GtkBox that contains the GLArea |
- Returns
- bool: true if success
◆ util_gl_set_arrow()
int util_gl_set_arrow |
( |
int |
stack_id, |
|
|
int |
arrows_nb, |
|
|
int |
space_X, |
|
|
int |
space_Y, |
|
|
int |
space_Z, |
|
|
int |
requested_weight, |
|
|
int |
site, |
|
|
int |
arrow_x, |
|
|
int |
arrow_y, |
|
|
int |
arrow_z |
|
) |
| |
phantom documentation used to test the functioning of doxygen
◆ util_gl_setup_glarea()
bool util_gl_setup_glarea |
( |
int |
target_mode, |
|
|
GtkWidget * |
target_widget |
|
) |
| |
phantom documentation used to test the functioning of doxygen
◆ util_gl_shutdown_all_stacks()
void util_gl_shutdown_all_stacks |
( |
void |
| ) |
|
Look for every stack entry and shutdowns OpenGL for it
returns true if success ? TODO why not bool ?
◆ util_gl_shutdown_stack()
bool util_gl_shutdown_stack |
( |
void * |
container_widget, |
|
|
GError * |
error_buffer |
|
) |
| |
Look for stack entry and shutdowns OpenGL for it
- Parameters
-
container_widget | generally the GtkBox that contains the GLArea |
error_buffer | phantom documentation used to test the functioning of doxygen |
- Returns
- bool: true if success
◆ util_gl_update_axis()
bool util_gl_update_axis |
( |
GtkWidget * |
container_widget, |
|
|
int |
axis, |
|
|
int |
value |
|
) |
| |
Look for stack entry and triggers OpenGL for drawing
- Parameters
-
container_widget | generally the GtkBox that contains the GLArea |
axis | phantom documentation used to test the functioning of doxygen |
value | phantom documentation used to test the functioning of doxygen |
- Returns
- bool: true if success
◆ stack_index_size
size_t stack_index_size = 0 |
phantom documentation used to test the functioning of doxygen