figuring out XIB lol

This commit is contained in:
neon443
2025-05-23 19:19:01 +01:00
parent 39f4a42181
commit 2f86f5b068
13 changed files with 8 additions and 11 deletions

BIN
DockPhobia/.DS_Store vendored
View File

Binary file not shown.

View File

@@ -13,6 +13,9 @@ class AppDelegate: NSObject, NSApplicationDelegate {
@IBOutlet var window: NSWindow! @IBOutlet var window: NSWindow!
@IBAction func startStopButton(_ sender: Any) {
print("button pressed")
}
var mouseTracker = MouseTracker() var mouseTracker = MouseTracker()

View File

@@ -1,55 +1,46 @@
{ {
"images" : [ "images" : [
{ {
"filename" : "DockPhobiaAppIcon 9.png",
"idiom" : "mac", "idiom" : "mac",
"scale" : "1x", "scale" : "1x",
"size" : "16x16" "size" : "16x16"
}, },
{ {
"filename" : "DockPhobiaAppIcon 8.png",
"idiom" : "mac", "idiom" : "mac",
"scale" : "2x", "scale" : "2x",
"size" : "16x16" "size" : "16x16"
}, },
{ {
"filename" : "DockPhobiaAppIcon 7.png",
"idiom" : "mac", "idiom" : "mac",
"scale" : "1x", "scale" : "1x",
"size" : "32x32" "size" : "32x32"
}, },
{ {
"filename" : "DockPhobiaAppIcon 6.png",
"idiom" : "mac", "idiom" : "mac",
"scale" : "2x", "scale" : "2x",
"size" : "32x32" "size" : "32x32"
}, },
{ {
"filename" : "DockPhobiaAppIcon 5.png",
"idiom" : "mac", "idiom" : "mac",
"scale" : "1x", "scale" : "1x",
"size" : "128x128" "size" : "128x128"
}, },
{ {
"filename" : "DockPhobiaAppIcon 4.png",
"idiom" : "mac", "idiom" : "mac",
"scale" : "2x", "scale" : "2x",
"size" : "128x128" "size" : "128x128"
}, },
{ {
"filename" : "DockPhobiaAppIcon 3.png",
"idiom" : "mac", "idiom" : "mac",
"scale" : "1x", "scale" : "1x",
"size" : "256x256" "size" : "256x256"
}, },
{ {
"filename" : "DockPhobiaAppIcon.png",
"idiom" : "mac", "idiom" : "mac",
"scale" : "2x", "scale" : "2x",
"size" : "256x256" "size" : "256x256"
}, },
{ {
"filename" : "DockPhobiaAppIcon 1.png",
"idiom" : "mac", "idiom" : "mac",
"scale" : "1x", "scale" : "1x",
"size" : "512x512" "size" : "512x512"

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 576 KiB

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 576 KiB

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 576 KiB

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 576 KiB

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 576 KiB

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 576 KiB

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 576 KiB

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 576 KiB

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 576 KiB

View File

@@ -443,11 +443,14 @@
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="system"/> <font key="font" metaFont="system"/>
</buttonCell> </buttonCell>
<connections>
<action selector="startStopButton:" target="Voe-Tx-rLC" id="53m-Sw-2tA"/>
</connections>
</button> </button>
<button verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Ucs-Y5-3jG"> <button verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Ucs-Y5-3jG">
<rect key="frame" x="112" y="72" width="127" height="65"/> <rect key="frame" x="112" y="72" width="127" height="65"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/> <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<buttonCell key="cell" type="smallSquare" title="Start/Stop" bezelStyle="smallSquare" image="NSAddTemplate" catalog="system" imagePosition="overlaps" alignment="center" lineBreakMode="truncatingTail" state="on" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="OFW-KM-Pfq"> <buttonCell key="cell" type="smallSquare" title="Start/Stop" bezelStyle="smallSquare" image="NSAddTemplate" imagePosition="overlaps" alignment="center" lineBreakMode="truncatingTail" state="on" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="OFW-KM-Pfq">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="system"/> <font key="font" metaFont="system"/>
</buttonCell> </buttonCell>
@@ -461,6 +464,6 @@
</window> </window>
</objects> </objects>
<resources> <resources>
<image name="NSAddTemplate" catalog="system" width="18" height="17"/> <image name="NSAddTemplate" width="18" height="17"/>
</resources> </resources>
</document> </document>