SUMO - Simulation of Urban MObility
FXLinkLabel.h
Go to the documentation of this file.
1
/****************************************************************************/
8
//
9
/****************************************************************************/
10
// SUMO, Simulation of Urban MObility; see http://sumo.dlr.de/
11
// Copyright (C) 2006-2017 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
22
#ifndef FXLinkLabel_h
23
#define FXLinkLabel_h
24
25
26
// ===========================================================================
27
// included modules
28
// ===========================================================================
29
#ifdef _MSC_VER
30
#include <
windows_config.h
>
31
#else
32
#include <
config.h
>
33
#endif
34
35
#include <fx.h>
36
41
class
FXLinkLabel
:
public
FXLabel {
42
protected
:
43
// FOX stuff
44
FXDECLARE(
FXLinkLabel
)
45
FXLinkLabel
() {}
46
public
:
48
FXLinkLabel
(FXComposite* p,
const
FXString& text, FXIcon* ic = 0, FXuint opts = LABEL_NORMAL, FXint x = 0, FXint y = 0, FXint w = 0, FXint h = 0, FXint pl = DEFAULT_PAD, FXint pr = DEFAULT_PAD, FXint pt = DEFAULT_PAD, FXint pb = DEFAULT_PAD);
49
51
virtual
~FXLinkLabel
();
52
53
// FOX enum
54
enum
{
55
ID_FIRST
= FXLabel::ID_LAST,
56
ID_TIMER
,
57
58
ID_LAST
59
};
60
61
// FOX messages
62
long
onLeftBtnPress
(FXObject*, FXSelector,
void
*);
63
long
onTimer
(FXObject*, FXSelector,
void
*);
64
65
// open the given link in a browser or pdf viewer
66
static
FXint
fxexecute
(FXString link);
67
};
68
69
70
71
72
#endif
windows_config.h
FXLinkLabel::~FXLinkLabel
virtual ~FXLinkLabel()
Destructor.
Definition:
FXLinkLabel.cpp:92
FXLinkLabel::onTimer
long onTimer(FXObject *, FXSelector, void *)
Definition:
FXLinkLabel.cpp:110
config.h
FXLinkLabel::fxexecute
static FXint fxexecute(FXString link)
Definition:
FXLinkLabel.cpp:42
FXLinkLabel::ID_TIMER
Definition:
FXLinkLabel.h:56
FXLinkLabel::onLeftBtnPress
long onLeftBtnPress(FXObject *, FXSelector, void *)
Definition:
FXLinkLabel.cpp:96
FXLinkLabel
Definition:
FXLinkLabel.h:41
FXLinkLabel::ID_FIRST
Definition:
FXLinkLabel.h:55
FXLinkLabel::FXLinkLabel
FXLinkLabel()
Definition:
FXLinkLabel.h:45
FXLinkLabel::ID_LAST
Definition:
FXLinkLabel.h:58
src
utils
foxtools
FXLinkLabel.h
Generated on Fri Nov 3 2017 20:31:28 for SUMO - Simulation of Urban MObility by
1.8.13