mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 15:11:37 +00:00
Removed commented out elements from XmlTagToDecoderSelectorMap
This commit is contained in:
parent
40a9e5f7b2
commit
f0b36d6ee8
1 changed files with 8 additions and 11 deletions
|
@ -489,10 +489,7 @@ static NSArray *XmlBoolDefaultYes = nil;
|
|||
// These define XML tags (i.e. '<autoresizingMask ...') to an associated decode method...
|
||||
XmlTagToDecoderSelectorMap = [NSDictionary dictionaryWithObjectsAndKeys:
|
||||
@"decodeTableColumnResizingMaskForElement:", @"tableColumnResizingMask",
|
||||
//@"decodeAutoresizingMaskForElement:", @"autoresizingMask",
|
||||
@"decodeWindowStyleMaskForElement:", @"windowStyleMask",
|
||||
//@"decodeWindowPositionMaskForElement:", @"windowPositionMask",
|
||||
//@"decodeModifierMaskForElement:", @"modifierMask",
|
||||
@"decodeTableViewGridLinesForElement:", @"tableViewGridLines",
|
||||
nil];
|
||||
RETAIN(XmlTagToDecoderSelectorMap);
|
||||
|
@ -1511,35 +1508,35 @@ didStartElement: (NSString*)elementName
|
|||
// equates to no key modifiers applied...
|
||||
NSUInteger mask = 0;
|
||||
|
||||
if ([[attributes objectForKey:@"option"] boolValue])
|
||||
if ([[attributes objectForKey: @"option"] boolValue])
|
||||
{
|
||||
mask |= NSAlternateKeyMask;
|
||||
}
|
||||
if ([[attributes objectForKey:@"alternate"] boolValue])
|
||||
if ([[attributes objectForKey: @"alternate"] boolValue])
|
||||
{
|
||||
mask |= NSAlternateKeyMask;
|
||||
}
|
||||
if ([[attributes objectForKey:@"command"] boolValue])
|
||||
if ([[attributes objectForKey: @"command"] boolValue])
|
||||
{
|
||||
mask |= NSCommandKeyMask;
|
||||
}
|
||||
if ([[attributes objectForKey:@"control"] boolValue])
|
||||
if ([[attributes objectForKey: @"control"] boolValue])
|
||||
{
|
||||
mask |= NSControlKeyMask;
|
||||
}
|
||||
if ([[attributes objectForKey:@"shift"] boolValue])
|
||||
if ([[attributes objectForKey: @"shift"] boolValue])
|
||||
{
|
||||
mask |= NSShiftKeyMask;
|
||||
}
|
||||
if ([[attributes objectForKey:@"numeric"] boolValue])
|
||||
if ([[attributes objectForKey: @"numeric"] boolValue])
|
||||
{
|
||||
mask |= NSNumericPadKeyMask;
|
||||
}
|
||||
if ([[attributes objectForKey:@"help"] boolValue])
|
||||
if ([[attributes objectForKey: @"help"] boolValue])
|
||||
{
|
||||
mask |= NSHelpKeyMask;
|
||||
}
|
||||
if ([[attributes objectForKey:@"function"] boolValue])
|
||||
if ([[attributes objectForKey: @"function"] boolValue])
|
||||
{
|
||||
mask |= NSFunctionKeyMask;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue