CEikConsoleControl Class Reference
class CEikConsoleControl : public CAknControl
|
Public Member Functions
|
|
CEikConsoleControl
()
|
|
~CEikConsoleControl
()
|
const
TSize
&
|
CharSize
()
|
IMPORT_C void
|
ClearChars
(const
TRect
&,
TUint
)
|
IMPORT_C void
|
ConstructL
(
TInt
)
|
IMPORT_C void
|
ConstructL
(
TPoint
, const
TSize
&,
TInt
,
TEikConsWinUnits
)
|
IMPORT_C void
|
DrawChars
(const
TDesC
&, const
TPoint
&,
TUint
)
|
IMPORT_C void
|
DrawCursor
(
TPoint
)
|
const
TFontSpec
&
|
Font
()
|
IMPORT_C void
|
GetColorUseListL
(
CArrayFix
<
TCoeColorUse
> &)
|
IMPORT_C void
|
HandlePointerEventL
(const TPointerEvent &)
|
IMPORT_C void
|
HandleResourceChange
(
TInt
)
|
IMPORT_C void
|
HandleScrollEventL
(
CEikScrollBar
*,
TEikScrollEvent
)
|
IMPORT_C void
|
HideCursor
()
|
IMPORT_C void
|
InvertChars
(const
TRect
&)
|
IMPORT_C void
|
ScrollChars
(const
TRect
&, const
TPoint
&)
|
IMPORT_C void
|
SetCursorHeight
(
TUint
)
|
IMPORT_C void
|
SetFontL
(const
TFontSpec
&, const
CFbsFont
*)
|
IMPORT_C void
|
SetRedrawer
(
CEikConsoleScreen
*)
|
IMPORT_C
TInt
|
SetScrollBarVisibilityL
(
CEikScrollBarFrame::TScrollBarVisibility
,
CEikScrollBarFrame::TScrollBarVisibility
)
|
IMPORT_C void
|
UpdateArea
()
|
IMPORT_C
TBool
|
UpdateScrollbarsL
(const
TSize
&, const
TSize
&,
TPoint
)
|
IMPORT_C
TSize
|
VisibleSize
()
|
Inherited Functions
|
|
CAknControl::CAknControl()
|
|
CAknControl::~CAknControl()
|
|
CBase::CBase()
|
|
CBase::Delete(CBase *)
|
|
CBase::Extension_(TUint,TAny *&,TAny *)
|
|
CBase::operator new(TUint)
|
|
CBase::operator new(TUint,TAny *)
|
|
CBase::operator new(TUint,TLeave)
|
|
CBase::operator new(TUint,TLeave,TUint)
|
|
CBase::operator new(TUint,TUint)
|
|
CBase::~CBase()
|
|
CCoeControl::AccumulatedZoom()const
|
|
CCoeControl::ActivateGc()const
|
|
CCoeControl::ActivateL()
|
|
CCoeControl::BackedUpWindow()const
|
|
CCoeControl::Background()const
|
|
CCoeControl::CCoeControl()
|
|
CCoeControl::CCoeControl(CCoeEnv *)
|
|
CCoeControl::CCoeControl(const CCoeControl &)
|
|
CCoeControl::CapturesPointer()const
|
|
CCoeControl::ClaimPointerGrab(TBool)
|
|
CCoeControl::ClaimPointerGrab(TInt,TBool)
|
|
CCoeControl::CloseWindow()
|
|
CCoeControl::ComponentArrayExists()const
|
|
CCoeControl::Components()
|
|
CCoeControl::Components()const
|
|
CCoeControl::ConstructFromResourceL(TResourceReader &)
|
|
CCoeControl::ControlContext()const
|
|
CCoeControl::ControlEnv()const
|
|
CCoeControl::CopyControlContextFrom(const CCoeControl *)
|
|
CCoeControl::CreateBackedUpWindowL(RWindowTreeNode &)
|
|
CCoeControl::CreateBackedUpWindowL(RWindowTreeNode &,TDisplayMode)
|
|
CCoeControl::CreateWindowL()
|
|
CCoeControl::CreateWindowL(RWindowGroup *)
|
|
CCoeControl::CreateWindowL(RWindowTreeNode &)
|
|
CCoeControl::CreateWindowL(const CCoeControl *)
|
|
CCoeControl::CustomGc()const
|
|
CCoeControl::DeactivateGc()const
|
|
CCoeControl::DrawBackground(const TRect &)const
|
|
CCoeControl::DrawDeferred()const
|
|
CCoeControl::DrawForeground(const TRect &)const
|
|
CCoeControl::DrawNow()const
|
|
CCoeControl::DrawNow(const TRect &)const
|
|
CCoeControl::DrawableWindow()const
|
|
CCoeControl::EnableDragEvents()
|
|
CCoeControl::EnableReportControlStateChange(TBool)
|
|
CCoeControl::EnableWindowTransparency()
|
|
CCoeControl::FindBackground()const
|
|
CCoeControl::FindFontProvider()const
|
|
CCoeControl::GetColor(TInt,TRgb &)const
|
|
CCoeControl::GetGc()const
|
|
CCoeControl::GetHelpContext(TCoeHelpContext &)const
|
|
CCoeControl::GrabbingComponent()const
|
|
CCoeControl::GrabbingComponent(TInt)const
|
|
CCoeControl::HandleComponentControlsResourceChange(TInt)
|
|
CCoeControl::HandleControlArrayEventL(CCoeControlArray::TEvent,const CCoeControlArray *,CCoeControl *,TInt)
|
|
CCoeControl::HandlePointerBufferReadyL()
|
|
CCoeControl::HandleRedrawEvent(const TRect &)const
|
|
CCoeControl::HasBorder()const
|
|
CCoeControl::HitTest()const
|
|
CCoeControl::IgnoreEventsUntilNextPointerUp()
|
|
CCoeControl::Index(const CCoeControl *)const
|
|
CCoeControl::InitComponentArrayL()
|
|
CCoeControl::InputCapabilities()const
|
|
CCoeControl::IsActivated()const
|
|
CCoeControl::IsBackedUp()const
|
|
CCoeControl::IsBeingDestroyed()const
|
|
CCoeControl::IsBlank()const
|
|
CCoeControl::IsDimmed()const
|
|
CCoeControl::IsFocused()const
|
|
CCoeControl::IsNonFocusing()const
|
|
CCoeControl::IsReadyToDraw()const
|
|
CCoeControl::IsVisible()const
|
|
CCoeControl::LayoutManager()const
|
|
CCoeControl::MakeVisible(TBool)
|
|
CCoeControl::MaximumWidth()const
|
|
CCoeControl::MinimumSize()
|
|
CCoeControl::MopSupplyObject(TTypeUid)
|
|
CCoeControl::NotifyFontChange(const CCoeFontProvider *)
|
|
CCoeControl::Observer()const
|
|
CCoeControl::OfferKeyEventL(const TKeyEvent &,TEventCode)
|
|
CCoeControl::OverrideColorL(TInt,TRgb)
|
|
CCoeControl::OwnsWindow()const
|
|
CCoeControl::Parent()
|
|
CCoeControl::Parent()const
|
|
CCoeControl::Position()const
|
|
CCoeControl::PositionChanged()
|
|
CCoeControl::PositionRelativeToScreen()const
|
|
CCoeControl::PrepareForFocusGainL()
|
|
CCoeControl::PrepareForFocusLossL()
|
|
CCoeControl::ProcessPointerBufferReadyL()
|
|
CCoeControl::ProcessPointerEventL(const TPointerEvent &)
|
|
CCoeControl::Rect()const
|
|
CCoeControl::RecursivelyMergeInputCapabilities(TCoeInputCapabilities &)const
|
|
CCoeControl::RecursivelyMergedInputCapabilities()const
|
|
CCoeControl::RefetchPixelMappingL()
|
|
CCoeControl::RemoveFromParent()
|
|
CCoeControl::ReportEventL(MCoeControlObserver::TCoeEvent)
|
|
CCoeControl::RequestRelayout(const CCoeControl *)
|
|
CCoeControl::ResetGc()const
|
|
CCoeControl::ScreenFont(const TCoeFont &)const
|
|
CCoeControl::SetAdjacent(TInt)
|
|
CCoeControl::SetAllowStrayPointers()
|
|
CCoeControl::SetBackground(const MCoeControlBackground *)
|
|
CCoeControl::SetBlank()
|
|
CCoeControl::SetCanDrawOutsideRect()
|
|
CCoeControl::SetComponentsToInheritVisibility(TBool)
|
|
CCoeControl::SetContainerWindowL(RBackedUpWindow &)
|
|
CCoeControl::SetContainerWindowL(RWindow &)
|
|
CCoeControl::SetContainerWindowL(const CCoeControl &)
|
|
CCoeControl::SetControlContext(MCoeControlContext *)
|
|
CCoeControl::SetCornerAndSize(TGulAlignment,const TSize &)
|
|
CCoeControl::SetCustomGc(CWindowGc *)
|
|
CCoeControl::SetDimmed(TBool)
|
|
CCoeControl::SetExtent(const TPoint &,const TSize &)
|
|
CCoeControl::SetExtentToWholeScreen()
|
|
CCoeControl::SetFocus(TBool,TDrawNow)
|
|
CCoeControl::SetFocusing(TBool)
|
|
CCoeControl::SetFontProviderL(const CCoeFontProvider &)
|
|
CCoeControl::SetGc(CWindowGc *)const
|
|
CCoeControl::SetGloballyCapturing(TBool)
|
|
CCoeControl::SetHitTest(const MCoeControlHitTest *)
|
|
CCoeControl::SetLayoutManagerL(MCoeLayoutManager *)
|
|
CCoeControl::SetMaximumWidth(TInt)
|
|
CCoeControl::SetMopParent(MObjectProvider *)
|
|
CCoeControl::SetNeighbor(CCoeControl *)
|
|
CCoeControl::SetNonFocusing()
|
|
CCoeControl::SetObserver(MCoeControlObserver *)
|
|
CCoeControl::SetParent(CCoeControl *)
|
|
CCoeControl::SetPointerCapture(TBool)
|
|
CCoeControl::SetPosition(const TPoint &)
|
|
CCoeControl::SetRect(const TRect &)
|
|
CCoeControl::SetSize(const TSize &)
|
|
CCoeControl::SetSizeWithoutNotification(const TSize &)
|
|
CCoeControl::SetTextBaselineSpacing(TInt)
|
|
CCoeControl::SetUniqueHandle(TInt)
|
|
CCoeControl::SetZoomFactorL(TInt,TZoomType)
|
|
CCoeControl::Size()const
|
|
CCoeControl::SystemGc()const
|
|
CCoeControl::TextBaselineOffset(const TSize &)const
|
|
CCoeControl::TextDrawer(TInt)const
|
|
CCoeControl::UniqueHandle()const
|
|
CCoeControl::Window()const
|
|
CCoeControl::WriteInternalStateNowL(RWriteStream &)const
|
|
CCoeControl::ZoomWithType()const
|
|
CCoeControl::operator=(const CCoeControl &)
|
|
CCoeControl::~CCoeControl()
|
Constructor & Destructor Documentation
CEikConsoleControl()
IMPORT_C
|
CEikConsoleControl
|
(
|
)
|
|
~CEikConsoleControl()
IMPORT_C
|
~CEikConsoleControl
|
(
|
)
|
|
Member Functions Documentation
CharSize()
const
TSize
&
|
CharSize
|
(
|
)
|
const [inline]
|
CharsToPixels(const TRect &)
TRect
|
CharsToPixels
|
(
|
const
TRect
&
|
aRect
|
)
|
[private]
|
ClearChars(const TRect &, TUint)
IMPORT_C void
|
ClearChars
|
(
|
const
TRect
&
|
anArea,
|
|
TUint
|
aCharacterAttributes
|
|
)
|
|
Parameters
const
TRect
& anArea
|
area to be cleared
|
TUint
aCharacterAttributes
|
attributes of cleared characters
|
ClearPixels(const TRect &, TRgb)
void
|
ClearPixels
|
(
|
const
TRect
&
|
anArea,
|
|
TRgb
|
aColor
|
|
)
|
const [private]
|
ComponentControl(TInt)
IMPORT_C
CCoeControl
*
|
ComponentControl
|
(
|
TInt
|
aIndex
|
)
|
const [protected, virtual]
|
ConstructL(TInt)
IMPORT_C void
|
ConstructL
|
(
|
TInt
|
aFlags
|
)
|
|
ConstructL(TPoint, const TSize &, TInt, TEikConsWinUnits)
CountComponentControls()
IMPORT_C
TInt
|
CountComponentControls
|
(
|
)
|
const [protected, virtual]
|
CreateScrollBarFrameLayout(TEikScrollBarFrameLayout &)
Draw(const TRect &)
IMPORT_C void
|
Draw
|
(
|
const
TRect
&
|
aRect
|
)
|
const [protected, virtual]
|
DrawChars(const TDesC &, const TPoint &, TUint)
IMPORT_C void
|
DrawChars
|
(
|
const
TDesC
&
|
aString,
|
|
const
TPoint
&
|
aPosition,
|
|
TUint
|
aCharacterAttributes
|
|
)
|
|
Parameters
const
TDesC
& aString
|
string to be drawn
|
const
TPoint
& aPosition
|
position of the string
|
TUint
aCharacterAttributes
|
attributes of the drawn string
|
DrawCursor(TPoint)
IMPORT_C void
|
DrawCursor
|
(
|
TPoint
|
aPosition
|
)
|
|
DrawCursor Draws cursor at position
ExtensionInterface(TUid)
IMPORT_C void *
|
ExtensionInterface
|
(
|
TUid
|
aInterface
|
)
|
[private, virtual]
|
FocusChanged(TDrawNow)
IMPORT_C void
|
FocusChanged
|
(
|
TDrawNow
|
aDrawNow
|
)
|
[protected, virtual]
|
Font()
Font()
gets font specification
GetColorUseListL(CArrayFix< TCoeColorUse > &)
GetColorUseListL provides color use list for the control
Gets the list of logical colors employed in the drawing of the control, paired with an explanation of how they are used. Appends the list to aColorUseList.
HandlePointerEventL(const TPointerEvent &)
IMPORT_C void
|
HandlePointerEventL
|
(
|
const TPointerEvent &
|
aPointerEvent
|
)
|
[virtual]
|
HandlePointerEventL handles touch pointer events
Parameters
const TPointerEvent & aPointerEvent
|
|
HandleResourceChange(TInt)
IMPORT_C void
|
HandleResourceChange
|
(
|
TInt
|
aType
|
)
|
[virtual]
|
HandleResourceChange handles several kinds of resource change events
Handles a change to the control's resources of type aType which are shared across the environment, e.g. colors or fonts.
HandleScrollEventL(CEikScrollBar *, TEikScrollEvent)
HideCursor()
IMPORT_C void
|
HideCursor
|
(
|
)
|
|
InitFontSpecL()
void
|
InitFontSpecL
|
(
|
)
|
[private]
|
InterpretAttribute(TUint)
void
|
InterpretAttribute
|
(
|
TUint
|
AnAtt
|
)
|
[private]
|
InterpretColorBits(TUint)
void
|
InterpretColorBits
|
(
|
TUint
|
aCharacterAttributes
|
)
|
[private]
|
Parameters
TUint
aCharacterAttributes
|
|
InvertChars(const TRect &)
IMPORT_C void
|
InvertChars
|
(
|
const
TRect
&
|
anArea
|
)
|
|
InsertChars() inserts character area
Parameters
const
TRect
& anArea
|
area to be inserted
|
NextFontL()
void
|
NextFontL
|
(
|
)
|
[private]
|
PixelsToChars(const TRect &)
TRect
|
PixelsToChars
|
(
|
const
TRect
&
|
aRect
|
)
|
[private]
|
Reserved_2()
IMPORT_C void
|
Reserved_2
|
(
|
)
|
[private, virtual]
|
ScrollChars(const TRect &, const TPoint &)
IMPORT_C void
|
ScrollChars
|
(
|
const
TRect
&
|
anArea,
|
|
const
TPoint
&
|
aVector
|
|
)
|
|
ScrollChars scrolls character area
Parameters
const
TRect
& anArea
|
area to be scrolled
|
const
TPoint
& aVector
|
direction to be scrolled
|
SetCursorHeight(TUint)
IMPORT_C void
|
SetCursorHeight
|
(
|
TUint
|
aPercentage
|
)
|
|
Parameters
TUint
aPercentage
|
value 0..100%
|
SetFontL(const TFontSpec &, const CFbsFont *)
SetRedrawer(CEikConsoleScreen *)
SetScrollBarVisibilityL(CEikScrollBarFrame::TScrollBarVisibility, CEikScrollBarFrame::TScrollBarVisibility)
sets scrollbar visibility
SizeChanged()
IMPORT_C void
|
SizeChanged
|
(
|
)
|
[protected, virtual]
|
UpdateArea()
IMPORT_C void
|
UpdateArea
|
(
|
)
|
|
UpdateScrollbarsL(const TSize &, const TSize &, TPoint)
Parameters
const
TSize
& aDataSize
|
size of the data
|
const
TSize
& aVisibleSize
|
how much of the data is visible on the console
|
TPoint
aPos
|
position of the visible area relative to whole data
|
VisibleSize()
IMPORT_C
TSize
|
VisibleSize
|
(
|
)
|
const
|
VisibibleSize() gets visible size
WriteInternalStateL(RWriteStream &)
IMPORT_C void
|
WriteInternalStateL
|
(
|
RWriteStream
&
|
aWriteStream
|
)
|
const [protected, virtual]
|
Member Data Documentation
TRgb
iBackGray16
TRgb
|
iBackGray16
|
[private]
|
TSize
iCharSize
TSize
|
iCharSize
|
[private]
|
CEikConsoleScreen * iConsole
const CFont * iCurrentFont
const
CFont
*
|
iCurrentFont
|
[private]
|
TUint
iCursorHeightPercentage
TUint
|
iCursorHeightPercentage
|
[private]
|
TUint
iFontHeight
TUint
|
iFontHeight
|
[private]
|
TUint
iFontIsProportional
TUint
|
iFontIsProportional
|
[private]
|
TFontUnderline
iFontUnderline
TFontUnderline
|
iFontUnderline
|
[private]
|
CEikScrollBarFrame::TScrollBarVisibility
iHBarVisibility
TUint
iLastFontFlags
TUint
|
iLastFontFlags
|
[private]
|
TPoint
iLastThumbPos
TPoint
|
iLastThumbPos
|
[private]
|
TRgb
iPenGray16
TRgb
|
iPenGray16
|
[private]
|
TInt
iRedrawing
TInt
|
iRedrawing
|
[private]
|
CEikScrollBarFrame * iSBFrame
CEikScrollBarFrame::TScrollBarVisibility
iVBarVisibility
TSize
iViewInChars
TSize
|
iViewInChars
|
[private]
|
TSize
iViewInPixels
TSize
|
iViewInPixels
|
[private]
|
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.