MythTV  0.27pre
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Groups Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
MHListGroup Class Reference

#include <TokenGroup.h>

Inheritance diagram for MHListGroup:
Inheritance graph
[legend]
Collaboration diagram for MHListGroup:
Collaboration graph
[legend]

Public Member Functions

 MHListGroup ()
 ~MHListGroup ()
virtual const char * ClassName ()
virtual void Initialise (MHParseNode *p, MHEngine *engine)
virtual void PrintMe (FILE *fd, int nTabs) const
virtual void Preparation (MHEngine *engine)
virtual void Destruction (MHEngine *engine)
virtual void Activation (MHEngine *engine)
virtual void Deactivation (MHEngine *engine)
virtual void AddItem (int nIndex, MHRoot *pItem, MHEngine *engine)
virtual void DelItem (MHRoot *pItem, MHEngine *engine)
virtual void GetCellItem (int nCell, const MHObjectRef &itemDest, MHEngine *engine)
virtual void GetListItem (int nCell, const MHObjectRef &itemDest, MHEngine *engine)
virtual void GetItemStatus (int nCell, const MHObjectRef &itemDest, MHEngine *engine)
virtual void SelectItem (int nCell, MHEngine *engine)
virtual void DeselectItem (int nCell, MHEngine *engine)
virtual void ToggleItem (int nCell, MHEngine *engine)
virtual void ScrollItems (int nCell, MHEngine *engine)
virtual void SetFirstItem (int nCell, MHEngine *engine)
virtual void GetFirstItem (MHRoot *pResult, MHEngine *)
virtual void GetListSize (MHRoot *pResult, MHEngine *)
- Public Member Functions inherited from MHTokenGroup
 MHTokenGroup ()
virtual void CallActionSlot (int n, MHEngine *engine)
virtual void Move (int n, MHEngine *engine)
virtual void MoveTo (int n, MHEngine *engine)
virtual void GetTokenPosition (MHRoot *pResult, MHEngine *)
- Public Member Functions inherited from MHPresentable
 MHPresentable ()
 MHPresentable (const MHPresentable &ref)
virtual void Run (MHEngine *engine)
virtual void Stop (MHEngine *engine)
virtual void BeginPlaying (MHEngine *)
virtual void StopPlaying (MHEngine *)
- Public Member Functions inherited from MHIngredient
 MHIngredient ()
 MHIngredient (const MHIngredient &ref)
virtual ~MHIngredient ()
virtual bool InitiallyActive ()
virtual bool InitiallyAvailable ()
virtual bool IsShared ()
virtual void ContentPreparation (MHEngine *engine)
virtual void SetData (const MHOctetString &included, MHEngine *engine)
virtual void SetData (const MHContentRef &referenced, bool fSizeGiven, int size, bool fCCGiven, int cc, MHEngine *engine)
virtual void Preload (MHEngine *engine)
virtual void Unload (MHEngine *engine)
virtual void ContentArrived (const unsigned char *, int, MHEngine *)
- Public Member Functions inherited from MHRoot
 MHRoot ()
 MHRoot (const MHRoot &)
virtual ~MHRoot ()
virtual MHRootFindByObjectNo (int n)
virtual bool GetAvailabilityStatus ()
virtual bool GetRunningStatus ()
virtual void SetTimer (int, bool, int, MHEngine *)
virtual void MakeClone (MHRoot *, MHRoot *, MHEngine *)
virtual void SetInputRegister (int, MHEngine *)
virtual MHIngredientClone (MHEngine *)
virtual void TestVariable (int, const MHUnion &, MHEngine *)
virtual void GetVariableValue (MHUnion &, MHEngine *)
virtual void SetVariableValue (const MHUnion &)
virtual void GetTextData (MHRoot *, MHEngine *)
virtual void SetBackgroundColour (const MHColour &, MHEngine *)
virtual void SetTextColour (const MHColour &, MHEngine *)
virtual void SetFontAttributes (const MHOctetString &, MHEngine *)
virtual void Activate (bool, MHEngine *)
virtual void CallProgram (bool, const MHObjectRef &, const MHSequence< MHParameter * > &, MHEngine *)
virtual void SetPosition (int, int, MHEngine *)
virtual void GetPosition (MHRoot *, MHRoot *)
virtual void SetBoxSize (int, int, MHEngine *)
virtual void GetBoxSize (MHRoot *, MHRoot *)
virtual void SetPaletteRef (const MHObjectRef, MHEngine *)
virtual void BringToFront (MHEngine *)
virtual void SendToBack (MHEngine *)
virtual void PutBefore (const MHRoot *, MHEngine *)
virtual void PutBehind (const MHRoot *, MHEngine *)
virtual void ResetPosition ()
virtual void SetFillColour (const MHColour &, MHEngine *)
virtual void SetLineColour (const MHColour &, MHEngine *)
virtual void SetLineWidth (int, MHEngine *)
virtual void SetLineStyle (int, MHEngine *)
virtual void SetTransparency (int, MHEngine *)
virtual void ScaleBitmap (int, int, MHEngine *)
virtual void SetBitmapDecodeOffset (int, int, MHEngine *)
virtual void GetBitmapDecodeOffset (MHRoot *, MHRoot *)
virtual void Clear ()
virtual void GetLineWidth (MHRoot *)
virtual void GetLineStyle (MHRoot *)
virtual void GetLineColour (MHRoot *)
virtual void GetFillColour (MHRoot *)
virtual void DrawArcSector (bool, int, int, int, int, int, int, MHEngine *)
virtual void DrawLine (int, int, int, int, MHEngine *)
virtual void DrawOval (int, int, int, int, MHEngine *)
virtual void DrawRectangle (int, int, int, int, MHEngine *)
virtual void DrawPoly (bool, int, const int *, const int *, MHEngine *)
virtual void ScaleVideo (int, int, MHEngine *)
virtual void SetVideoDecodeOffset (int, int, MHEngine *)
virtual void GetVideoDecodeOffset (MHRoot *, MHRoot *, MHEngine *)
virtual void GetCounterPosition (MHRoot *, MHEngine *)
virtual void GetCounterMaxPosition (MHRoot *, MHEngine *)
virtual void SetCounterPosition (int, MHEngine *)
virtual void SetSpeed (int, MHEngine *)
virtual void SetInteractionStatus (bool, MHEngine *)
virtual bool GetInteractionStatus (void)
virtual void SetHighlightStatus (bool, MHEngine *engine)
virtual bool GetHighlightStatus (void)
virtual void Step (int, MHEngine *)
virtual void SetSliderValue (int, MHEngine *)
virtual int GetSliderValue (void)
virtual void SetPortion (int, MHEngine *)
virtual int GetPortion (void)
virtual void SetSliderParameters (int, int, int, MHEngine *)

Protected Member Functions

void Update (MHEngine *engine)
void Select (int nIndex, MHEngine *engine)
void Deselect (int nIndex, MHEngine *engine)
int AdjustIndex (int nIndex)
- Protected Member Functions inherited from MHTokenGroup
void PrintContents (FILE *fd, int nTabs) const
void TransferToken (int newPos, MHEngine *engine)

Protected Attributes

MHSequence< QPoint > m_Positions
bool m_fWrapAround
bool m_fMultipleSelection
QList< MHListItem * > m_ItemList
int m_nFirstItem
bool m_fFirstItemDisplayed
bool m_fLastItemDisplayed
int m_nLastCount
int m_nLastFirstItem
- Protected Attributes inherited from MHTokenGroup
MHOwnPtrSequence< MHMovementm_MovementTable
MHOwnPtrSequence
< MHTokenGroupItem
m_TokenGrpItems
MHOwnPtrSequence
< MHActionSequence
m_NoTokenActionSlots
int m_nTokenPosition

Additional Inherited Members

- Public Attributes inherited from MHRoot
MHObjectRef m_ObjectReference
- Protected Types inherited from MHIngredient
enum  { IN_NoContent, IN_IncludedContent, IN_ReferencedContent }

Detailed Description

Definition at line 98 of file TokenGroup.h.

Constructor & Destructor Documentation

MHListGroup::MHListGroup ( )

Definition at line 330 of file TokenGroup.cpp.

MHListGroup::~MHListGroup ( )

Definition at line 338 of file TokenGroup.cpp.

Member Function Documentation

virtual const char* MHListGroup::ClassName ( )
inlinevirtual

Reimplemented from MHTokenGroup.

Definition at line 103 of file TokenGroup.h.

void MHListGroup::Initialise ( MHParseNode p,
MHEngine engine 
)
virtual

Reimplemented from MHTokenGroup.

Definition at line 346 of file TokenGroup.cpp.

void MHListGroup::PrintMe ( FILE *  fd,
int  nTabs 
) const
virtual

Reimplemented from MHTokenGroup.

Definition at line 376 of file TokenGroup.cpp.

void MHListGroup::Preparation ( MHEngine engine)
virtual

Reimplemented from MHIngredient.

Definition at line 407 of file TokenGroup.cpp.

void MHListGroup::Destruction ( MHEngine engine)
virtual

Reimplemented from MHIngredient.

Definition at line 441 of file TokenGroup.cpp.

void MHListGroup::Activation ( MHEngine engine)
virtual

Reimplemented from MHTokenGroup.

Definition at line 452 of file TokenGroup.cpp.

void MHListGroup::Deactivation ( MHEngine engine)
virtual

Reimplemented from MHTokenGroup.

Definition at line 460 of file TokenGroup.cpp.

void MHListGroup::AddItem ( int  nIndex,
MHRoot pItem,
MHEngine engine 
)
virtual

Reimplemented from MHRoot.

Definition at line 561 of file TokenGroup.cpp.

void MHListGroup::DelItem ( MHRoot pItem,
MHEngine engine 
)
virtual

Reimplemented from MHRoot.

Definition at line 592 of file TokenGroup.cpp.

void MHListGroup::GetCellItem ( int  nCell,
const MHObjectRef itemDest,
MHEngine engine 
)
virtual

Reimplemented from MHRoot.

Definition at line 651 of file TokenGroup.cpp.

void MHListGroup::GetListItem ( int  nCell,
const MHObjectRef itemDest,
MHEngine engine 
)
virtual

Reimplemented from MHRoot.

Definition at line 699 of file TokenGroup.cpp.

void MHListGroup::GetItemStatus ( int  nCell,
const MHObjectRef itemDest,
MHEngine engine 
)
virtual

Reimplemented from MHRoot.

Definition at line 714 of file TokenGroup.cpp.

void MHListGroup::SelectItem ( int  nCell,
MHEngine engine 
)
virtual

Reimplemented from MHRoot.

Definition at line 729 of file TokenGroup.cpp.

void MHListGroup::DeselectItem ( int  nCell,
MHEngine engine 
)
virtual

Reimplemented from MHRoot.

Definition at line 744 of file TokenGroup.cpp.

void MHListGroup::ToggleItem ( int  nCell,
MHEngine engine 
)
virtual

Reimplemented from MHRoot.

Definition at line 759 of file TokenGroup.cpp.

void MHListGroup::ScrollItems ( int  nCell,
MHEngine engine 
)
virtual

Reimplemented from MHRoot.

Definition at line 781 of file TokenGroup.cpp.

void MHListGroup::SetFirstItem ( int  nCell,
MHEngine engine 
)
virtual

Reimplemented from MHRoot.

Definition at line 799 of file TokenGroup.cpp.

virtual void MHListGroup::GetFirstItem ( MHRoot pResult,
MHEngine  
)
inlinevirtual

Reimplemented from MHRoot.

Definition at line 122 of file TokenGroup.h.

virtual void MHListGroup::GetListSize ( MHRoot pResult,
MHEngine  
)
inlinevirtual

Reimplemented from MHRoot.

Definition at line 123 of file TokenGroup.h.

void MHListGroup::Update ( MHEngine engine)
protected

Definition at line 473 of file TokenGroup.cpp.

Referenced by Activation(), AddItem(), ScrollItems(), and SetFirstItem().

void MHListGroup::Select ( int  nIndex,
MHEngine engine 
)
protected

Definition at line 613 of file TokenGroup.cpp.

Referenced by SelectItem(), and ToggleItem().

void MHListGroup::Deselect ( int  nIndex,
MHEngine engine 
)
protected

Definition at line 637 of file TokenGroup.cpp.

Referenced by DeselectItem(), Select(), and ToggleItem().

int MHListGroup::AdjustIndex ( int  nIndex)
protected

Member Data Documentation

MHSequence<QPoint> MHListGroup::m_Positions
protected

Definition at line 133 of file TokenGroup.h.

Referenced by GetCellItem(), Initialise(), PrintMe(), and Update().

bool MHListGroup::m_fWrapAround
protected
bool MHListGroup::m_fMultipleSelection
protected

Definition at line 134 of file TokenGroup.h.

Referenced by Initialise(), MHListGroup(), PrintMe(), and Select().

QList<MHListItem*> MHListGroup::m_ItemList
protected
int MHListGroup::m_nFirstItem
protected
bool MHListGroup::m_fFirstItemDisplayed
protected

Definition at line 138 of file TokenGroup.h.

Referenced by Activation(), and Update().

bool MHListGroup::m_fLastItemDisplayed
protected

Definition at line 138 of file TokenGroup.h.

Referenced by Activation(), and Update().

int MHListGroup::m_nLastCount
protected

Definition at line 139 of file TokenGroup.h.

Referenced by MHListGroup(), and Update().

int MHListGroup::m_nLastFirstItem
protected

Definition at line 139 of file TokenGroup.h.

Referenced by MHListGroup(), and Update().


The documentation for this class was generated from the following files: