Aparajita Fishman and Klaas Pieter Annema
0c4ce1e756
Additions to the theme API to open it up to developers and provide access to theme attributes defined in ThemeDescriptors.j:
...
- Current theme blend is available via CPApplication -themeBlend.
- List of themes is available via CPApplication -themes.
- CPThemeBlend adds the following methods:
themes
themeNames
- CPTheme adds a number of methods to access theme attributes:
classNames
attributesForClass:
attributeNamesForClass:
attributeWithName:forClass: (was _attributeWithName:forClass:)
valueForAttributeWithName:forClass
valueForAttributeWithName:inState:forClass:
- _CPThemeAttribute -values was added to access the dictionary of attribute values.
- Theme browser application that demonstrates the API.
- In the course of making the test app, added the function CGInsetEqualToInset().
2010-09-16 10:28:06 +02:00
Aparajita Fishman and Klaas Pieter Annema
6680a1f2a7
Overhaul of CPButton and supporting classes to support image positioning the way Cocoa does
2010-09-08 22:13:39 +02:00
Randall Luecke
f587713795
This was terrible, real fix soon...Revert "Fix for endless loop when changing platform windows."
...
This reverts commit 66fcba846b .
2010-08-16 14:55:44 -05:00
Randall Luecke
66fcba846b
Fix for endless loop when changing platform windows.
2010-08-16 01:26:48 -05:00
Randall Luecke
ee9da8e31e
Only call drawRect: is the view is visible.
2010-08-12 16:03:24 -05:00
Alexander Ljungberg
9fc07ac622
Implemented NSView viewDidHide and viewDidUnhide.
2010-07-30 20:52:26 -04:00
Randall Luecke
cffbf86351
TableView theming
2010-07-22 00:21:02 -05:00
Nicholas Small
071ab7d555
Only use CPView -display* methods while in DOM.
2010-07-02 14:58:23 -04:00
Scott Kyle and Randall Luecke
1899250a53
Semicolons are nice...
2010-06-10 16:42:28 -05:00
Ross Boucher
0e98f44a93
Fix for IE transparent backgrounds not being resized.
...
Closes #604 .
2010-04-24 14:51:10 -07:00
Ross Boucher
d2399b6157
Add support for not clipping to bounds in cpview.
2010-04-21 14:15:05 -07:00
Nicholas Small
6a8126337c
Added right click responder methods and context menu support.
2010-03-31 15:56:18 -04:00
Ross Boucher
eb831dc4ac
Typo. Closes #572 .
2010-03-25 10:40:37 -07:00
Ross Boucher
af11b4e423
Fix for pattern images not being displayed correctly under the new background color system
2010-03-23 14:32:24 -07:00
Ross Boucher
0cf86318ce
Make semi-transparent background colors work in browsers that don't support RGBA.
...
Closes #569 .
2010-03-23 14:26:32 -07:00
Francisco Ryan Tolmasky I
78cb522874
Temporarily revert "Make semi-transparent background colors work in browsers that don't support RGBA."
...
This fix was making lots of resources not show up.
This reverts commit f8c13f1e30 .
2010-03-23 01:22:59 -07:00
Ross Boucher
f8c13f1e30
Make semi-transparent background colors work in browsers that don't support RGBA.
...
Closes #569 .
2010-03-22 19:00:49 -07:00
Ross Boucher
3cd763aabb
Add #if PLATFORM(DOM) in a missing place in CPView.
2010-03-03 19:42:16 -08:00
Francisco Ryan Tolmasky I
c33e2ee51f
Fixed a bug with objj_debug_typecheck incorrectly misidentifying empty string as not a CPString. Also fixed a number of type declarations after running with objj_msgSend_decorate(objj_typecheck_decorator); turned on.
...
Reviewed by me.
2010-02-21 13:37:20 -08:00
Francisco Ryan Tolmasky I
bc53288fca
Fix for failing CPAttributedString test.
...
Reviewed by me.
2010-02-13 16:14:18 -08:00
Nicholas Small
204df99375
Make CPPanel -becomesKeyOnlyIfNeeded and CPView -needsPanelToBecomeKey work.
2010-01-15 17:23:56 -05:00
Francisco Ryan Tolmasky I
48d584df58
Fixed typo in setSubviews:.
...
Reviewed by me.
2009-12-26 01:20:16 -08:00
Francisco Ryan Tolmasky I
5352d062d5
Fix for boundsOrigin and boundsSize being affected by bounds. Also changed UID to return a string instead of a Number.
...
Reviewed by me.
2009-12-20 17:02:06 -08:00
Francisco Ryan Tolmasky I
7acfbb9eed
Added [CPView setSubviews:] which allows you to add multiple subviews, remove multiple subviews, and reorder multple subviews.
...
Reviewed by me.
2009-12-20 13:00:25 -08:00
Ross Boucher
72d01865ae
Add about panel
2009-11-20 18:06:16 -08:00
Francisco Ryan Tolmasky I
14ad8f6d6d
Cleaned up key equivalent handling and added support for key equivalents
...
to nib2cib.
Reviewed by me.
2009-10-31 18:32:58 -07:00
Francisco Ryan Tolmasky I
a02cda6376
Fix for autoresizing breaking with bounds changes.
...
Reviewed by me.
2009-09-17 01:12:30 -07:00
Francisco Ryan Tolmasky I
2fbe026215
Further drawing fixes.
...
Reviewed by me.
2009-08-31 14:39:00 -07:00
Francisco Ryan Tolmasky I
2cf5b90183
Fixes for uncommon drawRect: bugs.
...
Reviewed by me.
2009-08-30 20:59:01 -07:00
Francisco Ryan Tolmasky I
2ee3b93e0d
Made it so you can have arbitrary number of alternating row colors.
...
Reviewed by me.
2009-08-21 20:03:26 -07:00
Francisco Ryan Tolmasky I
b378a4d0fa
Merge branch 'master' into tableview
2009-08-20 00:55:16 -07:00
Francisco Ryan Tolmasky I
e8dd56bda7
Added HTML 5 drag and drop support for WebKit/Safari.
...
Reviewed by me.
2009-08-17 03:50:52 -07:00
Francisco Ryan Tolmasky I
ddc9334af3
Merge branch 'master' into tableview
...
Conflicts:
AppKit/CPTableColumn.j
AppKit/CPTableView.j
2009-08-10 15:09:10 -07: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
Francisco Ryan Tolmasky I
2e37945b4f
Removed remaining references to CPDOMWindowBridge.
...
Reviewed by me.
2009-07-27 12:06:07 -07:00
Francisco Ryan Tolmasky I
369e02fb37
Merge branch 'master' into tableview
...
Conflicts:
AppKit/CPView.j
2009-07-22 16:14:18 -07:00
Francisco Ryan Tolmasky I
4865d6b20f
Fixed an issue with dependent keys in KVO only working for composed properties, and also made the "frame" key on views dependent on a view's frame origin and frame size.
...
Reviewed by me.
2009-07-20 20:37:19 -07:00
Francisco Ryan Tolmasky I
1fecae3dc0
Further improvements to tableview, and reimplemented getIndexes: for CPIndexSet to match the new architecture.
...
Reviewed by me.
2009-06-23 10:51:16 -07:00
Francisco Ryan Tolmasky I
8b25240d04
Cleaned up CPControl ephemeral views code and got rid of some dead code in cib logic.
...
Reviewed by me.
2009-06-10 11:49:16 -07:00
Francisco Ryan Tolmasky I
90fe0d64f5
Fix for dragged types not working on decoded views.
...
Reviewed by me.
2009-06-09 16:45:27 -07:00
Francisco Ryan Tolmasky I
eab4f4bf78
Made CPImageView accept image drag and drop.
...
Reviewed by me.
2009-06-09 15:36:53 -07:00
Francisco Ryan Tolmasky I
6cab77e005
More hash->UID name changes.
...
Reviewed by andrew.
2009-06-07 16:07:08 -07:00
Francisco Ryan Tolmasky I
5409face8c
Fix for providing too many image slices breaking CPView.
...
Reviewed by me.
2009-05-31 13:44:58 -07:00
Francisco Ryan Tolmasky I
83bceaa867
Fix for HUD button misrendered in Aristo theme gallery until pressed for first time.
...
Closes #141 .
Reviewed by me.
2009-05-23 13:04:29 -07:00
Ross Boucher
850125b8ab
Add documentation groups
2009-05-18 15:43:36 -07:00
Francisco Tolmasky
b23d62190d
Further cleanup of encoding/decoding for AppKit classes.
...
Reviewed by me.
2009-05-16 17:39:22 -07:00
Francisco Tolmasky
4588d1db08
Further CPView/CPMenuItem cleanup.
...
Reviewed by me.
2009-05-15 22:16:15 -07:00
Francisco Tolmasky
8c1f6f3014
CPButton cleanup from residual pre-theme code.
...
Reviewed by me.
2009-05-15 21:40:11 -07:00
Francisco Tolmasky
645affad93
Fixed a few issues with nib2cib and hiding scrollers.
...
Reviewed by me.
2009-05-11 13:45:09 -07:00
Francisco Tolmasky
862af9cbae
First stab at fixing Themeing API.
...
Reviewed by me.
2009-05-10 13:04:02 -07:00