mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-04-22 22:20:44 +00:00
* English.lproj/Gorm.gorm: Changed delete to require command,
it was causing issues with editing text fields. * English.lproj/GormScrollViewAttributesInspector.gorm * GormCore/GormScrollViewAttributesInspector.h * GormCore/GormScrollViewAttributesInspector.m: Added ruler switches to inspector. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@25861 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
1347eb518d
commit
4b62dcb807
7 changed files with 42 additions and 5 deletions
|
@ -1,3 +1,12 @@
|
|||
2008-01-04 13:22-EST Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* English.lproj/Gorm.gorm: Changed delete to require command,
|
||||
it was causing issues with editing text fields.
|
||||
* English.lproj/GormScrollViewAttributesInspector.gorm
|
||||
* GormCore/GormScrollViewAttributesInspector.h
|
||||
* GormCore/GormScrollViewAttributesInspector.m: Added ruler switches
|
||||
to inspector.
|
||||
|
||||
2008-01-04 12:05-EST Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* GormCore/GormDocument.m
|
||||
|
|
Binary file not shown.
|
@ -2,11 +2,13 @@
|
|||
"## Comment" = "Do NOT change this file, Gorm maintains it";
|
||||
FirstResponder = {
|
||||
Actions = (
|
||||
"orderFrontFontPanel:",
|
||||
"borderSelected:",
|
||||
"colorSelected:",
|
||||
"horizontalRuler:",
|
||||
"horizontalSelected:",
|
||||
"verticalSelected:",
|
||||
"colorSelected:"
|
||||
"verticalRuler:",
|
||||
"orderFrontFontPanel:",
|
||||
"verticalSelected:"
|
||||
);
|
||||
Super = NSObject;
|
||||
};
|
||||
|
@ -15,7 +17,9 @@
|
|||
"borderSelected:",
|
||||
"horizontalSelected:",
|
||||
"verticalSelected:",
|
||||
"colorSelected:"
|
||||
"colorSelected:",
|
||||
"horizontalRuler:",
|
||||
"verticalRuler:"
|
||||
);
|
||||
Outlets = (
|
||||
borderMatrix,
|
||||
|
@ -23,7 +27,9 @@
|
|||
verticalScroll,
|
||||
color,
|
||||
lineAmount,
|
||||
pageContext
|
||||
pageContext,
|
||||
horizontalRuler,
|
||||
verticalRuler
|
||||
);
|
||||
Super = IBInspector;
|
||||
};
|
||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -36,10 +36,14 @@
|
|||
id color;
|
||||
id verticalScroll;
|
||||
id horizontalScroll;
|
||||
id verticalRuler;
|
||||
id horizontalRuler;
|
||||
id borderMatrix;
|
||||
}
|
||||
- (void) colorSelected: (id)sender;
|
||||
- (void) verticalSelected: (id)sender;
|
||||
- (void) horizontalSelected: (id)sender;
|
||||
- (void) verticalRuler: (id)sender;
|
||||
- (void) horizontalRuler: (id)sender;
|
||||
- (void) borderSelected: (id)sender;
|
||||
@end
|
||||
|
|
|
@ -62,6 +62,8 @@
|
|||
[color setColor: [object backgroundColor]];
|
||||
[horizontalScroll setState: [object hasHorizontalScroller]?NSOnState:NSOffState];
|
||||
[verticalScroll setState: [object hasVerticalScroller]?NSOnState:NSOffState];
|
||||
[horizontalRuler setState: [object hasHorizontalRuler]?NSOnState:NSOffState];
|
||||
[verticalRuler setState: [object hasVerticalRuler]?NSOnState:NSOffState];
|
||||
}
|
||||
|
||||
- (void) setObject: (id)anObject
|
||||
|
@ -94,6 +96,22 @@
|
|||
}
|
||||
|
||||
|
||||
- (void) verticalRuler: (id)sender
|
||||
{
|
||||
/* insert your code here */
|
||||
[super ok: sender];
|
||||
[object setHasVerticalRuler: ([verticalRuler state] == NSOnState)];
|
||||
}
|
||||
|
||||
|
||||
- (void) horizontalRuler: (id)sender
|
||||
{
|
||||
/* insert your code here */
|
||||
[super ok: sender];
|
||||
[object setHasHorizontalRuler: ([horizontalRuler state] == NSOnState)];
|
||||
}
|
||||
|
||||
|
||||
- (void) borderSelected: (id)sender
|
||||
{
|
||||
/* insert your code here */
|
||||
|
|
Loading…
Reference in a new issue