SCV
4.2.1
Simple Components for Visual
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
StaticLabel.h
Go to the documentation of this file.
1
7
#ifndef __SCV_STATIC_LABEL_H__
8
#define __SCV_STATIC_LABEL_H__
9
10
#include "
FontTahoma.h
"
11
#include "
Color4f.h
"
12
#include "
ColorScheme.h
"
13
14
namespace
scv {
15
16
namespace
StaticLabel {
17
18
void
display
(
int
x,
int
y,
const
std::string &label,
19
const
Color4f
&color =
ColorScheme::getInstance
()->getColor(
ColorScheme::FONT
));
20
21
void
display
(
const
Point
&translate,
const
std::string &label,
22
const
Color4f
&color =
ColorScheme::getInstance
()->getColor(
ColorScheme::FONT
));
23
24
void
display
(
int
x,
int
y,
const
std::string &label,
int
selectStart,
int
selectEnd,
25
const
Color4f
&textColor =
ColorScheme::getInstance
()->getColor(
ColorScheme::FONT
),
26
const
Color4f
&selectedTextColor =
ColorScheme::getInstance
()->getColor(
ColorScheme::TEXTSELECTED
),
27
const
Color4f
&selectionColor =
ColorScheme::getInstance
()->getColor(
ColorScheme::TEXTSELECTION
));
28
29
void
display
(
const
Point
&translate,
const
std::string &label,
int
selectStart,
int
selectEnd,
30
const
Color4f
&textColor =
ColorScheme::getInstance
()->getColor(
ColorScheme::FONT
),
31
const
Color4f
&selectedTextColor =
ColorScheme::getInstance
()->getColor(
ColorScheme::TEXTSELECTED
),
32
const
Color4f
&selectionColor =
ColorScheme::getInstance
()->getColor(
ColorScheme::TEXTSELECTION
));
33
34
}
// namespace StaticLabel
35
36
}
//namespace scv
37
38
#endif //__SCV_STATIC_LABEL_H__
include
SCV
StaticLabel.h
Generated on Fri Dec 14 2012 09:44:49 for SCV by
1.8.2