Skip to content

Commit

Permalink
playground -> ShaderViewer
Browse files Browse the repository at this point in the history
  • Loading branch information
tekezo committed Nov 5, 2023
1 parent e8e00e8 commit dddbb31
Show file tree
Hide file tree
Showing 14 changed files with 281 additions and 229 deletions.
1 change: 0 additions & 1 deletion playground/.gitignore

This file was deleted.

217 changes: 0 additions & 217 deletions playground/Metal.playground/Contents.swift

This file was deleted.

4 changes: 0 additions & 4 deletions playground/Metal.playground/contents.xcplayground

This file was deleted.

This file was deleted.

1 change: 1 addition & 0 deletions src/ShaderViewer/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/Info.plist
6 changes: 6 additions & 0 deletions src/ShaderViewer/Assets.xcassets/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"info" : {
"author" : "xcode",
"version" : 1
}
}
94 changes: 94 additions & 0 deletions src/ShaderViewer/Base.lproj/Main.storyboard
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.Storyboard.XIB" version="3.0" toolsVersion="22155" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
<dependencies>
<deployment identifier="macosx"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="22155"/>
</dependencies>
<scenes>
<!--Application-->
<scene sceneID="JPo-4y-FX3">
<objects>
<application id="hnw-xV-0zn" sceneMemberID="viewController">
<menu key="mainMenu" title="Main Menu" systemMenu="main" id="AYu-sK-qS6">
<items>
<menuItem title="ShaderViewer" id="1Xt-HY-uBw">
<modifierMask key="keyEquivalentModifierMask"/>
<menu key="submenu" title="ShaderViewer" id="D9K-b0-asS">
<items>
<menuItem title="Hide Application" keyEquivalent="h" id="RBv-zO-5W0" userLabel="Hide ShaderViewer">
<connections>
<action selector="hide:" target="Ady-hI-5gd" id="2nq-xm-yVT"/>
</connections>
</menuItem>
<menuItem title="Hide Others" keyEquivalent="h" id="nFI-ka-Te7">
<modifierMask key="keyEquivalentModifierMask" option="YES" command="YES"/>
<connections>
<action selector="hideOtherApplications:" target="Ady-hI-5gd" id="0SN-OI-Fbk"/>
</connections>
</menuItem>
<menuItem title="Show All" id="eVk-DF-4FK">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="unhideAllApplications:" target="Ady-hI-5gd" id="IOq-w0-MAd"/>
</connections>
</menuItem>
<menuItem isSeparatorItem="YES" id="dMY-mI-2eR"/>
<menuItem title="Quit Application" keyEquivalent="q" id="RKW-tU-Ibb" userLabel="Quit ShaderViewer">
<connections>
<action selector="terminate:" target="Ady-hI-5gd" id="hVj-Jw-BEh"/>
</connections>
</menuItem>
</items>
</menu>
</menuItem>
<menuItem title="File" id="sqp-7n-Bo9">
<modifierMask key="keyEquivalentModifierMask"/>
<menu key="submenu" title="File" id="5yU-EK-1dy">
<items>
<menuItem title="Close" keyEquivalent="w" id="Njl-Zk-tJ4">
<connections>
<action selector="performClose:" target="Ady-hI-5gd" id="ziO-zg-qXn"/>
</connections>
</menuItem>
</items>
</menu>
</menuItem>
<menuItem title="Window" id="eIU-3x-4Ew">
<modifierMask key="keyEquivalentModifierMask"/>
<menu key="submenu" title="Window" systemMenu="window" id="3ti-MB-RCR">
<items>
<menuItem title="Minimize" keyEquivalent="m" id="I5g-wP-BeQ">
<connections>
<action selector="performMiniaturize:" target="Ady-hI-5gd" id="CAN-7r-JeV"/>
</connections>
</menuItem>
<menuItem title="Zoom" id="n6K-YV-Dun">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="performZoom:" target="Ady-hI-5gd" id="Jwp-ct-fa9"/>
</connections>
</menuItem>
<menuItem isSeparatorItem="YES" id="azU-Jt-CXo"/>
<menuItem title="Bring All to Front" id="0M6-XD-tAy">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="arrangeInFront:" target="Ady-hI-5gd" id="sZm-zZ-g8Z"/>
</connections>
</menuItem>
</items>
</menu>
</menuItem>
</items>
</menu>
<connections>
<outlet property="delegate" destination="Voe-Tx-rLC" id="PrD-fu-P6m"/>
</connections>
</application>
<customObject id="Voe-Tx-rLC" customClass="AppDelegate" customModule="Tinkle_ShaderViewer" customModuleProvider="target"/>
<customObject id="YLy-65-1bz" customClass="NSFontManager"/>
<customObject id="Ady-hI-5gd" userLabel="First Responder" customClass="NSResponder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="75" y="0.0"/>
</scene>
</scenes>
</document>
36 changes: 36 additions & 0 deletions src/ShaderViewer/Info.plist.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIconFile</key>
<string>app.icns</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
<key>CFBundleShortVersionString</key>
<string>@VERSION@</string>
<key>CFBundleVersion</key>
<string>@VERSION@</string>
<key>LSMinimumSystemVersion</key>
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2020 Takayama Fumihiko. All rights reserved.</string>
<key>NSMainStoryboardFile</key>
<string>Main</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
<key>NSSupportsAutomaticTermination</key>
<false/>
<key>NSSupportsSuddenTermination</key>
<true/>
</dict>
</plist>
Loading

0 comments on commit dddbb31

Please sign in to comment.