[Go to CFHT Home Page] Man Pages
Back to Software Index  BORDER=0Manpage Top Level
    FocusFrame(3X) manual page Table of Contents

Name

FocusFrame - frame used to support keyboard traversal

Synopsis

#include <ivplus/frame.h>

Description

FocusFrame is used by interactors that don’t draw on their own canvas to get the location cursor used in keyboard traversal. FocusFrame uses the static interactor painter highlightPainter to draw the frame. Currently, most interactors draw on their own canvas for the location cursor. This class would probably not be useful for other purposes. ScrollBar is an example of a class which uses a focusframe.

Class Hierarchy

FocusFrame->Frame->IVFrame->MonoScene->Scene->Interactor

Constructors

FocusFrame(Interactor* = nil, int width = 0)

FocusFrame(const char* instanceName, Interactor* = nil, int width = 0)

Create a focusframe around the given interactor with the specified width.

Public Operations

virtual void Scene::Insert(Interactor*)

Inserts an interactor into the frame.

Protected Operations

virtual void Redraw(IntCoord, IntCoord, IntCoord, IntCoord)

Calls the Interactor operation Focused() with a boolean value indicating whether or not this is the currently focused interactor.

X Resources

The following resources are application level resources. See World(3X) .

highlightColor:

Color of the location cursor.

highlightThickness:

Width of the location cursor.

Examples

None.

Files


frame.h
frame.C

See Also

Frame(3X) , Interactor(3X) , IVFrame(3X) , MonoScene(3X) , Scene(3X) .


Table of Contents