Ir al código fuente de este archivo.
Funciones | |
void | motif_starttimer_callback (Widget w) |
void | motif_tick_callback (XtPointer client_data, XtIntervalId *) |
void | motif_draw_specific (Widget, XtPointer ptr) |
Esta es la funcion callback que se asocia al widget particular `w`. | |
void | motif_resize (Widget w, XtPointer data, XtPointer) |
void | motif_button (Widget, XtPointer client_data, XEvent *e, Boolean *) |
Si el evento es el click del tercer boton de mouse, se espera que en `client_data` se referencie un menu POPUP previamente creado y lo que se hace aqui es mostrarlo sobre el contexto actual. | |
void | motif_ejecutor (Widget, XtPointer elemento, XtPointer) |
Esta funcion es la que se asocia a todos los objetos de interface MOTIF cuya activacion implica la ejecucion de un COMANDO. | |
void | motif_gl_input (Widget w, XEvent *event, String *, unsigned int *) |
Esta funcion convierte todos los eventos de entrada de una vista de visualizacion 3D en AQUYNZA para ser procesados en el nucleo de manipulacion directa independiente de interfase. | |
Variables | |
void(* | MOTIFGUI_draw_callback )(int) |
int(* | MOTIFGUI_tick_callback )(int) |
void(* | MOTIFGUI_resize_callback )(int x_tam, int y_tam, int context_id) |
int(* | MOTIFGUI_mouse_callback )(EVENTO_GUI *e, int context_id)=NULL |
int(* | MOTIFGUI_keyboard_callback )(EVENTO_GUI *e, int context_id) |
int(* | MOTIFGUI_ejecutor )(int idc, int context_id) |
void(* | MOTIFGUI_multiview_callback )(int operacion, int id_vista, char *detalles, char *menu, char *botonera) |
int | QUIERO_pintarme_motif = 0 |
VENTANA_GUI_MOTIF | LA_ventana |
GLXContext | glx_context |
OJO: Tiene sentido que MOTIF funcione en AQUYNZA sin tener OpenGL? | |
BOOLEAN | SUICIDIO_del_logo |
Esta variable se creo para sincronizar la desaparicion de un logo Motif que se despliega al principio de la aplicacion. | |
Widget | gl_draw |
Widget | toplevel |
int | CONTEXTO_pintado = -1 |
int | CONTEXTO_seleccionado = -1 |
int | CONTEXTO_anterior = -1 |
unsigned long | ESPERA_entre_cuadros = 1000/24 |
La variable `ESPERA_entre_cuadros` indica un intervalo de tiempo en milisegundos en el cual motif desactiva el llamado del callback tick. |
|
Si el evento es el click del tercer boton de mouse, se espera que en `client_data` se referencie un menu POPUP previamente creado y lo que se hace aqui es mostrarlo sobre el contexto actual.
Definición en la línea 380 del archivo _motifcb.C. Referenciado por JED_MOTIF_INTERFACE::iniciar_contexto(). |
|
Esta es la funcion callback que se asocia al widget particular `w`. Se usa cuando es necesario un pintado sobre solo una vista, y es ocasionado por un evento que no proviene de AQUYNZA (i.e. un "expose"). Definición en la línea 354 del archivo _motifcb.C. References CONTEXTO_GLX::activar(), y CONTEXTO_GLX::pintar(). Referenciado por JED_MOTIF_INTERFACE::iniciar_contexto(). |
Here is the call graph for this function:
|
Esta funcion es la que se asocia a todos los objetos de interface MOTIF cuya activacion implica la ejecucion de un COMANDO. Recibe como elemento un apuntador a entero, que es el identificador de COMANDO. Definición en la línea 397 del archivo _motifcb.C. References VENTANA_GUI_MOTIF::activacion(), CONTEXTO_anterior, LA_ventana, MOTIFGUI_ejecutor, y QUIERO_pintarme_motif. Referenciado por OPCION::crear_motif(), y GUI_SUB_BOTONERA::crear_motif(). |
Here is the call graph for this function:
|
Esta funcion convierte todos los eventos de entrada de una vista de visualizacion 3D en AQUYNZA para ser procesados en el nucleo de manipulacion directa independiente de interfase.
Definición en la línea 416 del archivo _motifcb.C. References VENTANA_GUI_MOTIF::activacion(), VENTANA_GUI_MOTIF::busque_id(), CONTEXTO_anterior, CONTEXTO_seleccionado, ETYPE_BUTTON_DOWN, ETYPE_BUTTON_UP, ETYPE_KEY_DOWN, ETYPE_KEY_UP, ETYPE_MOUSE_MOVE, glx_context, LA_ventana, MOTIFGUI_keyboard_callback, EVENTO_GUI::mouse_button_mask, QUIERO_pintarme_motif, EVENTO_GUI::tipo_de_evento, toplevel, y Xkeycode2JEDkeycode(). Referenciado por JED_MOTIF_INTERFACE::crear(). |
Here is the call graph for this function:
|
Definición en la línea 368 del archivo _motifcb.C. References CONTEXTO_GLX::resize(). Referenciado por JED_MOTIF_INTERFACE::iniciar_contexto(). |
Here is the call graph for this function:
|
Definición en la línea 318 del archivo _motifcb.C. References ESPERA_entre_cuadros, y motif_tick_callback(). Referenciado por arranque_GLX(), y motif_tick_callback(). |
Here is the call graph for this function:
|
Definición en la línea 328 del archivo _motifcb.C. References LA_ventana, VENTANA_GUI_MOTIF::lista_contextos, motif_starttimer_callback(), MOTIFGUI_tick_callback, VENTANA_GUI_MOTIF::pintar(), QUIERO_pintarme_motif, y LISTA< CONTEXTO_GLX * >::tam(). Referenciado por motif_starttimer_callback(). |
Here is the call graph for this function:
|
Definición en la línea 78 del archivo _motifcb.C. Referenciado por motif_ejecutor(), y motif_gl_input(). |
|
Definición en la línea 76 del archivo _motifcb.C. Referenciado por CONTEXTO_GLX::pintar(), y CONTEXTO_GLX::resize(). |
|
Definición en la línea 77 del archivo _motifcb.C. Referenciado por motif_gl_input(). |
|
La variable `ESPERA_entre_cuadros` indica un intervalo de tiempo en milisegundos en el cual motif desactiva el llamado del callback tick. Si esta espera no se ejecutara, todo el tiempo la GUI pasaria pintado cuadros OpenGL, y no quedaria tiempo para procesar eventos Motif. Esto no es un esquema optimo de sincronizacion temporal... pero esta funcionando. Por ahora se usa un intervalo que resulta en una visualizacion de animacion de 24 cuadros por segundo. Definición en la línea 89 del archivo _motifcb.C. Referenciado por motif_starttimer_callback(). |
|
Definición en la línea 73 del archivo _motifcb.C. Referenciado por CONTEXTO_GLX::CONTEXTO_GLX(), y CONTEXTO_GLX::pintar(). |
|
OJO: Tiene sentido que MOTIF funcione en AQUYNZA sin tener OpenGL?
Definición en la línea 69 del archivo _motifcb.C. Referenciado por arranque_GLX(), motif_gl_input(), y CONTEXTO_GLX::pintar(). |
|
Definición en la línea 66 del archivo _motifcb.C. Referenciado por JED_MOTIF_INTERFACE::crear_area_gl(), JED_MOTIF_INTERFACE::init_extra(), motif_ejecutor(), motif_gl_input(), motif_paneV_resize(), y motif_tick_callback(). |
|
Definición en la línea 54 del archivo _motifcb.C. Referenciado por JED_MOTIF_INTERFACE::JED_MOTIF_INTERFACE(), CONTEXTO_GLX::pintar(), y JED_MOTIF_INTERFACE::set_draw_callback(). |
|
Definición en la línea 59 del archivo _motifcb.C. Referenciado por JED_MOTIF_INTERFACE::JED_MOTIF_INTERFACE(), motif_ejecutor(), y JED_MOTIF_INTERFACE::set_ejecutor(). |
|
Definición en la línea 58 del archivo _motifcb.C. Referenciado por motif_gl_input(), y JED_MOTIF_INTERFACE::set_keyboard_callback(). |
|
Definición en la línea 57 del archivo _motifcb.C. Referenciado por JED_MOTIF_INTERFACE::set_mouse_callback(). |
|
Definición en la línea 61 del archivo _motifcb.C. Referenciado por JED_MOTIF_INTERFACE::iniciar_contexto(), JED_MOTIF_INTERFACE::JED_MOTIF_INTERFACE(), y JED_MOTIF_INTERFACE::set_multiview_callback(). |
|
Definición en la línea 56 del archivo _motifcb.C. Referenciado por JED_MOTIF_INTERFACE::ejecutar(), JED_MOTIF_INTERFACE::JED_MOTIF_INTERFACE(), CONTEXTO_GLX::pintar(), y JED_MOTIF_INTERFACE::set_resize_callback(). |
|
Definición en la línea 55 del archivo _motifcb.C. Referenciado por JED_MOTIF_INTERFACE::JED_MOTIF_INTERFACE(), motif_tick_callback(), y JED_MOTIF_INTERFACE::set_tick_callback(). |
|
Definición en la línea 65 del archivo _motifcb.C. Referenciado por motif_ejecutor(), motif_gl_input(), y motif_tick_callback(). |
|
Esta variable se creo para sincronizar la desaparicion de un logo Motif que se despliega al principio de la aplicacion. Actualmente este logo esta desactivado. Definición en la línea 72 del archivo _motifcb.C. |
|
Definición en la línea 74 del archivo _motifcb.C. Referenciado por arranque_GLX(), JED_MOTIF_INTERFACE::crear(), JED_MOTIF_INTERFACE::desktop_size(), JED_MOTIF_INTERFACE::finalizar(), JED_MOTIF_INTERFACE::init_extra(), y motif_gl_input(). |