OWLNext
7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
modegad.h
Go to the documentation of this file.
1
//----------------------------------------------------------------------------
2
// ObjectWindows
3
// Copyright (c) 1995, 1996 by Borland International, All Rights Reserved
4
//
5
/// \file
6
/// Definition of mode-tracking text gadget class TModeGadget.
7
//----------------------------------------------------------------------------
8
9
#if !defined(OWL_MODEGAD_H)
10
#define OWL_MODEGAD_H
11
12
#include <
owl/private/defs.h
>
13
#if defined(BI_HAS_PRAGMA_ONCE)
14
# pragma once
15
#endif
16
17
#include <
owl/textgadg.h
>
18
19
20
namespace
owl
{
21
22
#include <
owl/preclass.h
>
23
24
/// \addtogroup gadgets
25
/// @{
26
/// \class TModeGadget
27
// ~~~~~ ~~~~~~~~~~~
28
/// TModeGadget is a mode-tracking text gadget class.
29
class
_OWLCLASS
TModeGadget
:
public
TTextGadget
{
30
public
:
31
TModeGadget
(
int
vkKey
,
LPCTSTR
text
,
int
id
= 0,
32
TBorderStyle
= Recessed,
TAlign
= Center,
33
TFont
*
font
= 0);
34
35
TModeGadget
(
36
int
vkKey
,
37
const
tstring
&
text
,
38
int
id
= 0,
39
TBorderStyle
= Recessed,
40
TAlign
= Center,
41
TFont
*
font
= 0);
42
43
// Override from TGadget
44
//
45
bool
IdleAction(
long
count);
46
47
private
:
48
int
VkKey;
49
};
50
/// @}
51
52
#include <
owl/posclass.h
>
53
54
55
}
// OWL namespace
56
57
58
#endif
// OWL_MODEGAD_H
VarType
Definition
safearray.h:14
owl::TFont
TFont derived from TGdiObject provides constructors for creating font objects from explicit informati...
Definition
gdiobjec.h:296
owl::TGadget::TBorderStyle
TBorderStyle
Gadget border styles.
Definition
gadget.h:127
owl::TModeGadget
TModeGadget is a mode-tracking text gadget class.
Definition
modegad.h:29
owl::TTextGadget
Derived from TGadget, TTextGadget is a text gadget object.
Definition
textgadg.h:37
owl::TTextGadget::TAlign
TAlign
Enumerates the text-alignment attributes.
Definition
textgadg.h:42
owl
Object Windows Library (OWLNext Core)
Definition
animctrl.h:22
owl::tstring
std::string tstring
Definition
defs.h:79
defs.h
_OWLCLASS
#define _OWLCLASS
Definition
defs.h:338
posclass.h
preclass.h
textgadg.h
Definition of text gadget class TGadget.
include
owl
modegad.h
Generated by
1.10.0