magic/windows
R. Timothy Edwards 27c423c2ed Substantially revised the "macro" command callback functions and
the "tool" implementation.  Previously, the "tool" implementation
would overwrite the button bindings for the mouse.  The problem
with that is that if the user customizes one or more of the
bindings, such as using the mouse wheel for zooming instead of
panning, then the custom macro gets obliterated when the tool
changes.  The reimplementation creates multiple macro sets which
are unique to each tool.  The "enable_tools" function sets up
the initial unique default bindings for each tool.  The user
can then customize the bindings for any tool, and the
implementation no longer requires the constant changing of key
bindings.  Note that the new implementation is slightly less
efficient because the macro tables are found by string hash
based on the name of the tool or client type, not the integer
client ID.  The reduction in efficiency is balanced by the
increased flexibility of the macros.
2025-10-09 15:43:54 -04:00
..
Makefile Makefile: whitespace only change 2025-07-29 10:50:32 -04:00
vfont.B.12 Initial commit at Tue Apr 25 08:41:48 EDT 2017 by tim on stravinsky 2017-04-25 08:41:48 -04:00
vfont.I.12 Initial commit at Tue Apr 25 08:41:48 EDT 2017 by tim on stravinsky 2017-04-25 08:41:48 -04:00
vfont.R.8 Initial commit at Tue Apr 25 08:41:48 EDT 2017 by tim on stravinsky 2017-04-25 08:41:48 -04:00
windClient.c Updates from running the fix-ending-whitespace script. 2020-05-23 17:13:14 -04:00
windCmdAM.c Substantially revised the "macro" command callback functions and 2025-10-09 15:43:54 -04:00
windCmdNR.c Use HAVE_SYS_TIME_H and TIME_WITH_SYS_TIME from autoconf where possible 2025-07-27 12:43:04 -04:00
windCmdSZ.c Lookup() constify call-site 2024-12-26 15:20:58 -05:00
windDebug.c gcc11 -Wall -Wpedantic cleanup (post __attribute__) 2025-01-06 16:25:38 +00:00
windDisp.c GeoDisjoint() unify return type of callback to bool 2024-12-26 15:10:35 -05:00
windInt.h header file #ifndef guard namespace consistency (global change) 2025-07-29 10:50:32 -04:00
windMain.c Substantially revised the "macro" command callback functions and 2025-10-09 15:43:54 -04:00
windMove.c GeoDisjoint() unify return type of callback to bool 2024-12-26 15:10:35 -05:00
windSearch.c Removing extra `$Header$` 2020-05-27 20:35:27 -04:00
windSend.c Lookup() constify WindGetCommandTable() returns 'const' 2024-12-26 15:20:58 -05:00
windTrans.c Removing extra `$Header$` 2020-05-27 20:35:27 -04:00
windView.c Compatibility with C99 standard 2022-10-29 06:07:46 +02:00
windows.h Substantially revised the "macro" command callback functions and 2025-10-09 15:43:54 -04:00
windows7.glyphs Initial commit at Tue Apr 25 08:41:48 EDT 2017 by tim on stravinsky 2017-04-25 08:41:48 -04:00
windows11.glyphs Initial commit at Tue Apr 25 08:41:48 EDT 2017 by tim on stravinsky 2017-04-25 08:41:48 -04:00
windows14.glyphs Initial commit at Tue Apr 25 08:41:48 EDT 2017 by tim on stravinsky 2017-04-25 08:41:48 -04:00
windows22.glyphs Initial commit at Tue Apr 25 08:41:48 EDT 2017 by tim on stravinsky 2017-04-25 08:41:48 -04:00