MLafClientRectResolver Class Reference

class MLafClientRectResolver

Interface that works out how screen furniture reduces the available screen area for applications.

The interface is implemented by the UI and can be called by the LAF to get information on the areas of screen furniture.

LafAppUi::ClientRect()

Public Member Functions
voidReduceRect(TScreenFurniture, TRect &)
Public Member Enumerations
enumTScreenFurniture {
EMenuBar, EButtonGroup, EToolBand, ETitleBand, EStatusPane, ECba
}

Member Functions Documentation

ReduceRect(TScreenFurniture, TRect &)

voidReduceRect(TScreenFurnitureaScreenFurniture,
TRect &aRect
)const [pure virtual]

Calculates how a specified type of screen furniture reduces the application area of a specified screen rectangle.

Parameters

TScreenFurniture aScreenFurnitureType of screen furniture.
TRect & aRectScreen rectangle from which to remove area of specified furniture. On return, the modified rectangle.

Member Enumerations Documentation

Enum TScreenFurniture

Flags for types of screen furniture.

Enumerators

EMenuBar

Menu bar.

EButtonGroup

Button group.

EToolBand

Tool band.

ETitleBand

Title band.

EStatusPane

Status pane.

ECba

Command Button Array