Permalink
Browse files

Commit iniziale (equivale esattamente alla release Afloat 2.1.1).

  • Loading branch information...
0 parents commit a8ace68277a3fbabdcc42409945209c04d63a616 @millenomi committed Jan 3, 2009
Showing with 12,768 additions and 0 deletions.
  1. +61 −0 Afloat.h
  2. +549 −0 Afloat.m
  3. +23 −0 Afloat.xcconfig
  4. +855 −0 Afloat.xcodeproj/project.pbxproj
  5. BIN Afloat2.icns
  6. +34 −0 AfloatBadgeController.h
  7. +190 −0 AfloatBadgeController.m
  8. BIN AfloatButton.png
  9. BIN AfloatButtonPressed.png
  10. +17 −0 AfloatDonateFirstAlert.alert
  11. +17 −0 AfloatDonateLastAlert.alert
  12. BIN AfloatFloatingBadge.png
  13. BIN AfloatHUDBackdrop.png
  14. BIN AfloatMenuBadge (Vectorial).png
  15. BIN AfloatMenuBadge.png
  16. +16 −0 AfloatNag.h
  17. +49 −0 AfloatNag.m
  18. +53 −0 AfloatNagPreferences.h
  19. +17 −0 AfloatPanel.h
  20. +62 −0 AfloatPanel.m
  21. +41 −0 AfloatPanelController.h
  22. +265 −0 AfloatPanelController.m
  23. +16 −0 AfloatScripting/AfloatDisableOverlaysCommand.h
  24. +23 −0 AfloatScripting/AfloatDisableOverlaysCommand.m
  25. +16 −0 AfloatScripting/AfloatMakeLessTransparentCommand.h
  26. +24 −0 AfloatScripting/AfloatMakeLessTransparentCommand.m
  27. +16 −0 AfloatScripting/AfloatMakeMoreTransparentCommand.h
  28. +23 −0 AfloatScripting/AfloatMakeMoreTransparentCommand.m
  29. +306 −0 AfloatScripting/AfloatScripting.sdef
  30. +2 −0 AfloatScripting/AfloatScripting.xcconfig
  31. BIN AfloatScripting/AfloatScripting.xcodeproj/TemplateIcon.icns
  32. +373 −0 AfloatScripting/AfloatScripting.xcodeproj/project.pbxproj
  33. +18 −0 AfloatScripting/AfloatScriptingAppDelegate.h
  34. +37 −0 AfloatScripting/AfloatScriptingAppDelegate.m
  35. +16 −0 AfloatScripting/AfloatScriptingSetAlphaValueCommand.h
  36. +27 −0 AfloatScripting/AfloatScriptingSetAlphaValueCommand.m
  37. +16 −0 AfloatScripting/AfloatScriptingSetKeptAfloatCommand.h
  38. +29 −0 AfloatScripting/AfloatScriptingSetKeptAfloatCommand.m
  39. +16 −0 AfloatScripting/AfloatScriptingSetKeptOnAllSpacesCommand.h
  40. +27 −0 AfloatScripting/AfloatScriptingSetKeptOnAllSpacesCommand.m
  41. +16 −0 AfloatScripting/AfloatScriptingToggleKeptAfloatCommand.h
  42. +22 −0 AfloatScripting/AfloatScriptingToggleKeptAfloatCommand.m
  43. +50 −0 AfloatScripting/AfloatScriptingWire.h
  44. +17 −0 AfloatScripting/AfloatScripting_Prefix.pch
  45. +16 −0 AfloatScripting/AfloatSetOverlayCommand.h
  46. +29 −0 AfloatScripting/AfloatSetOverlayCommand.m
  47. +16 −0 AfloatScripting/AfloatSetPinnedToDesktopCommand.h
  48. +30 −0 AfloatScripting/AfloatSetPinnedToDesktopCommand.m
  49. +16 −0 AfloatScripting/AfloatShowWindowFileInFinderCommand.h
  50. +23 −0 AfloatScripting/AfloatShowWindowFileInFinderCommand.m
  51. BIN AfloatScripting/English.lproj/InfoPlist.strings
  52. +516 −0 AfloatScripting/English.lproj/MainMenu.xib
  53. +34 −0 AfloatScripting/Info.plist
  54. +14 −0 AfloatScripting/main.m
  55. BIN AfloatSinkingBadge.png
  56. +45 −0 AfloatStorage.h
  57. +160 −0 AfloatStorage.m
  58. +77 −0 AfloatWindowIdentifier.h
  59. +171 −0 AfloatWindowIdentifier.m
  60. +16 −0 Afloat_AfloatNagging.h
  61. +26 −0 Afloat_AfloatNagging.m
  62. +18 −0 Afloat_AfloatScripting.h
  63. +176 −0 Afloat_AfloatScripting.m
  64. +31 −0 Afloat_Prefix.pch
  65. +16 −0 COPYING.txt
  66. +32 −0 Donate for Afloat-Info.plist
  67. +37 −0 Info.plist
  68. +13 −0 JRSwizzle.h
  69. +115 −0 JRSwizzle.m
  70. BIN Locales/it/Afloat.nib.alair
  71. +30 −0 Locales/it/Afloat.nib.strings
  72. BIN Locales/it/AfloatBadge.nib.alair
  73. 0 Locales/it/AfloatBadge.nib.strings
  74. BIN Locales/it/AfloatDonateFirstAlert.alair
  75. +4 −0 Locales/it/AfloatDonateFirstAlert.strings
  76. BIN Locales/it/AfloatDonateLastAlert.alair
  77. +4 −0 Locales/it/AfloatDonateLastAlert.strings
  78. BIN Locales/it/AfloatPanel.nib.alair
  79. +42 −0 Locales/it/AfloatPanel.nib.strings
  80. BIN Locales/it/Corpus.corpus
  81. BIN Locales/it/Donate.alair
  82. BIN Locales/it/Donate.nib.alair
  83. +72 −0 Locales/it/Donate.nib.strings
  84. +72 −0 Locales/it/Donate.strings
  85. BIN Locales/it/InfoPlist.alair
  86. +3 −0 Locales/it/InfoPlist.strings
  87. BIN Locales/it/Project.project
  88. +5 −0 Nag.pch
  89. +26 −0 Support/BGHUDAppKitPlugin.ibplugin/Contents/Info.plist
  90. BIN Support/BGHUDAppKitPlugin.ibplugin/Contents/MacOS/BGHUDAppKitPlugin
  91. +358 −0 Support/BGHUDAppKitPlugin.ibplugin/Contents/Resources/BGHUDAppKitInspector.nib/designable.nib
  92. BIN Support/BGHUDAppKitPlugin.ibplugin/Contents/Resources/BGHUDAppKitInspector.nib/keyedobjects.nib
  93. +4,461 −0 Support/BGHUDAppKitPlugin.ibplugin/Contents/Resources/BGHUDAppKitLibrary.nib/designable.nib
  94. BIN Support/BGHUDAppKitPlugin.ibplugin/Contents/Resources/BGHUDAppKitLibrary.nib/keyedobjects.nib
  95. +12 −0 Support/BGHUDAppKitPlugin.ibplugin/Contents/Resources/BGHUDButtonCell.classdescription
  96. +12 −0 Support/BGHUDAppKitPlugin.ibplugin/Contents/Resources/BGHUDColorWell.classdescription
  97. BIN Support/BGHUDAppKitPlugin.ibplugin/Contents/Resources/BGHUDColorWellInspector.nib
  98. +12 −0 Support/BGHUDAppKitPlugin.ibplugin/Contents/Resources/BGHUDLabel.classdescription
  99. +12 −0 Support/BGHUDAppKitPlugin.ibplugin/Contents/Resources/BGHUDOutlineView.classdescription
  100. +12 −0 Support/BGHUDAppKitPlugin.ibplugin/Contents/Resources/BGHUDPopUpButtonCell.classdescription
  101. +12 −0 Support/BGHUDAppKitPlugin.ibplugin/Contents/Resources/BGHUDProgressIndicator.classdescription
  102. +12 −0 Support/BGHUDAppKitPlugin.ibplugin/Contents/Resources/BGHUDScrollView.classdescription
  103. +12 −0 Support/BGHUDAppKitPlugin.ibplugin/Contents/Resources/BGHUDScroller.classdescription
  104. +12 −0 Support/BGHUDAppKitPlugin.ibplugin/Contents/Resources/BGHUDSearchFieldCell.classdescription
  105. +12 −0 Support/BGHUDAppKitPlugin.ibplugin/Contents/Resources/BGHUDSecureTextFieldCell.classdescription
  106. +12 −0 Support/BGHUDAppKitPlugin.ibplugin/Contents/Resources/BGHUDSegmentedCell.classdescription
  107. +12 −0 Support/BGHUDAppKitPlugin.ibplugin/Contents/Resources/BGHUDSliderCell.classdescription
  108. +12 −0 Support/BGHUDAppKitPlugin.ibplugin/Contents/Resources/BGHUDTableView.classdescription
  109. +12 −0 Support/BGHUDAppKitPlugin.ibplugin/Contents/Resources/BGHUDTextFieldCell.classdescription
  110. +12 −0 Support/BGHUDAppKitPlugin.ibplugin/Contents/Resources/BGHUDTokenFieldCell.classdescription
  111. BIN Support/BGHUDAppKitPlugin.ibplugin/Contents/Resources/English.lproj/InfoPlist.strings
  112. BIN Support/BGHUDAppKitPlugin.ibplugin/Contents/Resources/outlineview.png
  113. BIN Support/BGHUDAppKitPlugin.ibplugin/Contents/Resources/scrollview.png
  114. BIN Support/BGHUDAppKitPlugin.ibplugin/Contents/Resources/tableview.png
  115. BIN Support/BGHUDAppKitPlugin.ibplugin/Contents/Resources/textview.png
  116. +473 −0 en.lproj/Afloat.nib/designable.nib
  117. BIN en.lproj/Afloat.nib/keyedobjects.nib
  118. +271 −0 en.lproj/AfloatBadge.nib/designable.nib
  119. BIN en.lproj/AfloatBadge.nib/keyedobjects.nib
  120. +4 −0 en.lproj/AfloatDonateFirstAlert.strings
  121. +4 −0 en.lproj/AfloatDonateLastAlert.strings
  122. +926 −0 en.lproj/AfloatPanel.nib/designable.nib
  123. BIN en.lproj/AfloatPanel.nib/keyedobjects.nib
  124. +862 −0 en.lproj/Donate.nib/designable.nib
  125. BIN en.lproj/Donate.nib/keyedobjects.nib
  126. BIN en.lproj/InfoPlist.strings
  127. BIN libBGHUDAppKit.a
  128. +5 −0 main-Nag.m
@@ -0,0 +1,61 @@
+/*
+Copyright (c) 2008, Emanuele Vulcano
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
+
+Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
+Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
+Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+*/
+
+#import <Cocoa/Cocoa.h>
+
+
+@interface Afloat : NSObject {
+ IBOutlet NSMenu* _menuWithItems;
+ BOOL _settingOverlay;
+}
+
++ (id) sharedInstance;
+- (NSBundle*) bundle;
+
+- (IBAction) toggleAlwaysOnTop:(id) sender;
+- (void) setKeptAfloat:(BOOL) afloat forWindow:(NSWindow*) c showBadgeAnimation:(BOOL) animated;
+- (BOOL) isWindowKeptAfloat:(NSWindow*) w;
+
+- (IBAction) makeTranslucent:(id) sender;
+- (IBAction) makeOpaque:(id) sender;
+- (IBAction) makeMoreTransparent:(id) sender;
+- (IBAction) makeLessTransparent:(id) sender;
+
+- (IBAction) showAdjustEffectsPanel:(id) sender;
+
+- (float) currentAlphaValueForWindow:(NSWindow*) w;
+- (void) setAlphaValue:(float) f forWindow:(NSWindow*) window animated:(BOOL) animate;
+- (void) setAlphaValueByDelta:(float) f forWindow:(NSWindow*) window animate:(BOOL) animate;
+- (void) setAlphaValueAnimatesOnMouseOver:(BOOL) animates forWindow:(NSWindow*) window;
+- (BOOL) alphaValueAnimatesOnMouseOverForWindow:(NSWindow*) window;
+
+- (NSWindow*) currentWindow;
+
+- (void) setOnAllSpaces:(BOOL) afloat forWindow:(NSWindow*) c; // animated:(BOOL) animated;
+- (BOOL) isWindowOnAllSpaces:(NSWindow*) w;
+
+- (void) setOverlay:(BOOL) overlay forWindow:(NSWindow*) w animated:(BOOL) animated showBadgeAnimation:(BOOL) badge;
+- (BOOL) isWindowOverlay:(NSWindow*) w;
+- (IBAction) disableAllOverlays:(id) sender;
+- (void) disableAllOverlaysShowingBadgeAnimation:(BOOL) badge;
+
+
+- (IBAction) showWindowFileInFinder:(id) sender;
+
+
+- (void) setKeptPinnedToDesktop:(BOOL) pinned forWindow:(NSWindow*) c showBadgeAnimation:(BOOL) animated;
+- (BOOL) isWindowKeptPinnedToDesktop:(NSWindow*) w;
+
+- (void) animateFadeInForWindow:(NSWindow*) w;
+- (void) animateFadeOutForWindow:(NSWindow*) w;
+
+@end
Oops, something went wrong.

1 comment on commit a8ace68

@the-kenny

This is a really really cool project. Keep on working!

Please sign in to comment.