Aparajita Fishman
1a26fbf6f4
Rework CPWindow cluster so CPWindow's code is in its file
2013-01-30 22:35:21 +08:00
Aparajita Fishman
c29a54e21a
More work on child windows
...
- Popovers are implemented as child windows.
- Renamed _CPAttachedWindow/_CPAttachedWindowView to _CPPopoverWindow/_CPPopoverWindowView, since that is its only use.
- The default for CPView -acceptsFirstMouse is now NO, per Cocoa. Subclasses override this as necessary.
- _CPWindowView -hitTest returns self it the mouse is within a resize region, which may be outside the window's frame.
- Fixed an off by one bug in CPDomWindowLayer -insertWindow:atIndex:, where inserting a visible window behind a window it is already behind would cause it to move up one from its intended position.
- Updated the ChildWindows and CPPopover test apps.
2013-01-27 10:32:23 +08:00
Aparajita Fishman
4f377bcebe
Objj2 compiler fixes
...
Compiled all files individually:
- Added missing imports.
- Added @class/@global declarations to break circular dependencies.
- Misc. code cleanup.
Conflicts:
AppKit/CPWindow/_CPWindow.j
AppKit/Platform/DOM/CPPlatformWindow+DOM.j
2013-01-23 15:48:55 +07:00
Aparajita Fishman
7c831fa19d
capp_lint flags deprecated CPPoint/Rect/Size types/functions
...
- Changed to corresponding CG types/functions in all files
- Fixed some demo app bugs
2013-01-19 16:51:56 +07:00
Martin Carlberg
458fa9d02e
Fixed a lot of small bugs found by new warning message from compiler
2013-01-18 14:24:37 +01:00
Alexandre Wilhelm
991e40e089
Fixed bug about the color of the colorPanel
2013-01-10 16:59:50 -08:00
Alexander Ljungberg
f6514f3c64
Fix CPColorPanel errors and code style.
2012-07-09 15:57:24 +01:00
Alexander Ljungberg
3cee00323c
Don't separate statements by commas.
2011-11-10 12:31:16 +00:00
Randall Luecke
90d50bb593
Sizing fixes for the textfields of the color panel.
2011-03-02 22:51:03 -05:00
Francisco Ryan Tolmasky I
1cbaea0e3d
Further capp_linting - removing accidental global.
...
Reviewed by me.
2010-12-02 12:11:57 -08:00
Francisco Ryan Tolmasky I
52f7844aee
Made it so .h files are automatically included in AppKit (avoiding needing to manually include Platform.h, etc.).
...
Also changed a bunch of <AppKit/*> imports to "*" imports.
Reviewed by me.
2010-11-01 11:10:01 -07:00
Alexander Ljungberg
db8e132ef2
Whitespace and style fixes.
2010-10-09 22:07:57 -04:00
Paul Baumgart
01852d8075
Fix a bunch of missing @imports.
...
All classes (excluding the ones prefixed with underscores) in Foundation
and AppKit can now be loaded individually except CPOpenPanel and
CPSavePanel. These two classes have some sort of dependency cycle
that seems impossible to resolve without forward declarations (which
we don't have).
2010-10-05 15:54:25 -07:00
Alexander Ljungberg
fb31267cc1
Fixed two accidental globals found while testing Aparajita Fishman's capp_check utility.
2010-09-15 17:23:48 -04:00
Alexander Ljungberg
b194d407d3
Whitespace cleanup.
2010-09-15 17:19:45 -04:00
Ross Boucher
6aadd13450
Update CPColorPanel to handle drag and drop correctly, which broke with native drag and drop. Closes 364.
2009-12-17 00:25:49 -05:00
lowell vizon and Francisco Ryan Tolmasky I
377f331b47
Documentation Edits: Replaced <code> and <pre> tags with \c; this allows monospaced text to be displayed with formatted text without needing a new line. See AppKit/CPView after generating documentation for examples. Also added - and + signs to the above changes when referring to either an -instanceMethod or a +classMethod. --lowell@cocoastep
...
Signed-off-by: Francisco Ryan Tolmasky I <francisco@280north.com >
2009-08-08 03:50:50 +08:00
Tom Robinson
b0470ca2d7
Update to use JSON.{parse,stringify}
2009-06-02 15:07:07 -07:00
Ross Boucher
850125b8ab
Add documentation groups
2009-05-18 15:43:36 -07:00
Ross Boucher
6d8d4b59cc
Add an opacity slider to the color panel
2009-04-16 22:51:47 -07:00
Ross Boucher
7d0d01211b
bug in color panel
2009-04-16 12:18:43 -07:00
Ross Boucher
5365d1d1fd
a few UI tweaks in the color panel
2009-04-07 01:12:02 -07:00
Ross Boucher
20eaf1455d
Change the color panel to use the standard window theme.
2009-03-26 02:14:47 -07:00
Ross Boucher
8b68729041
Fix for http://cappuccino.lighthouseapp.com/projects/16499/tickets/60-cpcolorpanel-does-not-update-color-correctly
...
and for http://cappuccino.lighthouseapp.com/projects/16499/tickets/59-cpcolorpanel-defaults-to-white-on-init
[#59 state:resolved milestone:0.6.5]
[#60 state:resolved milestone:0.6.5]
2008-12-22 11:46:25 -05:00
Ross Boucher
3ba2f208d4
Some changes to color pickers to allow you to make your own.
2008-12-05 14:57:50 -08:00
Tom Robinson
1457f5d1c8
Changed deprecated setValues/value to setFloatValue/floatValue.
2008-10-28 01:07:03 -07:00
Francisco Ryan Tolmasky I
5144a5a579
Added @accessor support, @import, and fixed spacing bug with @selector.
...
Reviewed by ross.
2008-10-26 00:48:49 -07:00
Nick Takayama and Francisco Ryan Tolmasky I
3e6fa883cf
Removed Kuler Color Picker from Cappuccino.
...
Reviewed by tolmasky.
2008-10-24 14:07:14 -07:00
Ross Boucher
f228934e54
Initial conversion to Doxygen style comments.
2008-10-12 15:57:01 -07:00
Ross Boucher
461c8ef9d5
Set the color panel to have floating panel status.
...
[#45 state:resolved];
2008-09-29 13:09:20 -07:00
Ross Boucher
a40fbd7961
Add the first draft of documentation inline.
2008-09-10 15:11:37 -07:00
Francisco Ryan Tolmasky I
a97bb72800
Initial commit.
...
Reviewed by francisco, ross and tom.
2008-09-04 03:52:20 -07:00