From: Ruben Beltran del Rio Date: Thu, 12 Sep 2024 14:03:57 +0000 (+0200) Subject: Add new icons X-Git-Tag: 1.0.1~1 X-Git-Url: https://git.r.bdr.sh/rbdr/captura/commitdiff_plain/3472041dfee0a6e8c8a29e949f239bae13e1a18f?ds=sidebyside;hp=082b61f32344872d4360ad4c71cf62c99de62ae8 Add new icons --- diff --git a/Captura.xcodeproj/xcuserdata/rbdr.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist b/Captura.xcodeproj/xcuserdata/rbdr.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist index c1ed644..272be1a 100644 --- a/Captura.xcodeproj/xcuserdata/rbdr.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist +++ b/Captura.xcodeproj/xcuserdata/rbdr.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist @@ -14,8 +14,8 @@ filePath = "Captura/CapturaApp.swift" startingColumnNumber = "9223372036854775807" endingColumnNumber = "9223372036854775807" - startingLineNumber = "345" - endingLineNumber = "345" + startingLineNumber = "346" + endingLineNumber = "346" landmarkName = "failed(_:)" landmarkType = "7"> @@ -30,8 +30,8 @@ filePath = "Captura/CapturaApp.swift" startingColumnNumber = "9223372036854775807" endingColumnNumber = "9223372036854775807" - startingLineNumber = "290" - endingLineNumber = "290" + startingLineNumber = "291" + endingLineNumber = "291" landmarkName = "startRecording()" landmarkType = "7"> diff --git a/Captura/Assets.xcassets/MenuBar/Contents.json b/Captura/Assets.xcassets/MenuBar/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/Captura/Assets.xcassets/MenuBar/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Captura/Assets.xcassets/MenuBar/ERR.imageset/Contents.json b/Captura/Assets.xcassets/MenuBar/ERR.imageset/Contents.json new file mode 100644 index 0000000..002fac2 --- /dev/null +++ b/Captura/Assets.xcassets/MenuBar/ERR.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "filename" : "ERR.png", + "idiom" : "universal", + "scale" : "1x" + }, + { + "filename" : "ERR@2x.png", + "idiom" : "universal", + "scale" : "2x" + }, + { + "filename" : "ERR@3x.png", + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Captura/Assets.xcassets/MenuBar/ERR.imageset/ERR.png b/Captura/Assets.xcassets/MenuBar/ERR.imageset/ERR.png new file mode 100644 index 0000000..520ceb0 Binary files /dev/null and b/Captura/Assets.xcassets/MenuBar/ERR.imageset/ERR.png differ diff --git a/Captura/Assets.xcassets/MenuBar/ERR.imageset/ERR@2x.png b/Captura/Assets.xcassets/MenuBar/ERR.imageset/ERR@2x.png new file mode 100644 index 0000000..7112f2f Binary files /dev/null and b/Captura/Assets.xcassets/MenuBar/ERR.imageset/ERR@2x.png differ diff --git a/Captura/Assets.xcassets/MenuBar/ERR.imageset/ERR@3x.png b/Captura/Assets.xcassets/MenuBar/ERR.imageset/ERR@3x.png new file mode 100644 index 0000000..8278064 Binary files /dev/null and b/Captura/Assets.xcassets/MenuBar/ERR.imageset/ERR@3x.png differ diff --git a/Captura/Assets.xcassets/MenuBar/Idle.imageset/Contents.json b/Captura/Assets.xcassets/MenuBar/Idle.imageset/Contents.json new file mode 100644 index 0000000..d1096d8 --- /dev/null +++ b/Captura/Assets.xcassets/MenuBar/Idle.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "filename" : "Idle.png", + "idiom" : "universal", + "scale" : "1x" + }, + { + "filename" : "Idle@2x.png", + "idiom" : "universal", + "scale" : "2x" + }, + { + "filename" : "Idle@3x.png", + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Captura/Assets.xcassets/MenuBar/Idle.imageset/Idle.png b/Captura/Assets.xcassets/MenuBar/Idle.imageset/Idle.png new file mode 100644 index 0000000..a7edd06 Binary files /dev/null and b/Captura/Assets.xcassets/MenuBar/Idle.imageset/Idle.png differ diff --git a/Captura/Assets.xcassets/MenuBar/Idle.imageset/Idle@2x.png b/Captura/Assets.xcassets/MenuBar/Idle.imageset/Idle@2x.png new file mode 100644 index 0000000..1abacbb Binary files /dev/null and b/Captura/Assets.xcassets/MenuBar/Idle.imageset/Idle@2x.png differ diff --git a/Captura/Assets.xcassets/MenuBar/Idle.imageset/Idle@3x.png b/Captura/Assets.xcassets/MenuBar/Idle.imageset/Idle@3x.png new file mode 100644 index 0000000..bc51760 Binary files /dev/null and b/Captura/Assets.xcassets/MenuBar/Idle.imageset/Idle@3x.png differ diff --git a/Captura/Assets.xcassets/MenuBar/OK.imageset/Contents.json b/Captura/Assets.xcassets/MenuBar/OK.imageset/Contents.json new file mode 100644 index 0000000..63b7af8 --- /dev/null +++ b/Captura/Assets.xcassets/MenuBar/OK.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "filename" : "OK.png", + "idiom" : "universal", + "scale" : "1x" + }, + { + "filename" : "OK@2x.png", + "idiom" : "universal", + "scale" : "2x" + }, + { + "filename" : "OK@3x.png", + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Captura/Assets.xcassets/MenuBar/OK.imageset/OK.png b/Captura/Assets.xcassets/MenuBar/OK.imageset/OK.png new file mode 100644 index 0000000..6526bf9 Binary files /dev/null and b/Captura/Assets.xcassets/MenuBar/OK.imageset/OK.png differ diff --git a/Captura/Assets.xcassets/MenuBar/OK.imageset/OK@2x.png b/Captura/Assets.xcassets/MenuBar/OK.imageset/OK@2x.png new file mode 100644 index 0000000..1161c6a Binary files /dev/null and b/Captura/Assets.xcassets/MenuBar/OK.imageset/OK@2x.png differ diff --git a/Captura/Assets.xcassets/MenuBar/OK.imageset/OK@3x.png b/Captura/Assets.xcassets/MenuBar/OK.imageset/OK@3x.png new file mode 100644 index 0000000..59da3d1 Binary files /dev/null and b/Captura/Assets.xcassets/MenuBar/OK.imageset/OK@3x.png differ diff --git a/Captura/Assets.xcassets/MenuBar/Ready to Record.imageset/Contents.json b/Captura/Assets.xcassets/MenuBar/Ready to Record.imageset/Contents.json new file mode 100644 index 0000000..b021348 --- /dev/null +++ b/Captura/Assets.xcassets/MenuBar/Ready to Record.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "filename" : "Ready to Record.png", + "idiom" : "universal", + "scale" : "1x" + }, + { + "filename" : "Ready to Record@2x.png", + "idiom" : "universal", + "scale" : "2x" + }, + { + "filename" : "Ready to Record@3x.png", + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Captura/Assets.xcassets/MenuBar/Ready to Record.imageset/Ready to Record.png b/Captura/Assets.xcassets/MenuBar/Ready to Record.imageset/Ready to Record.png new file mode 100644 index 0000000..6e5e512 Binary files /dev/null and b/Captura/Assets.xcassets/MenuBar/Ready to Record.imageset/Ready to Record.png differ diff --git a/Captura/Assets.xcassets/MenuBar/Ready to Record.imageset/Ready to Record@2x.png b/Captura/Assets.xcassets/MenuBar/Ready to Record.imageset/Ready to Record@2x.png new file mode 100644 index 0000000..6ead513 Binary files /dev/null and b/Captura/Assets.xcassets/MenuBar/Ready to Record.imageset/Ready to Record@2x.png differ diff --git a/Captura/Assets.xcassets/MenuBar/Ready to Record.imageset/Ready to Record@3x.png b/Captura/Assets.xcassets/MenuBar/Ready to Record.imageset/Ready to Record@3x.png new file mode 100644 index 0000000..982b756 Binary files /dev/null and b/Captura/Assets.xcassets/MenuBar/Ready to Record.imageset/Ready to Record@3x.png differ diff --git a/Captura/Assets.xcassets/MenuBar/Selecting.imageset/Contents.json b/Captura/Assets.xcassets/MenuBar/Selecting.imageset/Contents.json new file mode 100644 index 0000000..b673e3d --- /dev/null +++ b/Captura/Assets.xcassets/MenuBar/Selecting.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "filename" : "Selecting.png", + "idiom" : "universal", + "scale" : "1x" + }, + { + "filename" : "Selecting@2x.png", + "idiom" : "universal", + "scale" : "2x" + }, + { + "filename" : "Selecting@3x.png", + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Captura/Assets.xcassets/MenuBar/Selecting.imageset/Selecting.png b/Captura/Assets.xcassets/MenuBar/Selecting.imageset/Selecting.png new file mode 100644 index 0000000..6bec2a6 Binary files /dev/null and b/Captura/Assets.xcassets/MenuBar/Selecting.imageset/Selecting.png differ diff --git a/Captura/Assets.xcassets/MenuBar/Selecting.imageset/Selecting@2x.png b/Captura/Assets.xcassets/MenuBar/Selecting.imageset/Selecting@2x.png new file mode 100644 index 0000000..6446455 Binary files /dev/null and b/Captura/Assets.xcassets/MenuBar/Selecting.imageset/Selecting@2x.png differ diff --git a/Captura/Assets.xcassets/MenuBar/Selecting.imageset/Selecting@3x.png b/Captura/Assets.xcassets/MenuBar/Selecting.imageset/Selecting@3x.png new file mode 100644 index 0000000..513b724 Binary files /dev/null and b/Captura/Assets.xcassets/MenuBar/Selecting.imageset/Selecting@3x.png differ diff --git a/Captura/Assets.xcassets/MenuBar/Stop Frame 1.imageset/Contents.json b/Captura/Assets.xcassets/MenuBar/Stop Frame 1.imageset/Contents.json new file mode 100644 index 0000000..9e8fe2a --- /dev/null +++ b/Captura/Assets.xcassets/MenuBar/Stop Frame 1.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "filename" : "Stop Frame 1.png", + "idiom" : "universal", + "scale" : "1x" + }, + { + "filename" : "Stop Frame 1@2x.png", + "idiom" : "universal", + "scale" : "2x" + }, + { + "filename" : "Stop Frame 1@3x.png", + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Captura/Assets.xcassets/MenuBar/Stop Frame 1.imageset/Stop Frame 1.png b/Captura/Assets.xcassets/MenuBar/Stop Frame 1.imageset/Stop Frame 1.png new file mode 100644 index 0000000..b37aba6 Binary files /dev/null and b/Captura/Assets.xcassets/MenuBar/Stop Frame 1.imageset/Stop Frame 1.png differ diff --git a/Captura/Assets.xcassets/MenuBar/Stop Frame 1.imageset/Stop Frame 1@2x.png b/Captura/Assets.xcassets/MenuBar/Stop Frame 1.imageset/Stop Frame 1@2x.png new file mode 100644 index 0000000..d5364ef Binary files /dev/null and b/Captura/Assets.xcassets/MenuBar/Stop Frame 1.imageset/Stop Frame 1@2x.png differ diff --git a/Captura/Assets.xcassets/MenuBar/Stop Frame 1.imageset/Stop Frame 1@3x.png b/Captura/Assets.xcassets/MenuBar/Stop Frame 1.imageset/Stop Frame 1@3x.png new file mode 100644 index 0000000..2d848df Binary files /dev/null and b/Captura/Assets.xcassets/MenuBar/Stop Frame 1.imageset/Stop Frame 1@3x.png differ diff --git a/Captura/Assets.xcassets/MenuBar/Stop Frame 2.imageset/Contents.json b/Captura/Assets.xcassets/MenuBar/Stop Frame 2.imageset/Contents.json new file mode 100644 index 0000000..4c1d115 --- /dev/null +++ b/Captura/Assets.xcassets/MenuBar/Stop Frame 2.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "filename" : "Stop Frame 2.png", + "idiom" : "universal", + "scale" : "1x" + }, + { + "filename" : "Stop Frame 2@2x.png", + "idiom" : "universal", + "scale" : "2x" + }, + { + "filename" : "Stop Frame 2@3x.png", + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Captura/Assets.xcassets/MenuBar/Stop Frame 2.imageset/Stop Frame 2.png b/Captura/Assets.xcassets/MenuBar/Stop Frame 2.imageset/Stop Frame 2.png new file mode 100644 index 0000000..e10cc55 Binary files /dev/null and b/Captura/Assets.xcassets/MenuBar/Stop Frame 2.imageset/Stop Frame 2.png differ diff --git a/Captura/Assets.xcassets/MenuBar/Stop Frame 2.imageset/Stop Frame 2@2x.png b/Captura/Assets.xcassets/MenuBar/Stop Frame 2.imageset/Stop Frame 2@2x.png new file mode 100644 index 0000000..a38b2b9 Binary files /dev/null and b/Captura/Assets.xcassets/MenuBar/Stop Frame 2.imageset/Stop Frame 2@2x.png differ diff --git a/Captura/Assets.xcassets/MenuBar/Stop Frame 2.imageset/Stop Frame 2@3x.png b/Captura/Assets.xcassets/MenuBar/Stop Frame 2.imageset/Stop Frame 2@3x.png new file mode 100644 index 0000000..dd6fea4 Binary files /dev/null and b/Captura/Assets.xcassets/MenuBar/Stop Frame 2.imageset/Stop Frame 2@3x.png differ diff --git a/Captura/Assets.xcassets/MenuBar/Stop Frame 3.imageset/Contents.json b/Captura/Assets.xcassets/MenuBar/Stop Frame 3.imageset/Contents.json new file mode 100644 index 0000000..ffa8cba --- /dev/null +++ b/Captura/Assets.xcassets/MenuBar/Stop Frame 3.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "filename" : "Stop Frame 3.png", + "idiom" : "universal", + "scale" : "1x" + }, + { + "filename" : "Stop Frame 3@2x.png", + "idiom" : "universal", + "scale" : "2x" + }, + { + "filename" : "Stop Frame 3@3x.png", + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Captura/Assets.xcassets/MenuBar/Stop Frame 3.imageset/Stop Frame 3.png b/Captura/Assets.xcassets/MenuBar/Stop Frame 3.imageset/Stop Frame 3.png new file mode 100644 index 0000000..53e3e89 Binary files /dev/null and b/Captura/Assets.xcassets/MenuBar/Stop Frame 3.imageset/Stop Frame 3.png differ diff --git a/Captura/Assets.xcassets/MenuBar/Stop Frame 3.imageset/Stop Frame 3@2x.png b/Captura/Assets.xcassets/MenuBar/Stop Frame 3.imageset/Stop Frame 3@2x.png new file mode 100644 index 0000000..e21af40 Binary files /dev/null and b/Captura/Assets.xcassets/MenuBar/Stop Frame 3.imageset/Stop Frame 3@2x.png differ diff --git a/Captura/Assets.xcassets/MenuBar/Stop Frame 3.imageset/Stop Frame 3@3x.png b/Captura/Assets.xcassets/MenuBar/Stop Frame 3.imageset/Stop Frame 3@3x.png new file mode 100644 index 0000000..48e1c99 Binary files /dev/null and b/Captura/Assets.xcassets/MenuBar/Stop Frame 3.imageset/Stop Frame 3@3x.png differ diff --git a/Captura/Assets.xcassets/MenuBar/Stop Frame 4.imageset/Contents.json b/Captura/Assets.xcassets/MenuBar/Stop Frame 4.imageset/Contents.json new file mode 100644 index 0000000..cc19fcd --- /dev/null +++ b/Captura/Assets.xcassets/MenuBar/Stop Frame 4.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "filename" : "Stop Frame 4.png", + "idiom" : "universal", + "scale" : "1x" + }, + { + "filename" : "Stop Frame 4@2x.png", + "idiom" : "universal", + "scale" : "2x" + }, + { + "filename" : "Stop Frame 4@3x.png", + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Captura/Assets.xcassets/MenuBar/Stop Frame 4.imageset/Stop Frame 4.png b/Captura/Assets.xcassets/MenuBar/Stop Frame 4.imageset/Stop Frame 4.png new file mode 100644 index 0000000..4dc14bd Binary files /dev/null and b/Captura/Assets.xcassets/MenuBar/Stop Frame 4.imageset/Stop Frame 4.png differ diff --git a/Captura/Assets.xcassets/MenuBar/Stop Frame 4.imageset/Stop Frame 4@2x.png b/Captura/Assets.xcassets/MenuBar/Stop Frame 4.imageset/Stop Frame 4@2x.png new file mode 100644 index 0000000..38e7ac3 Binary files /dev/null and b/Captura/Assets.xcassets/MenuBar/Stop Frame 4.imageset/Stop Frame 4@2x.png differ diff --git a/Captura/Assets.xcassets/MenuBar/Stop Frame 4.imageset/Stop Frame 4@3x.png b/Captura/Assets.xcassets/MenuBar/Stop Frame 4.imageset/Stop Frame 4@3x.png new file mode 100644 index 0000000..f25c72a Binary files /dev/null and b/Captura/Assets.xcassets/MenuBar/Stop Frame 4.imageset/Stop Frame 4@3x.png differ diff --git a/Captura/Assets.xcassets/MenuBar/Stop Frame 5.imageset/Contents.json b/Captura/Assets.xcassets/MenuBar/Stop Frame 5.imageset/Contents.json new file mode 100644 index 0000000..c4a672e --- /dev/null +++ b/Captura/Assets.xcassets/MenuBar/Stop Frame 5.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "filename" : "Stop Frame 5.png", + "idiom" : "universal", + "scale" : "1x" + }, + { + "filename" : "Stop Frame 5@2x.png", + "idiom" : "universal", + "scale" : "2x" + }, + { + "filename" : "Stop Frame 5@3x.png", + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Captura/Assets.xcassets/MenuBar/Stop Frame 5.imageset/Stop Frame 5.png b/Captura/Assets.xcassets/MenuBar/Stop Frame 5.imageset/Stop Frame 5.png new file mode 100644 index 0000000..46f4072 Binary files /dev/null and b/Captura/Assets.xcassets/MenuBar/Stop Frame 5.imageset/Stop Frame 5.png differ diff --git a/Captura/Assets.xcassets/MenuBar/Stop Frame 5.imageset/Stop Frame 5@2x.png b/Captura/Assets.xcassets/MenuBar/Stop Frame 5.imageset/Stop Frame 5@2x.png new file mode 100644 index 0000000..35b4300 Binary files /dev/null and b/Captura/Assets.xcassets/MenuBar/Stop Frame 5.imageset/Stop Frame 5@2x.png differ diff --git a/Captura/Assets.xcassets/MenuBar/Stop Frame 5.imageset/Stop Frame 5@3x.png b/Captura/Assets.xcassets/MenuBar/Stop Frame 5.imageset/Stop Frame 5@3x.png new file mode 100644 index 0000000..fbfe97d Binary files /dev/null and b/Captura/Assets.xcassets/MenuBar/Stop Frame 5.imageset/Stop Frame 5@3x.png differ diff --git a/Captura/Assets.xcassets/MenuBar/Upload Frame 1.imageset/Contents.json b/Captura/Assets.xcassets/MenuBar/Upload Frame 1.imageset/Contents.json new file mode 100644 index 0000000..26ff362 --- /dev/null +++ b/Captura/Assets.xcassets/MenuBar/Upload Frame 1.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "filename" : "Upload Frame 1.png", + "idiom" : "universal", + "scale" : "1x" + }, + { + "filename" : "Upload Frame 1@2x.png", + "idiom" : "universal", + "scale" : "2x" + }, + { + "filename" : "Upload Frame 1@3x.png", + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Captura/Assets.xcassets/MenuBar/Upload Frame 1.imageset/Upload Frame 1.png b/Captura/Assets.xcassets/MenuBar/Upload Frame 1.imageset/Upload Frame 1.png new file mode 100644 index 0000000..76f221b Binary files /dev/null and b/Captura/Assets.xcassets/MenuBar/Upload Frame 1.imageset/Upload Frame 1.png differ diff --git a/Captura/Assets.xcassets/MenuBar/Upload Frame 1.imageset/Upload Frame 1@2x.png b/Captura/Assets.xcassets/MenuBar/Upload Frame 1.imageset/Upload Frame 1@2x.png new file mode 100644 index 0000000..c22650e Binary files /dev/null and b/Captura/Assets.xcassets/MenuBar/Upload Frame 1.imageset/Upload Frame 1@2x.png differ diff --git a/Captura/Assets.xcassets/MenuBar/Upload Frame 1.imageset/Upload Frame 1@3x.png b/Captura/Assets.xcassets/MenuBar/Upload Frame 1.imageset/Upload Frame 1@3x.png new file mode 100644 index 0000000..042cba8 Binary files /dev/null and b/Captura/Assets.xcassets/MenuBar/Upload Frame 1.imageset/Upload Frame 1@3x.png differ diff --git a/Captura/Assets.xcassets/MenuBar/Upload Frame 2.imageset/Contents.json b/Captura/Assets.xcassets/MenuBar/Upload Frame 2.imageset/Contents.json new file mode 100644 index 0000000..0d0e92c --- /dev/null +++ b/Captura/Assets.xcassets/MenuBar/Upload Frame 2.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "filename" : "Upload Frame 2.png", + "idiom" : "universal", + "scale" : "1x" + }, + { + "filename" : "Upload Frame 2@2x.png", + "idiom" : "universal", + "scale" : "2x" + }, + { + "filename" : "Upload Frame 2@3x.png", + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Captura/Assets.xcassets/MenuBar/Upload Frame 2.imageset/Upload Frame 2.png b/Captura/Assets.xcassets/MenuBar/Upload Frame 2.imageset/Upload Frame 2.png new file mode 100644 index 0000000..366a309 Binary files /dev/null and b/Captura/Assets.xcassets/MenuBar/Upload Frame 2.imageset/Upload Frame 2.png differ diff --git a/Captura/Assets.xcassets/MenuBar/Upload Frame 2.imageset/Upload Frame 2@2x.png b/Captura/Assets.xcassets/MenuBar/Upload Frame 2.imageset/Upload Frame 2@2x.png new file mode 100644 index 0000000..55cc179 Binary files /dev/null and b/Captura/Assets.xcassets/MenuBar/Upload Frame 2.imageset/Upload Frame 2@2x.png differ diff --git a/Captura/Assets.xcassets/MenuBar/Upload Frame 2.imageset/Upload Frame 2@3x.png b/Captura/Assets.xcassets/MenuBar/Upload Frame 2.imageset/Upload Frame 2@3x.png new file mode 100644 index 0000000..91c26c6 Binary files /dev/null and b/Captura/Assets.xcassets/MenuBar/Upload Frame 2.imageset/Upload Frame 2@3x.png differ diff --git a/Captura/Assets.xcassets/MenuBar/Upload Frame 3.imageset/Contents.json b/Captura/Assets.xcassets/MenuBar/Upload Frame 3.imageset/Contents.json new file mode 100644 index 0000000..f757c95 --- /dev/null +++ b/Captura/Assets.xcassets/MenuBar/Upload Frame 3.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "filename" : "Upload Frame 3.png", + "idiom" : "universal", + "scale" : "1x" + }, + { + "filename" : "Upload Frame 3@2x.png", + "idiom" : "universal", + "scale" : "2x" + }, + { + "filename" : "Upload Frame 3@3x.png", + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Captura/Assets.xcassets/MenuBar/Upload Frame 3.imageset/Upload Frame 3.png b/Captura/Assets.xcassets/MenuBar/Upload Frame 3.imageset/Upload Frame 3.png new file mode 100644 index 0000000..c0a561a Binary files /dev/null and b/Captura/Assets.xcassets/MenuBar/Upload Frame 3.imageset/Upload Frame 3.png differ diff --git a/Captura/Assets.xcassets/MenuBar/Upload Frame 3.imageset/Upload Frame 3@2x.png b/Captura/Assets.xcassets/MenuBar/Upload Frame 3.imageset/Upload Frame 3@2x.png new file mode 100644 index 0000000..2a5a273 Binary files /dev/null and b/Captura/Assets.xcassets/MenuBar/Upload Frame 3.imageset/Upload Frame 3@2x.png differ diff --git a/Captura/Assets.xcassets/MenuBar/Upload Frame 3.imageset/Upload Frame 3@3x.png b/Captura/Assets.xcassets/MenuBar/Upload Frame 3.imageset/Upload Frame 3@3x.png new file mode 100644 index 0000000..2b48e07 Binary files /dev/null and b/Captura/Assets.xcassets/MenuBar/Upload Frame 3.imageset/Upload Frame 3@3x.png differ diff --git a/Captura/Assets.xcassets/MenuBar/Upload Frame 4.imageset/Contents.json b/Captura/Assets.xcassets/MenuBar/Upload Frame 4.imageset/Contents.json new file mode 100644 index 0000000..55a1c6a --- /dev/null +++ b/Captura/Assets.xcassets/MenuBar/Upload Frame 4.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "filename" : "Upload Frame 4.png", + "idiom" : "universal", + "scale" : "1x" + }, + { + "filename" : "Upload Frame 4@2x.png", + "idiom" : "universal", + "scale" : "2x" + }, + { + "filename" : "Upload Frame 4@3x.png", + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Captura/Assets.xcassets/MenuBar/Upload Frame 4.imageset/Upload Frame 4.png b/Captura/Assets.xcassets/MenuBar/Upload Frame 4.imageset/Upload Frame 4.png new file mode 100644 index 0000000..9f79be2 Binary files /dev/null and b/Captura/Assets.xcassets/MenuBar/Upload Frame 4.imageset/Upload Frame 4.png differ diff --git a/Captura/Assets.xcassets/MenuBar/Upload Frame 4.imageset/Upload Frame 4@2x.png b/Captura/Assets.xcassets/MenuBar/Upload Frame 4.imageset/Upload Frame 4@2x.png new file mode 100644 index 0000000..9826612 Binary files /dev/null and b/Captura/Assets.xcassets/MenuBar/Upload Frame 4.imageset/Upload Frame 4@2x.png differ diff --git a/Captura/Assets.xcassets/MenuBar/Upload Frame 4.imageset/Upload Frame 4@3x.png b/Captura/Assets.xcassets/MenuBar/Upload Frame 4.imageset/Upload Frame 4@3x.png new file mode 100644 index 0000000..c988192 Binary files /dev/null and b/Captura/Assets.xcassets/MenuBar/Upload Frame 4.imageset/Upload Frame 4@3x.png differ diff --git a/Captura/CapturaApp.swift b/Captura/CapturaApp.swift index 00c5cc4..14e266c 100644 --- a/Captura/CapturaApp.swift +++ b/Captura/CapturaApp.swift @@ -58,7 +58,7 @@ struct CapturaApp: App { statusItem = NSStatusBar.system.statusItem(withLength: NSStatusItem.variableLength) if let button = statusItem.button { - button.image = NSImage(systemSymbolName: "rectangle.dashed.badge.record", accessibilityDescription: "Captura") + button.image = NSImage(named: "Idle") } statusItem.isVisible = true @@ -237,6 +237,7 @@ struct CapturaApp: App { helpShown = false if captureState != .selectingArea { captureState = .selectingArea + updateImage() if let button = statusItem.button { let rectInWindow = button.convert(button.bounds, to: nil) let rectInScreen = button.window?.convertToScreen(rectInWindow) @@ -401,19 +402,23 @@ struct CapturaApp: App { if let button = statusItem.button { let image: String = switch captureState { case .idle: - "rectangle.dashed.badge.record" + "Idle" case .selectingArea: - "circle.rectangle.dashed" + if recordingWindow?.recordingContentView.box != nil { + "Ready to Record" + } else { + "Selecting" + } case .recording: - "checkmark.rectangle" + "Stop Frame 1" case .uploading: - "dock.arrow.up.rectangle" + "Upload Frame 1" case .uploaded: - "checkmark.rectangle.fill" + "OK" case .error: - "xmark.rectangle.fill" + "ERR" } - button.image = NSImage(systemSymbolName: image, accessibilityDescription: "Captura") + button.image = NSImage(named: image) } }