[PD-dev] [ pure-data-Patches-1825692 ] fix up panel keybindings and findpanel font selection

SourceForge.net noreply at sourceforge.net
Tue Nov 6 02:51:19 CET 2007


Patches item #1825692, was opened at 2007-11-04 15:20
Message generated for change (Comment added) made by eighthave
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1825692&group_id=55736

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: puredata
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Hans-Christoph Steiner (eighthave)
Assigned to: Miller Puckette (millerpuckette)
Summary: fix up panel keybindings and findpanel font selection

Initial Comment:

this patch:

- makes standard key bindings on all the panels (find, prefs, etc)

- adds live font resizing to the font panel

- adds a checkbox to turn on/off text in Pd window

- adds menu item to clear the Pd window's text

- adds Ctrl/Cmd-B to open Help Browser

- add the standard menus to the Pd window

Applies cleanly on 0.40.3 and 0.41-test06.  Tested on 0.40.3 on Mac OS X, included in Pd-extended.

----------------------------------------------------------------------

>Comment By: Hans-Christoph Steiner (eighthave)
Date: 2007-11-05 20:51

Message:
Logged In: YES 
user_id=27104
Originator: YES

Oops, found a bug in the find panel handling, this fixes it:

@@ -1933,8 +1968,9 @@
 }
 
 proc pdtk_canvas_dofont {name initsize} {
-    
-    global dofont_fontsize
+    global fontsize dofont_fontsize
+    set fontsize $initsize
+    set dofont_fontsize $initsize
     
     global stretchval
     set stretchval 100
@@ -1982,6 +2018,9 @@
     pack $name.radiof.radio24 -side top -anchor w
     pack $name.radiof.radio36 -side top -anchor w
 
+       set current_radiobutton [format "$name.radiof.radio%d" $initsize]
+       $current_radiobutton select
+
     frame $name.stretchf
     pack $name.stretchf -side left
     
@@ -3495,7 +3534,7 @@


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1825692&group_id=55736




More information about the Pd-dev mailing list