Permalink
Browse files

Revert "Localization, Auto Layout, etc."

  • Loading branch information...
1 parent e5d9771 commit 66f362eaaba993b5ffbfd4b9b13c3731a871f527 @clobber clobber committed Dec 22, 2015
Showing with 2,439 additions and 592 deletions.
  1. +39 −3 Interface Graphics/Theme.plist
  2. +1 −1 OpenEmu/Base.lproj/OEGameScanner.xib
  3. +1 −1 OpenEmu/Base.lproj/OELibraryGamesViewController.xib
  4. +3 −3 OpenEmu/Base.lproj/OEPrefCoresController.xib
  5. +25 −50 OpenEmu/Base.lproj/OEPrefGameplayController.xib
  6. +108 −151 OpenEmu/Base.lproj/OEPrefLibraryController.xib
  7. 0 OpenEmu/{ → Base.lproj}/Preferences.xib
  8. +4 −4 OpenEmu/OEGameCollectionViewController.m
  9. +1 −1 OpenEmu/OELibraryGamesViewController.m
  10. +1 −1 OpenEmu/OEPrefDebugController.m
  11. +48 −20 OpenEmu/OpenEmu.xcodeproj/project.pbxproj
  12. +2 −2 OpenEmu/de.lproj/ControlLabels.strings
  13. +28 −24 OpenEmu/de.lproj/Localizable.strings
  14. +149 −77 OpenEmu/de.lproj/MainMenu.strings
  15. +2 −2 OpenEmu/de.lproj/OEGameScanner.strings
  16. +1 −1 OpenEmu/de.lproj/OELibraryGamesViewController.strings
  17. +0 −3 OpenEmu/de.lproj/OEPrefControlsController.strings
  18. +177 −0 OpenEmu/de.lproj/OEPrefControlsController.xib
  19. +0 −30 OpenEmu/de.lproj/OEPrefLibraryController.strings
  20. +243 −0 OpenEmu/de.lproj/OEPrefLibraryController.xib
  21. +21 −0 OpenEmu/de.lproj/Preferences.strings
  22. 0 OpenEmu/{ → en.lproj}/Credits.rtf
  23. +19 −15 OpenEmu/en.lproj/Localizable.strings
  24. +19 −15 OpenEmu/es.lproj/Localizable.strings
  25. +102 −0 OpenEmu/es.lproj/MainMenu.strings
  26. +2 −2 OpenEmu/es.lproj/OEGameScanner.strings
  27. +2 −2 OpenEmu/es.lproj/OELibraryGamesViewController.strings
  28. +21 −0 OpenEmu/es.lproj/Preferences.strings
  29. +43 −39 OpenEmu/fr.lproj/Localizable.strings
  30. +102 −0 OpenEmu/fr.lproj/MainMenu.strings
  31. +2 −2 OpenEmu/fr.lproj/OEGameScanner.strings
  32. +2 −2 OpenEmu/fr.lproj/OELibraryController.strings
  33. +2 −2 OpenEmu/fr.lproj/OELibraryGamesViewController.strings
  34. +0 −3 OpenEmu/fr.lproj/OEPrefControlsController.strings
  35. +177 −0 OpenEmu/fr.lproj/OEPrefControlsController.xib
  36. +0 −30 OpenEmu/fr.lproj/OEPrefLibraryController.strings
  37. +243 −0 OpenEmu/fr.lproj/OEPrefLibraryController.xib
  38. +21 −0 OpenEmu/fr.lproj/Preferences.strings
  39. +19 −15 OpenEmu/it.lproj/Localizable.strings
  40. +102 −0 OpenEmu/it.lproj/MainMenu.strings
  41. +2 −2 OpenEmu/it.lproj/OEGameScanner.strings
  42. +2 −2 OpenEmu/it.lproj/OELibraryGamesViewController.strings
  43. +21 −0 OpenEmu/it.lproj/Preferences.strings
  44. +19 −15 OpenEmu/pt.lproj/Localizable.strings
  45. +102 −0 OpenEmu/pt.lproj/MainMenu.strings
  46. +2 −2 OpenEmu/pt.lproj/OEGameScanner.strings
  47. +2 −2 OpenEmu/pt.lproj/OELibraryGamesViewController.strings
  48. +21 −0 OpenEmu/pt.lproj/Preferences.strings
  49. +19 −15 OpenEmu/ru.lproj/Localizable.strings
  50. +103 −1 OpenEmu/ru.lproj/MainMenu.strings
  51. +2 −2 OpenEmu/ru.lproj/OEGameScanner.strings
  52. +2 −2 OpenEmu/ru.lproj/OELibraryGamesViewController.strings
  53. +0 −18 OpenEmu/ru.lproj/OEPrefGameplayController.strings
  54. +144 −0 OpenEmu/ru.lproj/OEPrefGameplayController.xib
  55. +0 −30 OpenEmu/ru.lproj/OEPrefLibraryController.strings
  56. +245 −0 OpenEmu/ru.lproj/OEPrefLibraryController.xib
  57. +21 −0 OpenEmu/ru.lproj/Preferences.strings
@@ -255,6 +255,15 @@
<dict>
<key>Color</key>
<string>white</string>
+ <key>Shadow</key>
+ <dict>
+ <key>Blur Radius</key>
+ <integer>1</integer>
+ <key>Color</key>
+ <string>black</string>
+ <key>Offset</key>
+ <string>{0,-1}</string>
+ </dict>
</dict>
<key>Mouse Over, Pressed</key>
<dict>
@@ -265,7 +274,7 @@
<key>Blur Radius</key>
<integer>5</integer>
<key>Color</key>
- <string>white</string>
+ <string>black</string>
<key>Offset</key>
<string>{0,-1}</string>
</dict>
@@ -278,6 +287,15 @@
<string>rgba(174,173,173,1.0)</string>
<key>Family</key>
<string>$SYSTEM_FONT_FAMILY</string>
+ <key>Shadow</key>
+ <dict>
+ <key>Blur Radius</key>
+ <integer>1</integer>
+ <key>Color</key>
+ <string>rgba(0,0,0,1.0)</string>
+ <key>Offset</key>
+ <string>{0,1}</string>
+ </dict>
<key>Size</key>
<integer>11</integer>
<key>Traits</key>
@@ -337,6 +355,15 @@
<string>rgba(174,173,173,1.0)</string>
<key>Family</key>
<string>$SYSTEM_FONT_FAMILY</string>
+ <key>Shadow</key>
+ <dict>
+ <key>Blur Radius</key>
+ <integer>1</integer>
+ <key>Color</key>
+ <string>rgba(0,0,0,1.0)</string>
+ <key>Offset</key>
+ <string>{0,1}</string>
+ </dict>
<key>Size</key>
<integer>14</integer>
<key>Traits</key>
@@ -350,6 +377,15 @@
<string>rgba(156,156,156,1.0)</string>
<key>Family</key>
<string>$SYSTEM_FONT_FAMILY</string>
+ <key>Shadow</key>
+ <dict>
+ <key>Blur Radius</key>
+ <integer>1</integer>
+ <key>Color</key>
+ <string>rgba(0,0,0,0.4)</string>
+ <key>Offset</key>
+ <string>{0,-1}</string>
+ </dict>
<key>Size</key>
<integer>11</integer>
<key>Weight</key>
@@ -1410,8 +1446,8 @@
<dict>
<key>Colors</key>
<array>
- <string>#5a5a5a00</string>
- <string>#5a5a5a</string>
+ <string>#4a4a4a</string>
+ <string>#292929</string>
</array>
<key>Locations</key>
<array>
@@ -47,7 +47,7 @@
</buttonCell>
</tableColumn>
<tableColumn identifier="path" width="491" minWidth="100" maxWidth="1100000" id="75">
- <tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="left" title="Name">
+ <tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="left" title="Path">
<font key="font" metaFont="smallSystem"/>
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" white="0.33333298560000002" alpha="1" colorSpace="calibratedWhite"/>
@@ -162,7 +162,7 @@
</connections>
</menuItem>
<menuItem isSeparatorItem="YES" id="5EQ-pA-c2w"/>
- <menuItem title="Add to Library…" id="1U8-Yu-nH3">
+ <menuItem title="Add To Library…" id="1U8-Yu-nH3" userLabel="Add To Library…">
<connections>
<action selector="addToLibrary:" target="-1" id="dMl-dD-TKi"/>
</connections>
@@ -24,7 +24,7 @@
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<tableView focusRingType="none" verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="none" alternatingRowBackgroundColors="YES" columnReordering="NO" columnResizing="NO" multipleSelection="NO" autosaveColumns="NO" typeSelect="NO" rowHeight="23" headerView="52" id="33" customClass="OETableView">
- <rect key="frame" x="0.0" y="0.0" width="430" height="437"/>
+ <rect key="frame" x="0.0" y="0.0" width="424" height="437"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<size key="intercellSpacing" width="3" height="2"/>
<color key="backgroundColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
@@ -44,7 +44,7 @@
</textFieldCell>
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
</tableColumn>
- <tableColumn identifier="systemColumn" editable="NO" width="202" minWidth="202" maxWidth="202" id="50">
+ <tableColumn identifier="systemColumn" editable="NO" width="196" minWidth="196" maxWidth="196" id="50">
<tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="left" title="Console">
<font key="font" metaFont="smallSystem"/>
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
@@ -84,7 +84,7 @@
<autoresizingMask key="autoresizingMask"/>
</scroller>
<tableHeaderView key="headerView" id="52">
- <rect key="frame" x="0.0" y="0.0" width="430" height="23"/>
+ <rect key="frame" x="0.0" y="0.0" width="424" height="23"/>
<autoresizingMask key="autoresizingMask"/>
</tableHeaderView>
</scrollView>
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="9060" systemVersion="15B42" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
+<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="9060" systemVersion="15B42" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none">
<dependencies>
<deployment identifier="macosx"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="9060"/>
@@ -17,15 +17,17 @@
<rect key="frame" x="0.0" y="0.0" width="423" height="254"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES"/>
<subviews>
- <customView translatesAutoresizingMaskIntoConstraints="NO" id="4" customClass="OEHorizontalLine">
- <rect key="frame" x="0.0" y="157" width="423" height="2"/>
+ <customView id="4" customClass="OEHorizontalLine">
+ <rect key="frame" x="0.0" y="157" width="432" height="2"/>
+ <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
<animations/>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="string" keyPath="themeKey" value="preferences_line"/>
</userDefinedRuntimeAttributes>
</customView>
- <button translatesAutoresizingMaskIntoConstraints="NO" id="5" userLabel="Check Box 1" customClass="OEButton">
- <rect key="frame" x="42" y="90" width="215" height="18"/>
+ <button id="5" userLabel="Check Box" customClass="OEButton">
+ <rect key="frame" x="42" y="90" width="223" height="18"/>
+ <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<animations/>
<buttonCell key="cell" type="check" title="Always launch games fullscreen" bezelStyle="regularSquare" imagePosition="left" alignment="left" state="on" inset="2" id="26" userLabel="Check Box Cell" customClass="OEButtonCell">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
@@ -38,8 +40,9 @@
<binding destination="28" name="value" keyPath="values.fullScreen" id="32"/>
</connections>
</button>
- <button translatesAutoresizingMaskIntoConstraints="NO" id="6" userLabel="Check Box 2" customClass="OEButton">
- <rect key="frame" x="42" y="61" width="248" height="18"/>
+ <button id="6" userLabel="Check Box" customClass="OEButton">
+ <rect key="frame" x="42" y="61" width="258" height="18"/>
+ <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<animations/>
<buttonCell key="cell" type="check" title="Always use popout gameplay window" bezelStyle="regularSquare" imagePosition="left" alignment="left" state="on" inset="2" id="25" userLabel="Check Box Cell" customClass="OEButtonCell">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
@@ -52,8 +55,9 @@
<binding destination="28" name="value" keyPath="values.forcePopout" id="65"/>
</connections>
</button>
- <button translatesAutoresizingMaskIntoConstraints="NO" id="56" userLabel="Check Box 3" customClass="OEButton">
- <rect key="frame" x="42" y="32" width="293" height="18"/>
+ <button id="56" userLabel="Check Box" customClass="OEButton">
+ <rect key="frame" x="42" y="32" width="305" height="18"/>
+ <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<animations/>
<buttonCell key="cell" type="check" title="Always pause gameplay when in background" bezelStyle="regularSquare" imagePosition="left" alignment="left" state="on" inset="2" id="57" userLabel="Check Box Cell" customClass="OEButtonCell">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
@@ -66,8 +70,9 @@
<binding destination="28" name="value" keyPath="values.backgroundPause" id="58"/>
</connections>
</button>
- <textField verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="13" customClass="OELabel">
- <rect key="frame" x="39" y="124" width="366" height="14"/>
+ <textField verticalHuggingPriority="750" id="13" customClass="OELabel">
+ <rect key="frame" x="41" y="124" width="139" height="14"/>
+ <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<animations/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Window Management" id="14" customClass="OELabelCell">
<font key="font" metaFont="smallSystemBold"/>
@@ -78,8 +83,9 @@
<userDefinedRuntimeAttribute type="string" keyPath="themeKey" value="preferences_headline"/>
</userDefinedRuntimeAttributes>
</textField>
- <textField verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="8" customClass="OELabel">
- <rect key="frame" x="39" y="220" width="366" height="14"/>
+ <textField verticalHuggingPriority="750" id="8" customClass="OELabel">
+ <rect key="frame" x="41" y="220" width="139" height="14"/>
+ <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<animations/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Display Mode" id="23" customClass="OELabelCell">
<font key="font" metaFont="smallSystemBold"/>
@@ -90,12 +96,9 @@
<userDefinedRuntimeAttribute type="string" keyPath="themeKey" value="preferences_headline"/>
</userDefinedRuntimeAttributes>
</textField>
- <textField verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="10" customClass="OELabel">
- <rect key="frame" x="39" y="185" width="42" height="17"/>
- <constraints>
- <constraint firstAttribute="width" relation="lessThanOrEqual" constant="138" id="RzW-xY-L99"/>
- <constraint firstAttribute="width" relation="greaterThanOrEqual" constant="38" id="e4J-aE-P1L"/>
- </constraints>
+ <textField verticalHuggingPriority="750" id="10" customClass="OELabel">
+ <rect key="frame" x="41" y="185" width="41" height="17"/>
+ <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<animations/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Filter:" id="21" customClass="OELabelCell">
<font key="font" metaFont="system"/>
@@ -106,12 +109,9 @@
<userDefinedRuntimeAttribute type="string" keyPath="themeKey" value="preferences_headline"/>
</userDefinedRuntimeAttributes>
</textField>
- <popUpButton focusRingType="none" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="11" customClass="OEPopUpButton">
- <rect key="frame" x="83" y="183" width="217" height="23"/>
- <constraints>
- <constraint firstAttribute="width" constant="212" id="6jh-MX-q9D"/>
- <constraint firstAttribute="height" constant="18" id="cz9-gs-8lo"/>
- </constraints>
+ <popUpButton focusRingType="none" verticalHuggingPriority="750" id="11" customClass="OEPopUpButton">
+ <rect key="frame" x="84" y="183" width="217" height="26"/>
+ <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<animations/>
<popUpButtonCell key="cell" type="push" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" borderStyle="borderAndBezel" focusRingType="none" imageScaling="proportionallyDown" inset="2" id="16" customClass="OEPopUpButtonCell">
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
@@ -138,31 +138,6 @@
</connections>
</popUpButton>
</subviews>
- <constraints>
- <constraint firstItem="5" firstAttribute="top" secondItem="13" secondAttribute="bottom" constant="18" id="1Sm-n6-qK3"/>
- <constraint firstItem="5" firstAttribute="trailing" relation="lessThanOrEqual" secondItem="3" secondAttribute="trailing" constant="-20" id="4HD-SN-NMY"/>
- <constraint firstItem="8" firstAttribute="leading" secondItem="3" secondAttribute="leading" constant="41" id="5UT-Pf-fwo"/>
- <constraint firstItem="8" firstAttribute="top" secondItem="3" secondAttribute="top" constant="20" symbolic="YES" id="5t2-Ez-iVb"/>
- <constraint firstItem="6" firstAttribute="trailing" relation="lessThanOrEqual" secondItem="3" secondAttribute="trailing" constant="-20" id="7CH-K7-Rt8"/>
- <constraint firstItem="13" firstAttribute="leading" secondItem="8" secondAttribute="leading" id="94z-fj-rki"/>
- <constraint firstItem="4" firstAttribute="top" secondItem="10" secondAttribute="bottom" constant="26" id="CWF-e5-11D"/>
- <constraint firstItem="13" firstAttribute="top" secondItem="4" secondAttribute="bottom" constant="19" id="E14-se-5DT"/>
- <constraint firstItem="56" firstAttribute="trailing" relation="lessThanOrEqual" secondItem="3" secondAttribute="trailing" constant="-20" id="GWb-bf-US8"/>
- <constraint firstItem="56" firstAttribute="leading" secondItem="6" secondAttribute="leading" id="J4j-df-qzA"/>
- <constraint firstItem="4" firstAttribute="trailing" secondItem="3" secondAttribute="trailing" id="L4M-Xb-YZY"/>
- <constraint firstItem="6" firstAttribute="top" secondItem="5" secondAttribute="bottom" constant="15" id="N4M-iK-I7Q"/>
- <constraint firstItem="10" firstAttribute="leading" secondItem="8" secondAttribute="leading" id="PBs-z6-n4i"/>
- <constraint firstItem="11" firstAttribute="leading" secondItem="10" secondAttribute="trailing" constant="6" id="WIH-K9-L8E"/>
- <constraint firstItem="5" firstAttribute="leading" secondItem="13" secondAttribute="leading" constant="3" id="YSV-6s-eIC"/>
- <constraint firstItem="56" firstAttribute="top" secondItem="6" secondAttribute="bottom" constant="15" id="ash-0e-CGw"/>
- <constraint firstItem="11" firstAttribute="bottom" secondItem="4" secondAttribute="top" constant="-27" id="eHO-aw-my1"/>
- <constraint firstItem="56" firstAttribute="bottom" secondItem="3" secondAttribute="bottom" constant="-34" id="n4i-QC-gPS"/>
- <constraint firstItem="4" firstAttribute="leading" secondItem="3" secondAttribute="leading" id="nbB-nj-haG"/>
- <constraint firstItem="8" firstAttribute="trailing" secondItem="3" secondAttribute="trailing" constant="-20" id="oXB-GC-Mza"/>
- <constraint firstItem="10" firstAttribute="top" secondItem="8" secondAttribute="bottom" constant="18" id="pnr-Sm-nkC"/>
- <constraint firstItem="6" firstAttribute="leading" secondItem="5" secondAttribute="leading" id="vYB-95-LrV"/>
- <constraint firstItem="13" firstAttribute="trailing" secondItem="3" secondAttribute="trailing" constant="-20" id="zX4-JN-fUM"/>
- </constraints>
<animations/>
</view>
<userDefaultsController id="28" userLabel="Shared User Defaults Controller"/>
Oops, something went wrong.

0 comments on commit 66f362e

Please sign in to comment.