magic/dbwind
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
..
DBWbuttons.c Substantially revised the "macro" command callback functions and 2025-10-09 15:43:54 -04:00
DBWcommands.c Added a new command "archive" that works roughly like the "crash" 2025-09-10 12:40:40 -04:00
DBWdisplay.c gcc11 -Wall -Wpedantic cleanup 2025-01-06 16:12:11 +00:00
DBWelement.c dbwind/DBWelement.c: constify args to AppendFlag/AppendString 2024-12-26 15:20:59 -05:00
DBWfdback.c Compatibility with C99 standard 2022-10-29 06:07:46 +02:00
DBWhlights.c Updates from running the fix-ending-whitespace script. 2020-05-23 17:13:14 -04:00
DBWprocs.c TCL9: ClientData macro assignment and access usage 2025-01-04 11:08:01 -05:00
DBWtools.c Modified the way that ToolGetEditBox() works so that it does not 2021-08-04 12:05:21 -04:00
DBWundo.c GCC14: warning: missing braces around initializer 2024-10-09 21:12:55 -04:00
Makefile Initial commit at Tue Apr 25 08:41:48 EDT 2017 by tim on stravinsky 2017-04-25 08:41:48 -04:00
dbwind.h Substantially revised the "macro" command callback functions and 2025-10-09 15:43:54 -04:00
dbwtech.h header file #ifndef guard namespace consistency (global change) 2025-07-29 10:50:32 -04:00