#include "vgui_glut_adaptor.h"
#include "vgui_glut_window.h"
#include "vgui_glut_popup_impl.h"
#include "menu_hack.h"
#include <vcl_cassert.h>
#include <vcl_cstdlib.h>
#include <vcl_iostream.h>
#include <vcl_algorithm.h>
#include <vgui/vgui_glut.h>
#include <vgui/vgui_macro.h>
#include <vgui/vgui_popup_params.h>
#include <vgui/internals/vgui_overlay_helper.h>
#include <vcl_utility.h>
#include <vcl_list.h>
Go to the source code of this file.
Classes | |
struct | vgui_glut_adaptor_callback_data |
post timeout events. More... | |
Defines | |
#define | implement_static_callback(name, proto, args) |
Typedefs | |
typedef vcl_pair< void *, int > | pair_Pv_i |
typedef vcl_list< pair_Pv_i > | list_Pv_i |
Functions | |
void | vgui_glut_impl_quit () |
implement_static_callback (display,(),()) | |
implement_static_callback (overlay_display,(),()) | |
implement_static_callback (reshape,(int width, int height),(width, height)) | |
implement_static_callback (keyboard,(unsigned char key, int x, int y),(key, x, y)) | |
implement_static_callback (keyboard_up,(unsigned char key, int x, int y),(key, x, y)) | |
implement_static_callback (mouse,(int button, int state, int x, int y),(button, state, x, y)) | |
implement_static_callback (visibility,(int state),(state)) | |
implement_static_callback (motion,(int x, int y),(x, y)) | |
implement_static_callback (entry,(int state),(state)) | |
implement_static_callback (passive_motion,(int x, int y),(x, y)) | |
implement_static_callback (special,(int key, int x, int y),(key, x, y)) | |
implement_static_callback (special_up,(int key, int x, int y),(key, x, y)) | |
Variables | |
bool | vgui_emulate_overlays |
Definition in file vgui_glut_adaptor.cxx.
#define implement_static_callback | ( | name, | |
proto, | |||
args | |||
) |
void vgui_glut_adaptor::name##_callback proto \ { \ vgui_glut_adaptor *v=get_adaptor(glutGetWindow()); \ if (v) v->name args; \ else vcl_abort(); \ }
Definition at line 702 of file vgui_glut_adaptor.cxx.
Definition at line 653 of file vgui_glut_adaptor.cxx.
typedef vcl_pair<void*, int> pair_Pv_i |
Definition at line 652 of file vgui_glut_adaptor.cxx.
implement_static_callback | ( | display | , |
() | , | ||
() | |||
) |
implement_static_callback | ( | overlay_display | , |
() | , | ||
() | |||
) |
implement_static_callback | ( | reshape | , |
(int width, int height) | , | ||
(width, height) | |||
) |
implement_static_callback | ( | keyboard | , |
(unsigned char key, int x, int y) | , | ||
(key, x, y) | |||
) |
implement_static_callback | ( | keyboard_up | , |
(unsigned char key, int x, int y) | , | ||
(key, x, y) | |||
) |
implement_static_callback | ( | mouse | , |
(int button, int state, int x, int y) | , | ||
(button, state, x, y) | |||
) |
implement_static_callback | ( | visibility | , |
(int state) | , | ||
(state) | |||
) |
implement_static_callback | ( | motion | , |
(int x, int y) | , | ||
(x, y) | |||
) |
implement_static_callback | ( | entry | , |
(int state) | , | ||
(state) | |||
) |
implement_static_callback | ( | passive_motion | , |
(int x, int y) | , | ||
(x, y) | |||
) |
implement_static_callback | ( | special | , |
(int key, int x, int y) | , | ||
(key, x, y) | |||
) |
implement_static_callback | ( | special_up | , |
(int key, int x, int y) | , | ||
(key, x, y) | |||
) |
void vgui_glut_impl_quit | ( | ) |
Definition at line 218 of file vgui_glut_impl.cxx.