Revision: 4679
          http://skim-app.svn.sourceforge.net/skim-app/?rev=4679&view=rev
Author:   hofman
Date:     2008-09-23 18:46:02 +0000 (Tue, 23 Sep 2008)

Log Message:
-----------
add code for binding a line well for freehand notes

Modified Paths:
--------------
    trunk/SKPreferenceController.h
    trunk/SKPreferenceController.m

Modified: trunk/SKPreferenceController.h
===================================================================
--- trunk/SKPreferenceController.h      2008-09-23 18:38:39 UTC (rev 4678)
+++ trunk/SKPreferenceController.h      2008-09-23 18:46:02 UTC (rev 4679)
@@ -51,6 +51,7 @@
     IBOutlet SKLineWell *lineLineWell;
     IBOutlet SKLineWell *circleLineWell;
     IBOutlet SKLineWell *boxLineWell;
+    IBOutlet SKLineWell *freehandLineWell;
     IBOutlet SKFontWell *textNoteFontWell;
     IBOutlet SKFontWell *anchoredNoteFontWell;
     NSDictionary *resettableKeys;

Modified: trunk/SKPreferenceController.m
===================================================================
--- trunk/SKPreferenceController.m      2008-09-23 18:38:39 UTC (rev 4678)
+++ trunk/SKPreferenceController.m      2008-09-23 18:46:02 UTC (rev 4679)
@@ -147,6 +147,11 @@
     [lineLineWell bind:SKLineWellDashPatternKey toObject:sudc 
withKeyPath:VALUES_KEY_PATH(SKLineNoteDashPatternKey) options:nil];
     [lineLineWell bind:SKLineWellStartLineStyleKey toObject:sudc 
withKeyPath:VALUES_KEY_PATH(SKLineNoteStartLineStyleKey) options:nil];
     [lineLineWell bind:SKLineWellEndLineStyleKey toObject:sudc 
withKeyPath:VALUES_KEY_PATH(SKLineNoteEndLineStyleKey) options:nil];
+    
+    [freehandLineWell bind:SKLineWellLineWidthKey toObject:sudc 
withKeyPath:VALUES_KEY_PATH(SKFreehandNoteLineWidthKey) options:nil];
+    [freehandLineWell bind:SKLineWellStyleKey toObject:sudc 
withKeyPath:VALUES_KEY_PATH(SKFreehandNoteLineStyleKey) options:nil];
+    [freehandLineWell bind:SKLineWellDashPatternKey toObject:sudc 
withKeyPath:VALUES_KEY_PATH(SKFreehandNoteDashPatternKey) options:nil];
+    [freehandLineWell setDisplayStyle:SKLineWellDisplayStyleSimpleLine];
 }
 
 - (void)windowDidResignMain:(NSNotification *)notification {


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to