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
GUIDialog_GLChosenEditor.h
Go to the documentation of this file.
1
/****************************************************************************/
8
// Editor for the list of chosen objects
9
/****************************************************************************/
10
// SUMO, Simulation of Urban MObility; see http://sumo-sim.org/
11
// Copyright (C) 2001-2014 DLR (http://www.dlr.de/) and contributors
12
/****************************************************************************/
13
//
14
// This file is part of SUMO.
15
// SUMO is free software: you can redistribute it and/or modify
16
// it under the terms of the GNU General Public License as published by
17
// the Free Software Foundation, either version 3 of the License, or
18
// (at your option) any later version.
19
//
20
/****************************************************************************/
21
#ifndef GUIDialog_GLChosenEditor_h
22
#define GUIDialog_GLChosenEditor_h
23
24
25
// ===========================================================================
26
// included modules
27
// ===========================================================================
28
#ifdef _MSC_VER
29
#include <
windows_config.h
>
30
#else
31
#include <
config.h
>
32
#endif
33
34
#include <string>
35
#include <vector>
36
#include <fx.h>
37
38
#include <
utils/gui/div/GUISelectedStorage.h
>
39
#include <
utils/gui/windows/GUIMainWindow.h
>
40
41
// ===========================================================================
42
// class declarations
43
// ===========================================================================
44
class
GUIMainWindow
;
45
46
47
// ===========================================================================
48
// class definition
49
// ===========================================================================
57
class
GUIDialog_GLChosenEditor
:
public
FXMainWindow
,
public
GUISelectedStorage::UpdateTarget
{
58
// FOX-declarations
59
FXDECLARE(
GUIDialog_GLChosenEditor
)
60
61
public
:
69
GUIDialog_GLChosenEditor
(
GUIMainWindow
* parent,
70
GUISelectedStorage
* str);
71
72
77
~GUIDialog_GLChosenEditor
();
78
79
82
void
rebuildList
();
83
84
87
96
long
onCmdLoad
(
FXObject
*, FXSelector,
void
*);
97
98
108
long
onCmdSave
(
FXObject
*, FXSelector,
void
*);
109
115
long
onCmdDeselect
(
FXObject
*, FXSelector,
void
*);
116
122
long
onCmdClear
(
FXObject
*, FXSelector,
void
*);
123
124
129
long
onCmdClose
(
FXObject
*, FXSelector,
void
*);
131
132
133
// called if the global selection changes
134
void
selectionUpdated
();
135
136
private
:
138
FXList*
myList
;
139
141
GUIMainWindow
*
myParent
;
142
144
GUISelectedStorage
*
myStorage
;
145
146
protected
:
148
GUIDialog_GLChosenEditor
() { }
149
150
};
151
152
153
#endif
154
155
/****************************************************************************/
156
tmp
buildd
sumo-0.21.0+dfsg
src
utils
gui
div
GUIDialog_GLChosenEditor.h
Generated on Thu Nov 20 2014 19:49:53 for SUMO - Simulation of Urban MObility by
1.8.1.2