Go to the source code of this file.
Compounds | |
class | TCommandSet |
Implements a non-view class for handling command sets. More... | |
class | TFrame |
The frame around the windows. More... | |
class | TGroup |
TGroup objects and their derivatives provide the central driving power to TVision. More... | |
class | TListViewer |
An abstract class from which you can derive list viewers of various kinds, such as TListBox. More... | |
class | TPalette |
Simple class used to create and manipulate palette arrays. More... | |
class | TScrollBar |
Implements a scroll bar. | |
class | TScroller |
Provides a scrolling virtual window onto a larger view. More... | |
class | TView |
The base of all visible objects. More... | |
class | TWindow |
Implements a window. More... | |
class | TWindowInit |
Virtual base class for TWindow. More... | |
Typedefs | |
typedef char | TScrollChars [5] |
Functions | |
int | operator!= (const TCommandSet &tc1, const TCommandSet &tc2) |
ipstream& | operator>> (ipstream &is, TView &cl) |
ipstream& | operator>> (ipstream &is, TView *&cl) |
opstream& | operator<< (opstream &os, TView &cl) |
opstream& | operator<< (opstream &os, TView *cl) |
ipstream& | operator>> (ipstream &is, TFrame &cl) |
ipstream& | operator>> (ipstream &is, TFrame *&cl) |
opstream& | operator<< (opstream &os, TFrame &cl) |
opstream& | operator<< (opstream &os, TFrame *cl) |
ipstream& | operator>> (ipstream &is, TScrollBar &cl) |
ipstream& | operator>> (ipstream &is, TScrollBar *&cl) |
opstream& | operator<< (opstream &os, TScrollBar &cl) |
opstream& | operator<< (opstream &os, TScrollBar *cl) |
ipstream& | operator>> (ipstream &is, TScroller &cl) |
ipstream& | operator>> (ipstream &is, TScroller *&cl) |
opstream& | operator<< (opstream &os, TScroller &cl) |
opstream& | operator<< (opstream &os, TScroller *cl) |
ipstream& | operator>> (ipstream &is, TListViewer &cl) |
ipstream& | operator>> (ipstream &is, TListViewer *&cl) |
opstream& | operator<< (opstream &os, TListViewer &cl) |
opstream& | operator<< (opstream &os, TListViewer *cl) |
ipstream& | operator>> (ipstream &is, TGroup &cl) |
ipstream& | operator>> (ipstream &is, TGroup *&cl) |
opstream& | operator<< (opstream &os, TGroup &cl) |
opstream& | operator<< (opstream &os, TGroup *cl) |
ipstream& | operator>> (ipstream &is, TWindow &cl) |
ipstream& | operator>> (ipstream &is, TWindow *&cl) |
opstream& | operator<< (opstream &os, TWindow &cl) |
opstream& | operator<< (opstream &os, TWindow *cl) |
Variables | |
const ushort | cmValid = 0 |
const ushort | cmQuit = 1 |
const ushort | cmError = 2 |
const ushort | cmMenu = 3 |
const ushort | cmClose = 4 |
const ushort | cmZoom = 5 |
const ushort | cmResize = 6 |
const ushort | cmNext = 7 |
const ushort | cmPrev = 8 |
const ushort | cmHelp = 9 |
const ushort | cmOK = 10 |
const ushort | cmCancel = 11 |
const ushort | cmYes = 12 |
const ushort | cmNo = 13 |
const ushort | cmDefault = 14 |
const ushort | cmNew = 30 |
const ushort | cmOpen = 31 |
const ushort | cmSave = 32 |
const ushort | cmSaveAs = 33 |
const ushort | cmSaveAll = 34 |
const ushort | cmChDir = 35 |
const ushort | cmDosShell = 36 |
const ushort | cmCloseAll = 37 |
const ushort | cmSysRepaint = 38 |
const ushort | cmSysResize = 39 |
const ushort | cmSysWakeup = 40 |
sfVisible = 0x001 | |
sfCursorVis = 0x002 | |
sfCursorIns = 0x004 | |
sfShadow = 0x008 | |
sfActive = 0x010 | |
sfSelected = 0x020 | |
sfFocused = 0x040 | |
sfDragging = 0x080 | |
sfDisabled = 0x100 | |
sfModal = 0x200 | |
sfDefault = 0x400 | |
sfExposed = 0x800 | |
ofSelectable = 0x001 | |
ofTopSelect = 0x002 | |
ofFirstClick = 0x004 | |
ofFramed = 0x008 | |
ofPreProcess = 0x010 | |
ofPostProcess = 0x020 | |
ofBuffered = 0x040 | |
ofTileable = 0x080 | |
ofCenterX = 0x100 | |
ofCenterY = 0x200 | |
ofCentered = 0x300 | |
ofValidate = 0x400 | |
gfGrowLoX = 0x01 | |
gfGrowLoY = 0x02 | |
gfGrowHiX = 0x04 | |
gfGrowHiY = 0x08 | |
gfGrowAll = 0x0f | |
gfGrowRel = 0x10 | |
gfFixed = 0x20 | |
dmDragMove = 0x01 | |
dmDragGrow = 0x02 | |
dmLimitLoX = 0x10 | |
dmLimitLoY = 0x20 | |
dmLimitHiX = 0x40 | |
dmLimitHiY = 0x80 | |
dmLimitAll = dmLimitLoX | dmLimitLoY | dmLimitHiX | dmLimitHiY | |
hcNoContext = 0 | |
hcDragging = 1 | |
sbLeftArrow = 0 | |
sbRightArrow = 1 | |
sbPageLeft = 2 | |
sbPageRight = 3 | |
sbUpArrow = 4 | |
sbDownArrow = 5 | |
sbPageUp = 6 | |
sbPageDown = 7 | |
sbIndicator = 8 | |
sbHorizontal = 0x000 | |
sbVertical = 0x001 | |
sbHandleKeyboard = 0x002 | |
wfMove = 0x01 | |
wfGrow = 0x02 | |
wfClose = 0x04 | |
wfZoom = 0x08 | |
noMenuBar = 0x0001 | |
noDeskTop = 0x0002 | |
noStatusLine = 0x0004 | |
noBackground = 0x0008 | |
noFrame = 0x0010 | |
noViewer = 0x0020 | |
noHistory = 0x0040 | |
wnNoNumber = 0 | |
wpBlueWindow = 0 | |
wpCyanWindow = 1 | |
wpGrayWindow = 2 | |
cmCut = 20 | |
cmCopy = 21 | |
cmPaste = 22 | |
cmUndo = 23 | |
cmClear = 24 | |
cmTile = 25 | |
cmCascade = 26 | |
cmReceivedFocus = 50 | |
cmReleasedFocus = 51 | |
cmCommandSetChanged = 52 | |
cmScrollBarChanged = 53 | |
cmScrollBarClicked = 54 | |
cmSelectWindowNum = 55 | |
cmListItemSelected = 56 | |
positionalEvents = evMouse | |
focusedEvents = evKeyboard | evCommand |
Definition in file views.h.
|
An array representing the characters used to draw a TScrollBar.
|
|
Returns 1 if the sets `tc1' and `tc2' are not equal. Otherwise returns 0. |
|
Undocumented. |
|
Undocumented. |
|
Undocumented. |
|
Undocumented. |
|
Undocumented. |
|
Undocumented. |
|
Undocumented. |
|
Undocumented. |
|
Undocumented. |
|
Undocumented. |
|
Undocumented. |
|
Undocumented. |
|
Undocumented. |
|
Undocumented. |
|
Undocumented. |
|
Undocumented. |
|
Undocumented. |
|
Undocumented. |
|
Undocumented. |
|
Undocumented. |
|
Undocumented. |
|
Undocumented. |
|
Undocumented. |
|
Undocumented. |
|
Undocumented. |
|
Undocumented. |
|
Undocumented. |
|
Undocumented. |
|
Allow the view to change size.
|
|
Allow the view to move.
|
|
No part of the view can move outside limits.
|
|
The view's right-hand side cannot move outside limits.
|
|
The view's bottom side cannot move outside limits.
|
|
The view's left-hand side cannot move outside limits.
|
|
The view's top side cannot move outside limits.
|
|
Defines the event classes that are focused events. The focusedEvents and positionalEvents values are used by TGroup::handleEvent() to determine how to dispatch an event to the group's subviews. If an event class isn't contained in focusedEvents or positionalEvents, it is treated as a broadcast event. |
|
Undocumented.
|
|
If set, the view will move with the lower-right corner of its owner.
|
|
If set, the right-hand side of the view will maintain a constant distance from its owner's right side.
|
|
If set, the bottom of the view will maintain a constant distance from the bottom of its owner's.
|
|
If set, the left-hand side of the view will maintain a constant distance from its owner's right-hand side. If not set, the movement indicated won't occur.
|
|
If set, the top of the view will maintain a constant distance from the bottom of its owner.
|
|
For use with TWindow objects that are in the desktop. The view will change size relative to the owner's size, maintaining that relative size with respect to the owner even when screen is resized.
|
|
Object is being dragged.
|
|
No context specified.
|
|
Used for TGroup objects and classes derived from TGroup only. Set if a cache buffer should be allocated if sufficient memory is available. The group buffer holds a screen image of the whole group so that group redraws can be speeded up. In the absence of a buffer, TGroup::draw() calls on each subview's TView::drawView() method. If subsequent memory allocation calls fail, group buffers will be deallocated to make memory available.
|
|
Set if the view should be centered on the x-axis of its owner when inserted in a group using TGroup::insert().
|
|
Set if the view should be centered on the y-axis of its owner when inserted in a group using TGroup::insert().
|
|
Set if the view should be centered on both axes of its owner when inserted in a group using TGroup::insert().
|
|
If clear, a mouse click that selects a view will have no further effect. If set, such a mouse click is processed as a normal mouse click after selecting the view. Has no effect unless ofSelectable is also set. See also TView::handleEvent(), sfSelected and ofSelectable.
|
|
Set if the view should have a frame drawn around it. A TWindow and any class derived from TWindow, has a TFrame as its last subview. When drawing itself, the TFrame will also draw a frame around any other subviews that have the ofFramed bit set.
|
|
Set if the view should receive focused events whenever the focused view fails to handle them. Otherwise clear. See also sfFocused, ofPreProcess and TGroup::phase.
|
|
Set if the view should receive focused events before they are sent to the focused view. Otherwise clear. See also sfFocused, ofPostProcess, and TGroup::phase.
|
|
Set if the view should select itself automatically (see sfSelected); for example, by a mouse click in the view, or a Tab in a dialog box.
|
|
Set if the desktop can tile (or cascade) this view. Usually used only with TWindow objects.
|
|
Set if the view should move in front of all other peer views when selected. When the ofTopSelect bit is set, a call to TView::select() corresponds to a call to TView::makeFirst(). TWindow and descendants by default have the ofTopSelect bit set, which causes them to move in front of all other windows on the desktop when selected.
|
|
Undocumented.
|
|
Defines the event classes that are positional events. The focusedEvents and positionalEvents masks are used by TGroup::handleEvent() to determine how to dispatch an event to the group's subviews. If an event class isn't contained in focusedEvents or positionalEvents, it is treated as a broadcast event. |
|
Bottom arrow of vertical scroll bar.
|
|
The scroll bar responds to keyboard commands.
|
|
The scroll bar is horizontal.
|
|
Position indicator on scroll bar.
|
|
Left arrow of horizontal scroll bar.
|
|
Lower paging area of vertical scroll bar.
|
|
Left paging area of horizontal scroll bar.
|
|
Right paging area of horizontal scroll bar.
|
|
Upper paging area of vertical scroll bar.
|
|
Right arrow of horizontal scroll bar.
|
|
Top arrow of vertical scroll bar.
|
|
The scroll bar is vertical.
|
|
Set if the view is the active window or a subview in the active window.
|
|
Set if the view's cursor is a solid block; clear if the view's cursor is an underline (the default). Use TView::blockCursor() and TView::normalCursor() to modify this bit.
|
|
Set if a view's cursor is visible. Clear is the default. You can use TView::showCursor() and TView::hideCursor() to modify sfCursorVis.
|
|
This is a spare flag, available to specify some user-defined default state.
|
|
Set if the view is disabled. A disabled view will ignore all events sent to it.
|
|
Set if the view is being dragged.
|
|
Set if the view is owned directly or indirectly by the application object, and therefore possibly visible on the. TView::exposed() uses this flag in combination with further clipping calculations to determine whether any part of the view is actually visible on the screen.
|
|
Set if the view is focused. A view is focused if it is selected and all owners above it are also selected. The last view on the focused chain is the final target of all focused events.
|
|
Set if the view is modal. There is always exactly one modal view in a running TVision application, usually a TApplication or TDialog object. When a view starts executing (through an TGroup::execView() call), that view becomes modal. The modal view represents the apex (root) of the active event tree, getting and handling events until its TView::endModal() method is called. During this "local" event loop, events are passed down to lower subviews in the view tree. Events from these lower views pass back up the tree, but go no further than the modal view. See also TView::setState(), TView::handleEvent() and TGroup::execView().
|
|
Set if the view is the currently selected subview within its owner. Each TGroup object has a TGroup::current data member that points to the currently selected subview (or is 0 if no subview is selected). There can be only one currently selected subview in a TGroup.
|
|
Set if the view has a shadow.
|
|
Set if the view is visible on its owner. Views are by default sfVisible. Use TView::show() and TView::hide() to modify sfVisible. An sfVisible view is not necessarily visible on the screen, since its owner might not be visible. To test for visibility on the screen, examine the sfExposed bit or call TView::exposed().
|
|
Window frame has a close icon that can be mouse-clicked to close the window.
|
|
Window can be resized and has a grow icon in the lower-right corner.
|
|
Window can be moved.
|
|
Window frame has a zoom icon that can be mouse-clicked.
|
|
Use the constant wnNoNumber to indicate that the window is not to be numbered and cannot be selected via the Alt+number key.
|
|
Window text is yellow on blue.
|
|
Window text is blue on cyan.
|
|
Window text is black on gray.
|