Table of Contents | ||
|
||
ShowHotSpots | ||
Purpose Enables/disables drawing of hotspots (solid fill) so that they can be seen |
||
Protoype void CButtonMngr::ShowHotSpots() |
||
Description This function is for debugging purposes mainly. Since hotspots are invisible under normal conditions, unless you have the coordinates pre-plotted it can be hard to properly place them on the screen. When you call the function, all the hotspots on the screen will be filled in a nice bright pink, allowing you to visually place them properly. Calling this function again will toggle the hotspot display off. |
||
Use CButtonMngr button; // turn on fills button.ShowHotSpots(); // turn off fills button.ShowHotSpots(); |
||
|
||
|