Ir al código fuente de este archivo.
Funciones | |
JED_GUI_CLASE_NULA (JED_TK_INTERFACE,"JED_TK_INTERFACE","TK/aux","tk, que viene incluida\n con las versiones de Mesa""anteriores a la 2.5","TK_ENABLED") | |
GLenum | tk_keyboard (int tecla, GLenum mask) |
Esta funcion es llamada automaticamente cada que el usuario oprime una tecla, y cambia los valores de las variables de estado en funcion de la tecla seleccionada. | |
GLenum | tk_mousedown (int x, int y, GLenum mask) |
GLenum | tk_mouseup (int x, int y, GLenum mask) |
GLenum | tk_mousemove (int x, int y, GLenum mask) |
void | tk_draw (void) |
Esta funcion es invocada automaticamente cuando es necesario redibujar la ventana grafica de OpenGL. | |
void | tk_idle (void) |
void | tk_idle_nulo (void) |
void | pintar_nulo (int) |
int | evento_nulo (EVENTO_GUI *, int) |
void | resize_nulo (int, int, int) |
void | tk_resize (int x, int y) |
Variables | |
BOOLEAN | MODO_rgb_activo |
BOOLEAN | RENDER_directo_a_hardware |
BOOLEAN | QUIERO_pintarme_tk = FALSE |
EVENTO_GUI | ESTADO_de_entradas_gui |
void(* | TKGUI_draw_callback )(int) |
int(* | TKGUI_tick_callback )(int) |
void(* | TKGUI_resize_callback )(int x_tam, int y_tam, int) |
int(* | TKGUI_keyboard_callback )(EVENTO_GUI *e, int) |
int(* | TKGUI_mouse_callback )(EVENTO_GUI *e, int) |
|
Definición en la línea 177 del archivo _tk.C. Referenciado por JED_TK_INTERFACE::JED_TK_INTERFACE(). |
|
|
|
Definición en la línea 176 del archivo _tk.C. Referenciado por JED_TK_INTERFACE::JED_TK_INTERFACE(). |
|
Definición en la línea 178 del archivo _tk.C. Referenciado por JED_TK_INTERFACE::JED_TK_INTERFACE(). |
|
Esta funcion es invocada automaticamente cuando es necesario redibujar la ventana grafica de OpenGL. Aqui se activan las propiedades OpenGL especificadas en las variables de estado del programa y se pinta un objeto. OJO: Dado que esta funcion no cambia de aplicacion a aplicacion, puede ser encapsulada en un modulo utilitario que integre a TK con la arquitectura portable del sistema, siempre y cuando en una funcion de inicializacion se especifiquen equivalentes a 'BUFFER_doble' y a la funcion 'EVNT_draw_callback'. Definición en la línea 138 del archivo _tk.C. References BUFFER_doble, y TKGUI_draw_callback. Referenciado por JED_TK_INTERFACE::ejecutar(), tk_idle(), y tk_idle_nulo(). |
|
Definición en la línea 158 del archivo _tk.C. References QUIERO_pintarme_tk, tk_draw(), y TKGUI_tick_callback. Referenciado por JED_TK_INTERFACE::ejecutar(). |
Here is the call graph for this function:
|
Definición en la línea 166 del archivo _tk.C. References QUIERO_pintarme_tk, y tk_draw(). Referenciado por JED_TK_INTERFACE::ejecutar(). |
Here is the call graph for this function:
|
Esta funcion es llamada automaticamente cada que el usuario oprime una tecla, y cambia los valores de las variables de estado en funcion de la tecla seleccionada. Notese que en la mascara va: 0 si solo llega la tecla TK_SHIFT si esta oprimido el SHIFT TK_CONTROL si esta otrinido el CTRL y TK_SHIFT + TK_CONTROL si estan los dos. TK no tiene en cuenta otras teclas como ALT o NUM_LOCK. Para ver las que tiene en cuenta mire a `gltk.h`. OJO: Dado que esta funcion no cambia de aplicacion a aplicacion, puede ser encapsulada en un modulo utilitario que integre a TK con la arquitectura portable del sistema, siempre y cuando en una funcion de inicializacion se especifique el EVENTO_GUI a utilizar. Definición en la línea 60 del archivo _tk.C. References ETYPE_KEY_DOWN, EVNT_EVENTO_GUI, EVENTO_GUI::key_mask, QUIERO_pintarme_tk, EVENTO_GUI::tipo_de_evento, TKGUI_keyboard_callback, y TKkeycode2JEDkeycode(). Referenciado por JED_TK_INTERFACE::ejecutar(). |
Here is the call graph for this function:
|
Definición en la línea 117 del archivo _tk.C. References ETYPE_BUTTON_DOWN, EVNT_EVENTO_GUI, y EVENTO_GUI::tipo_de_evento. Referenciado por JED_TK_INTERFACE::ejecutar(). |
|
Definición en la línea 131 del archivo _tk.C. References ETYPE_MOUSE_MOVE, EVNT_EVENTO_GUI, y EVENTO_GUI::tipo_de_evento. Referenciado por JED_TK_INTERFACE::ejecutar(). |
|
Definición en la línea 124 del archivo _tk.C. References ETYPE_BUTTON_UP, EVNT_EVENTO_GUI, y EVENTO_GUI::tipo_de_evento. Referenciado por JED_TK_INTERFACE::ejecutar(). |
|
Definición en la línea 181 del archivo _tk.C. References TKGUI_resize_callback. Referenciado por JED_TK_INTERFACE::ejecutar(). |
|
Definición en la línea 51 del archivo _tk.C. Referenciado por JED_TK_INTERFACE::ejecutar(). |
|
Definición en la línea 48 del archivo _tk.C. Referenciado por JED_TK_INTERFACE::crear(), y JED_TK_INTERFACE::JED_TK_INTERFACE(). |
|
Definición en la línea 50 del archivo _tk.C. Referenciado por tk_idle(), tk_idle_nulo(), y tk_keyboard(). |
|
Definición en la línea 49 del archivo _tk.C. Referenciado por JED_TK_INTERFACE::crear(), y JED_TK_INTERFACE::JED_TK_INTERFACE(). |
|
Definición en la línea 53 del archivo _tk.C. Referenciado por JED_TK_INTERFACE::JED_TK_INTERFACE(), JED_TK_INTERFACE::set_draw_callback(), y tk_draw(). |
|
Definición en la línea 56 del archivo _tk.C. Referenciado por JED_TK_INTERFACE::JED_TK_INTERFACE(), JED_TK_INTERFACE::set_keyboard_callback(), y tk_keyboard(). |
|
Definición en la línea 57 del archivo _tk.C. Referenciado por JED_TK_INTERFACE::JED_TK_INTERFACE(), y JED_TK_INTERFACE::set_mouse_callback(). |
|
Definición en la línea 55 del archivo _tk.C. Referenciado por JED_TK_INTERFACE::JED_TK_INTERFACE(), JED_TK_INTERFACE::set_resize_callback(), y tk_resize(). |
|
Definición en la línea 54 del archivo _tk.C. Referenciado por JED_TK_INTERFACE::ejecutar(), JED_TK_INTERFACE::JED_TK_INTERFACE(), JED_TK_INTERFACE::set_tick_callback(), y tk_idle(). |