36#define PADDINGFRAME 10
37#define VERTICALSCROLLBARWIDTH 15
97 FXVerticalFrame::hide();
119 FXVerticalFrame::show();
128 FXVerticalFrame::hide();
143 for (
auto child =
myContentFrame->getFirst(); child !=
nullptr; child = child->getNext()) {
144 child->setWidth(contentWidth);
245const std::vector<std::string>&
254 FXLabel* label =
new FXLabel(parent,
TL(
"Scale: Min -> Max"),
nullptr,
GUIDesignLabelThick(JUSTIFY_NORMAL));
258 FXLabel* colorLabel =
new FXLabel(horizontalFrameColors,
"",
nullptr,
GUIDesignLabel(JUSTIFY_LEFT));
#define GUIDesignFrameAreaMargin
right margin for frame area
#define GUIDesignAuxiliarHorizontalFrameCenteredVertically
design for auxiliar (Without borders) horizontal frame used to pack another frames,...
#define GUIDesignAuxiliarHorizontalFrame
design for auxiliar (Without borders) horizontal frame used to pack another frames
#define GUIDesignLabel(justify)
#define GUIDesignAuxiliarFrameFixedWidth(width)
design for auxiliar (Without borders) frame with fixed width and extended height
#define GUIDesignLabelThick(justify)
label extended over frame with thick and with text justify to left
#define GUIDesignHorizontalSeparator
#define GUIDesignScrollWindowFixedWidth(customWidth)
design for scroll windows extended over Y and fix width
#define GUIDesignAuxiliarFrame
design for auxiliar (Without borders) frame extended in all directions
#define GUIDesignLabelFrameInformation
label extended over frame without thick and with text justify to left, used to show information in fr...
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
@ SUMO_ATTR_NOTHING
invalid attribute, must be the last one
FXHorizontalFrame * myHeaderRightFrame
fame for right header elements
int getScrollBarWidth() const
get scrollBar width (zero if is hidden)
virtual void attributeUpdated(SumoXMLAttr attribute)
function called after set a valid attribute in AttributeCreator/AttributeEditor/ParametersEditor/....
void setFrameWidth(const int newWidth)
set width of GNEFrame
void focusUpperElement()
focus upper element of frame
virtual void updateFrameAfterUndoRedo()
function called after undo/redo in the current frame (can be reimplemented in frame children)
static FXLabel * buildRainbow(FXComposite *parent)
build rainbow in frame modul
virtual void tagSelected()
Tag selected in GNETagSelector.
GNEViewNet * getViewNet() const
get view net
FXLabel * getFrameHeaderLabel() const
get the label for the frame's header
FXScrollWindow * myScrollWindowsContents
scroll windows that holds the content frame
virtual void demandElementSelected()
selected demand element in DemandElementSelector
GNEViewNet * myViewNet
FOX need this.
FXFont * getFrameHeaderFont() const
get font of the header's frame
FXVerticalFrame * myContentFrame
Vertical frame that holds all widgets of frame.
FXHorizontalFrame * myHeaderFrame
fame for header elements
virtual void show()
show Frame
virtual void hide()
hide Frame
GNEFrame(GNEViewParent *viewParent, GNEViewNet *viewNet, const std::string &frameLabel)
Constructor.
virtual void selectedOverlappedElement(GNEAttributeCarrier *AC)
open GNEAttributesCreator extended dialog
virtual void frameWidthUpdated()
function called after setting new width in current frame (can be reimplemented in frame children)
virtual bool shapeDrawed()
build a shaped element using the drawed shape
virtual bool createPath(const bool useLastRoute)
create path between two elements
void openHelpAttributesDialog(const GNEAttributeCarrier *AC) const
Open help attributes dialog.
std::vector< std::string > myPredefinedTagsMML
Map of attribute ids to their (readable) string-representation (needed for SUMOSAXAttributesImpl_Cach...
FXLabel * myFrameHeaderLabel
the label for the frame's header
static FXFont * myFrameHeaderFont
static Font for the Header (it's common for all headers, then create only one time)
const std::vector< std::string > & getPredefinedTagsMML() const
get predefinedTagsMML
FXVerticalFrame * getContentFrame() const
get vertical frame that holds all widgets of frame
FXHorizontalFrame * myHeaderLeftFrame
fame for left header elements
GNEViewParent * getViewParent() const
get the net object
A single child window which contains a view of the simulation area.
void hideFramesArea()
hide frames area if all GNEFrames are hidden
void showFramesArea()
show frames area if at least a GNEFrame is showed
GNEApplicationWindow * getGNEAppWindows() const
get GNE Application Windows
static FXColor getFXColor(const RGBColor &col)
converts FXColor to RGBColor
static SequentialStringBijection::Entry attrs[]
The names of SUMO-XML attributes (for passing to GenericSAXHandler)
static const std::vector< RGBColor > & getRainbowScaledColors()
get scaled rainbow colors