All Classes Functions Typedefs
Protected Member Functions | List of all members
MyMFDButtonsPage Class Reference
Inheritance diagram for MyMFDButtonsPage:
EnjoLib::MFDGoodies::MFDButtonPage< MyMFDMultipleVessels >

Protected Member Functions

bool SearchForKeysInOtherPages () const
 Should other pages be searched for when pressing a key?
- Protected Member Functions inherited from EnjoLib::MFDGoodies::MFDButtonPage< MyMFDMultipleVessels >
void RegisterFunction (const std::string &label, DWORD key, MFDFunctionPtr funLClick, MFDFunctionPtr funRClick=NULL)
 Registeres handler in MFD scope for buttons.
void RegisterFunctionCont (const std::string &label, DWORD key, MFDFunctionPtr funLClick, MFDFunctionPtr funRClick=NULL)
 Registeres handler in MFD scope for buttons that should have a continous reaction.
void RegisterPage (const MFDBUTTONMENU *menu, int size)
 Registeres button page, and buttons menu.

Additional Inherited Members

- Public Member Functions inherited from EnjoLib::MFDGoodies::MFDButtonPage< MyMFDMultipleVessels >
 MFDButtonPage ()
 Ctor.
virtual ~MFDButtonPage ()
 Dtor.
void SwitchPage (MyMFDMultipleVessels *mfdInstance) const
 Switches between button pages.
void SelectPage (MyMFDMultipleVessels *mfdInstance, int pageIndex) const
 Selects a specific buttons page.
bool ConsumeButton (MyMFDMultipleVessels *mfdInstance, int button, int event) const
 Reacts on mouse clicks on buttons.
bool ConsumeKeyBuffered (MyMFDMultipleVessels *mfdInstance, DWORD key) const
 Reacts on keyboard presses.
bool ConsumeKeyImmediate (MyMFDMultipleVessels *mfdInstance, char *kstate) const
 Reacts on continuous keyboard presses.
int ButtonMenu (const MFDBUTTONMENU **menu) const
 Returns button menu of the current page.
char * ButtonLabel (int button) const
 Returns button labels of the current page.
- Protected Types inherited from EnjoLib::MFDGoodies::MFDButtonPage< MyMFDMultipleVessels >
typedef void(MyMFDMultipleVessels::* MFDFunctionPtr )(void)
 Function pointers of the MFDClass.

Member Function Documentation

bool MyMFDButtonsPage::SearchForKeysInOtherPages ( ) const
protectedvirtual

Should other pages be searched for when pressing a key?

Normally the system reacts only keys on the current page. If this method returns true, then other pages are searched for as well.

Implements EnjoLib::MFDGoodies::MFDButtonPage< MyMFDMultipleVessels >.


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