Go to file
Daniel Richard G 07b128b877 Define some menu-bar menu items as radio buttons
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.)
2013-09-19 00:59:18 -04:00
exposed Clean up SolveSpace makefile, and add forgotten copyright notice. 2013-07-28 14:53:30 -08:00
extlib Add support for the 3dconnexion six degree of freedom input devices 2009-07-20 11:05:33 -08:00
icons Add two more icons to the toolbar, for text in a TrueType font and 2010-05-16 09:04:56 -08:00
obj This is my initial checkin for solvespace, a second attempt at 2008-03-25 02:02:13 -08:00
srf Changed "static const int" class members into enums 2013-09-09 15:50:32 -04:00
tools Renamed *.table files to *.table.h 2013-09-16 17:14:53 -04:00
win32 Define some menu-bar menu items as radio buttons 2013-09-19 00:59:18 -04:00
COPYING.txt Changes in preparation for the release of SolveSpace under the GPL, 2013-07-28 14:08:34 -08:00
Makefile.msvc Renamed *.table files to *.table.h 2013-09-16 17:14:53 -04:00
bitmapextra.table.h Renamed *.table files to *.table.h 2013-09-16 17:14:53 -04:00
bitmapfont.table.h Renamed *.table files to *.table.h 2013-09-16 17:14:53 -04:00
bsp.cpp Quash "variable may be used uninitialized" warnings 2013-08-26 15:36:00 -04:00
clipboard.cpp Added const qualifiers to edit-control string handling 2013-09-16 15:51:20 -04:00
confscreen.cpp Added const qualifiers to edit-control string handling 2013-09-16 15:51:20 -04:00
constraint.cpp Added const qualifiers 2013-08-26 14:58:35 -04:00
constrainteq.cpp Changes in preparation for the release of SolveSpace under the GPL, 2013-07-28 14:08:34 -08:00
describescreen.cpp Changes in preparation for the release of SolveSpace under the GPL, 2013-07-28 14:08:34 -08:00
draw.cpp Quash "variable may be used uninitialized" warnings 2013-08-26 15:36:00 -04:00
drawconstraint.cpp Quash "variable may be used uninitialized" warnings 2013-08-26 15:36:00 -04:00
drawentity.cpp Quash "variable may be used uninitialized" warnings 2013-08-26 15:36:00 -04:00
dsc.h Enabled freeing of (most) allocated memory on program exit 2013-09-19 00:33:12 -04:00
entity.cpp Changes in preparation for the release of SolveSpace under the GPL, 2013-07-28 14:08:34 -08:00
export.cpp Use casts to bridge mismatches in integer-type sizes and signedness 2013-08-26 16:19:23 -04:00
exportstep.cpp Changes in preparation for the release of SolveSpace under the GPL, 2013-07-28 14:08:34 -08:00
exportvector.cpp Use casts to bridge mismatches in integer-type sizes and signedness 2013-08-26 16:19:23 -04:00
expr.cpp Added const qualifiers to edit-control string handling 2013-09-16 15:51:20 -04:00
expr.h Added const qualifiers to edit-control string handling 2013-09-16 15:51:20 -04:00
file.cpp General compiler warning/error fixes 2013-08-26 16:54:04 -04:00
font.table.h Renamed *.table files to *.table.h 2013-09-16 17:14:53 -04:00
generate.cpp Changes in preparation for the release of SolveSpace under the GPL, 2013-07-28 14:08:34 -08:00
glhelper.cpp Renamed *.table files to *.table.h 2013-09-16 17:14:53 -04:00
graphicswin.cpp Define some menu-bar menu items as radio buttons 2013-09-19 00:59:18 -04:00
group.cpp Changes in preparation for the release of SolveSpace under the GPL, 2013-07-28 14:08:34 -08:00
groupmesh.cpp Enabled freeing of (most) allocated memory on program exit 2013-09-19 00:33:12 -04:00
icon.ico Add an icon file (ugly, but at least it's not the default anymore). 2008-07-18 01:50:52 -08:00
mesh.cpp Quash "variable may be used uninitialized" warnings 2013-08-26 15:36:00 -04:00
modify.cpp Quash "variable may be used uninitialized" warnings 2013-08-26 15:36:00 -04:00
mouse.cpp Use '\b' instead of ('h' - 'a' + 1) 2013-09-18 16:41:23 -04:00
png2c.pl Revised the Perl scripts 2013-08-26 17:45:09 -04:00
pngchar2c.pl Revised the Perl scripts 2013-08-26 17:45:09 -04:00
polygon.cpp Fixed uninitialized-memory errors detected by Valgrind 2013-09-16 16:22:14 -04:00
polygon.h Changed "static const int" class members into enums 2013-09-09 15:50:32 -04:00
request.cpp Quash "variable may be used uninitialized" warnings 2013-08-26 15:36:00 -04:00
sketch.h Enabled freeing of (most) allocated memory on program exit 2013-09-19 00:33:12 -04:00
solvespace.cpp Use a '*' printf() field width rather than an intermediate format string 2013-09-19 00:50:11 -04:00
solvespace.h Define some menu-bar menu items as radio buttons 2013-09-19 00:59:18 -04:00
style.cpp Use png_get_image_{width,height}() instead of info_ptr->{width,height} 2013-09-16 15:57:32 -04:00
system.cpp Enabled freeing of (most) allocated memory on program exit 2013-09-19 00:33:12 -04:00
textscreens.cpp Added const qualifiers to edit-control string handling 2013-09-16 15:51:20 -04:00
textwin.cpp OpenGL fixes 2013-09-09 16:05:33 -04:00
toolbar.cpp Fixed uninitialized-memory errors detected by Valgrind 2013-09-16 16:22:14 -04:00
ttf.cpp Modified Get{BYTE,WORD,DWORD}() to return the respective type 2013-08-26 16:24:16 -04:00
ui.h Added const qualifiers to edit-control string handling 2013-09-16 15:51:20 -04:00
undoredo.cpp Changes in preparation for the release of SolveSpace under the GPL, 2013-07-28 14:08:34 -08:00
util.cpp Use casts to bridge mismatches in integer-type sizes and signedness 2013-08-26 16:19:23 -04:00
view.cpp Added const qualifiers to edit-control string handling 2013-09-16 15:51:20 -04:00
wishlist.txt Make oops() calls exit instead of entering debugger by default, 2011-03-05 12:52:57 -08:00