diff options
author | Strangerke | 2015-12-08 09:46:54 +0100 |
---|---|---|
committer | Willem Jan Palenstijn | 2015-12-23 21:33:55 +0100 |
commit | ae056a767ba8c983b7d38afd2532ba18fd3cb724 (patch) | |
tree | 211c4cf40dd9164d218ae1d82e98d798d2c34792 /engines/lab/interface.cpp | |
parent | 3a1ee647610efa61a053d7f2fc0951e6248cb915 (diff) | |
download | scummvm-rg350-ae056a767ba8c983b7d38afd2532ba18fd3cb724.tar.gz scummvm-rg350-ae056a767ba8c983b7d38afd2532ba18fd3cb724.tar.bz2 scummvm-rg350-ae056a767ba8c983b7d38afd2532ba18fd3cb724.zip |
LAB: Use doxygen format for function comments
Diffstat (limited to 'engines/lab/interface.cpp')
-rw-r--r-- | engines/lab/interface.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/engines/lab/interface.cpp b/engines/lab/interface.cpp index 4e514ea652..ade5f69a9e 100644 --- a/engines/lab/interface.cpp +++ b/engines/lab/interface.cpp @@ -62,9 +62,9 @@ void freeButtonList(GadgetList *gadgetList) { gadgetList->clear(); } -/*****************************************************************************/ -/* Draws a gadget list to the screen. */ -/*****************************************************************************/ +/** + * Draws a gadget list to the screen. + */ void drawGadgetList(GadgetList *gadgetList) { for (GadgetList::iterator gadget = gadgetList->begin(); gadget != gadgetList->end(); ++gadget) { (*gadget)->_image->drawImage((*gadget)->x, (*gadget)->y); @@ -74,25 +74,25 @@ void drawGadgetList(GadgetList *gadgetList) { } } -/*****************************************************************************/ -/* Dims a gadget, and makes it unavailable for using. */ -/*****************************************************************************/ +/** + * Dims a gadget, and makes it unavailable for using. + */ void disableGadget(Gadget *curgad, uint16 pencolor) { g_lab->_graphics->overlayRect(pencolor, curgad->x, curgad->y, curgad->x + curgad->_image->_width - 1, curgad->y + curgad->_image->_height - 1); curgad->_flags |= GADGETOFF; } -/*****************************************************************************/ -/* Undims a gadget, and makes it available again. */ -/*****************************************************************************/ +/** + * Undims a gadget, and makes it available again. + */ void enableGadget(Gadget *curgad) { curgad->_image->drawImage(curgad->x, curgad->y); curgad->_flags &= !(GADGETOFF); } -/*****************************************************************************/ -/* Make a key press have the right case for a gadget KeyEquiv value. */ -/*****************************************************************************/ +/** + * Make a key press have the right case for a gadget KeyEquiv value. + */ uint16 makeGadgetKeyEquiv(uint16 key) { if (Common::isAlnum(key)) key = tolower(key); @@ -100,10 +100,10 @@ uint16 makeGadgetKeyEquiv(uint16 key) { return key; } -/*****************************************************************************/ -/* Checks whether or not the coords fall within one of the gadgets in a list */ -/* of gadgets. */ -/*****************************************************************************/ +/** + * Checks whether or not the coords fall within one of the gadgets in a list + * of gadgets. + */ Gadget *LabEngine::checkNumGadgetHit(GadgetList *gadgetList, uint16 key) { uint16 gkey = key - '0'; |