SUMO - Simulation of Urban MObility
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
GUIGlChildWindow.h
Go to the documentation of this file.
1
/****************************************************************************/
9
//
10
/****************************************************************************/
11
// SUMO, Simulation of Urban MObility; see http://sumo.sourceforge.net/
12
// Copyright (C) 2001-2012 DLR (http://www.dlr.de/) and contributors
13
/****************************************************************************/
14
//
15
// This file is part of SUMO.
16
// SUMO is free software: you can redistribute it and/or modify
17
// it under the terms of the GNU General Public License as published by
18
// the Free Software Foundation, either version 3 of the License, or
19
// (at your option) any later version.
20
//
21
/****************************************************************************/
22
#ifndef GUIGlChildWindow_h
23
#define GUIGlChildWindow_h
24
25
26
27
// ===========================================================================
28
// included modules
29
// ===========================================================================
30
31
#ifdef _MSC_VER
32
#include <
windows_config.h
>
33
#else
34
#include <
config.h
>
35
#endif
36
37
#include <fx.h>
38
#include <fx3d.h>
39
40
#include "
GUISUMOAbstractView.h
"
41
42
43
// ===========================================================================
44
// class definitions
45
// ===========================================================================
49
class
GUIGlChildWindow
:
public
FXMDIChild
{
50
FXDECLARE(
GUIGlChildWindow
)
51
public
:
52
GUIGlChildWindow
(FXMDIClient* p,
GUIMainWindow
* parentWindow,
53
FXMDIMenu* mdimenu,
const
FXString& name,
54
FXIcon* ic = NULL, FXuint opts = 0, FXint x = 0, FXint y = 0, FXint w = 0, FXint h = 0);
55
56
virtual
~GUIGlChildWindow
();
57
58
virtual
FXGLCanvas
*
getBuildGLCanvas
()
const
;
59
virtual
void
create
();
60
61
GUISUMOAbstractView
*
getView
()
const
{
62
return
myView
;
63
}
64
65
long
onCmdRecenterView
(
FXObject
*, FXSelector,
void
*);
66
long
onCmdEditViewport
(
FXObject
*, FXSelector,
void
*);
67
long
onCmdEditViewScheme
(
FXObject
*, FXSelector,
void
*);
68
long
onCmdShowToolTips
(
FXObject
* sender, FXSelector,
void
*);
69
long
onCmdZoomStyle
(
FXObject
* sender, FXSelector,
void
*);
70
long
onCmdChangeColorScheme
(
FXObject
*, FXSelector sel,
void
*);
71
72
virtual
void
buildNavigationToolBar
();
73
virtual
void
buildColoringToolBar
();
74
virtual
void
buildScreenshotToolBar
();
75
76
77
FXToolBar&
getNavigationToolBar
(
GUISUMOAbstractView
& v);
78
FXPopup*
getLocatorPopup
();
79
FXComboBox&
getColoringSchemesCombo
();
80
84
void
setView
(
GUIGlID
id
);
85
86
90
GUIMainWindow
*
getParent
() {
91
return
myParent
;
92
}
93
94
96
virtual
bool
isSelected
(
GUIGlObject
* o)
const
;
97
98
99
protected
:
101
GUISUMOAbstractView
*
myView
;
102
104
FXToolBar*
myNavigationToolBar
;
105
107
FXPopup*
myLocatorPopup
;
108
FXMenuButton*
myLocatorButton
;
109
110
FXVerticalFrame*
myContentFrame
;
111
112
FXComboBox*
myColoringSchemes
;
113
115
GUIMainWindow
*
myParent
;
116
117
118
protected
:
119
GUIGlChildWindow
() { }
120
121
};
122
123
124
#endif
125
126
/****************************************************************************/
127
build
buildd
sumo-0.16.0~dfsg
src
utils
gui
windows
GUIGlChildWindow.h
Generated on Tue Apr 16 2013 01:32:16 for SUMO - Simulation of Urban MObility by
1.8.3.1