OWLNext    7.0
Borland's Object Windows Library for the modern age
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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
20namespace 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.
30 public:
31 TModeGadget(int vkKey, LPCTSTR text, int id = 0,
32 TBorderStyle = Recessed, TAlign = Center,
33 TFont* font = 0);
34
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
TFont derived from TGdiObject provides constructors for creating font objects from explicit informati...
Definition gdiobjec.h:296
TBorderStyle
Gadget border styles.
Definition gadget.h:127
TModeGadget is a mode-tracking text gadget class.
Definition modegad.h:29
Derived from TGadget, TTextGadget is a text gadget object.
Definition textgadg.h:37
TAlign
Enumerates the text-alignment attributes.
Definition textgadg.h:42
Object Windows Library (OWLNext Core)
Definition animctrl.h:22
std::string tstring
Definition defs.h:79
#define _OWLCLASS
Definition defs.h:338
Definition of text gadget class TGadget.