-
-
Notifications
You must be signed in to change notification settings - Fork 27
Description
I like the changes implemented in MODERNIZE. But these changes really mess with the NoteCards UI since NoteCards depends pretty heavily on left button (and middle button and right button) menus in the title bar.
Can't just not modernize NoteCards windows because they are built on TEdit, Sketch and Grapher windows which are automatically modernized.
Would like to suggest the following small change to MODERNIZE to make it work better with NoteCards: For windows with the windowprop MODERN-STYLE2, a left mouse click in the title bar would call the new window move code only if the mouse click is "near" the left or right edge. If the click is in the center area of the title bar, then the original buttonevenfn would be called. The size of the central area (or alternatively, the edge areas) would be set by the value of the MODERN-STYLE2 windowprop.
I have a MODERNIZE patch for use with NoteCards that implements this scheme. With the central area set at 40% it works pretty well and the user gets the expected NoteCards menus UI with the modern move windows facility. Any window not part of NoteCards is not effected.
Patch can be found in the notecards repo in /patches/MODERNIZEPATCHES.
(And, yes I realize that the NoteCards UI is in need of an update. Having menus on all three mouse buttons in the title bar is just out of sync with the way things are done now. But that's way too big of a job for a demo.)