|
Last change
on this file was
8309,
checked in by westram, 14 years ago
|
- moved much code into static scope
(partly reverted by [8310])
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
|
File size:
1.2 KB
|
| Line | |
|---|
| 1 | // ================================================================ // |
|---|
| 2 | // // |
|---|
| 3 | // File : RNA3D_Interface.hxx // |
|---|
| 4 | // Purpose : // |
|---|
| 5 | // // |
|---|
| 6 | // Institute of Microbiology (Technical University Munich) // |
|---|
| 7 | // http://www.arb-home.de/ // |
|---|
| 8 | // // |
|---|
| 9 | // ================================================================ // |
|---|
| 10 | |
|---|
| 11 | #ifndef RNA3D_INTERFACE_HXX |
|---|
| 12 | #define RNA3D_INTERFACE_HXX |
|---|
| 13 | |
|---|
| 14 | #define WINDOW_WIDTH 950 |
|---|
| 15 | #define WINDOW_HEIGHT 650 |
|---|
| 16 | |
|---|
| 17 | #define ZOOM_FACTOR 0.0005f // scaling factor in z-axis (ZOOM) |
|---|
| 18 | |
|---|
| 19 | enum { |
|---|
| 20 | LEFT_BUTTON = 1, |
|---|
| 21 | MIDDLE_BUTTON, |
|---|
| 22 | RIGHT_BUTTON, |
|---|
| 23 | WHEEL_UP, |
|---|
| 24 | WHEEL_DOWN |
|---|
| 25 | }; |
|---|
| 26 | |
|---|
| 27 | void KeyBoardEventHandler(Widget w, XtPointer client_data, XEvent *event, char* x); |
|---|
| 28 | void RefreshOpenGLDisplay(); |
|---|
| 29 | |
|---|
| 30 | class AW_root; |
|---|
| 31 | class AW_window; |
|---|
| 32 | class GBDATA; |
|---|
| 33 | struct ED4_plugin_host; |
|---|
| 34 | |
|---|
| 35 | AW_window *CreateRNA3DMainWindow(AW_root *awr, GBDATA *gb_main, ED4_plugin_host& host); |
|---|
| 36 | |
|---|
| 37 | #else |
|---|
| 38 | #error RNA3D_Interface.hxx included twice |
|---|
| 39 | #endif // RNA3D_INTERFACE_HXX |
|---|
Note: See
TracBrowser
for help on using the repository browser.