07b128b877
Some menu items in the menu-bar are toggles (each representing an option that can be turned on or off independently), and some are 1-of-N selections (e.g. mm or inches), like tuner buttons on a car radio. Windows can draw an optional check-mark besides a menu item, and SolveSpace has been using this feature to implement both kinds of menu items, with the backend logic making them behave as a toggle or radio button as appropriate. Other GUI platforms can draw proper radio-button menu items that are distinct from toggles, however. To allow the platform-specific logic to tell the two kinds of menu items apart, this change adds the RadioMenuById() routine, and replaces the appropriate calls to CheckMenuById() with it. (Note that nothing is changed in the Windows GUI code; radio-menu items are still drawn with check-marks.) |
||
---|---|---|
.. | ||
freeze.cpp | ||
freeze.h | ||
manifest.xml | ||
resource.rc | ||
w32main.cpp | ||
w32util.cpp |