Klaas Pieter Annema
fba8b85c90
theming changes to CPScrollView
...
- Add bottom corner view and make it's background color a theme property
- Make the border color themeable
2010-09-10 14:20:19 +02:00
Klaas Pieter Annema
b75dcd7ac4
made the scrollview line border color themeable
2010-09-10 14:20:17 +02:00
Aparajita Fishman and Klaas Pieter Annema
ce2c662872
Fixes to previous CPButton image positioning commit.
...
- Checkbox and radio selected states would not show in the images. It turns out that the image and alternate image cannot be encoded->decoded->set without messing up the theme, and unfortunately the theme blending task (during a jake build) would do so. So for now this means that we cannot encode non-theme images with a button class, which is unlikely to happen.
- Since we cannot access themes in the NS classes, I went ahead and started to make some constants in a few control classes so that the values can be changed in one place and affect the theme and nib2cib.
2010-09-10 09:56:26 +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
Klaas Pieter Annema
b6da0fdf06
start of CPSplitView theming
2010-09-07 10:23:21 +02:00
Aparajita Fishman and Alexander Ljungberg
be36e17bd8
Make the names in +themeShowcaseExcludes case-insensitive
2010-08-31 22:09:29 -04:00
Klaas Pieter Annema
c9752195ac
several CPButton theming additions
...
- made image and alternate image a theme property
- made image margins theme-able
2010-08-25 13:26:44 +02:00
Alexander Ljungberg
b9086f134a
Don't include table column header graphics in the showcase - they're not really widgets which make sense standing alone.
2010-08-22 23:03:51 -04:00
Aparajita Fishman and Alexander Ljungberg
ae47ba78cd
Use [self respondsToSelector] instead of class_respondsToSelector
2010-08-22 22:06:38 -04:00
Aparajita Fishman and Alexander Ljungberg
2f51358ea0
Added documentation for the excluded mechanism.
2010-08-22 22:06:31 -04:00
Aparajita Fishman and Alexander Ljungberg
c91c513b60
Proposed method of excluding themed objects from the theme showcase.
...
- Also added class_respondsToSelector, it was a no-brainer.
- Cleaned up trailing whitespace in CPThemeBlend.j. Woo-hoo!
2010-08-22 22:06:22 -04:00
Aparajita Fishman and Alexander Ljungberg
189d90da91
Moved theWindow to an ivar so other methods can reference it.
2010-08-22 19:03:15 -04:00
Aparajita Fishman and Alexander Ljungberg
05edec8a8b
Removed CPButton -setDefaultButton, new version of CPButton after merging with latest master.
2010-08-22 18:53:52 -04:00
Alexander Ljungberg
a9e59e1e87
Fixed: in the new theme definition the table header sort images were no longer images. This would cause an exception whenever a table header was clicked such that the sort arrows needed to display.
2010-08-22 17:47:52 -04:00
Alexander Ljungberg
5335a611a0
Use Aristo icons for CPAlert.
2010-08-20 01:55:45 -04:00
Alexander Ljungberg
c06068c931
Themable CPAlert which automatically grows height-wise to accommodate all text. Adjustable icons, margins, spacing and fonts.
2010-08-19 23:03:35 -04:00
Alexander Ljungberg
d56bc733ad
Remove some accidental globals.
2010-08-18 22:01:18 -04:00
Alexander Ljungberg
8fbd24c861
Moved file globals to the top of the file. Removed a misplaced var. Eliminated empty statements.
2010-08-18 21:32:51 -04:00
Alexander Ljungberg
98049aeb78
Whitespace cleanup.
2010-08-18 17:02:22 -04:00
Aparajita Fishman and Alexander Ljungberg
c9718783af
Made the new theming mechanism generic (see ecbbe57)
2010-08-18 16:45:45 -04:00
Aparajita Fishman and Alexander Ljungberg
bfe01badc1
Radically simplified the whole theming mechanism. Theming can now be done declaratively with less typing, better readability, easier maintenance.
...
Also fixed some oversights in the existing themes: text was not dimmed in disabled state for segmented controls, text was not dimmed for default buttons in disabled state in HUD (IIRC).
2010-08-18 16:45:38 -04:00
Klaas Pieter Annema and Ross Boucher
90e9b86497
match CPTableView's alternating row colors with Aristo's
2010-07-26 22:48:58 -07:00
Randall Luecke
cffbf86351
TableView theming
2010-07-22 00:21:02 -05:00
Randall Luecke
a2e6f8f964
Initial theming of TableView header.
2010-07-15 22:32:00 -05:00
Thomas Ingham and Ross Boucher
a49b01d396
Added missing asset.
2010-06-08 19:29:11 -07:00
Thomas Ingham and Ross Boucher
2a36488db7
Added new artwork and theme style for the button.
...
Matching fonts to segctl.
2010-05-26 08:51:36 -07:00
Thomas Ingham and Ross Boucher
3d4a33d373
Re-preflight on the image assets resulting in 24px tall images in each case. This is done by cutting the top edge close (well into the aliased edge on top.)
...
Added defs for the horizontal and vertical sliders.
2010-05-24 15:31:04 -07:00
Thomas Ingham and Ross Boucher
7519b7ab63
Added hud style for circular slider knob thing.
2010-05-24 10:09:39 -07:00
Thomas Ingham and Ross Boucher
aaf5c7581c
Moved the non-highlighted version of the knob down one more freaking pixel.
2010-05-24 10:09:39 -07:00
Thomas Ingham and Ross Boucher
ce4e8dc8b7
Moved knobs down a pixel.
2010-05-24 10:09:39 -07:00
Thomas Ingham and Ross Boucher
5c2e6c8ed8
Matched up the knob images to those in the file and split them into HUD as well.
2010-05-24 10:09:39 -07:00
Thomas Ingham and Ross Boucher
4020f9c6c2
Adding images for sliders.
2010-05-24 10:09:38 -07:00
Thomas Ingham and Ross Boucher
16bf635aca
Added images that I missed because git doesn't do recursive directories.
2010-05-24 10:09:38 -07:00
Thomas Ingham and Ross Boucher
99bc5a018e
Added segmented control graphics and theme method to support HUD style displays for CPSegmentedControl.
2010-05-24 10:09:38 -07:00
Ross Boucher
2f9cf6bc9b
Add action buttons to button bars.
2010-04-27 22:11:17 -07:00
Ross Boucher
c41ffc14c7
checkboxes and radio buttons shouldn't be bold.
2010-04-26 21:36:45 -07:00
Ross Boucher
6b3600d67b
Slight update to button bar theme values.
2010-04-22 11:50:06 -07:00
Ross Boucher
cf1c369dc3
Rewrite of CPButtonBar. Now it will automatically layout the buttons, and the position
...
and visibility of the resize control is configurable.
Also has class methods for plusButton and minusButton. API subject to change.
2010-03-13 17:37:28 -08:00
Tom Robinson
ba713b8b06
Use getCappuccinoVersion() in various Jakefiles instead of hardcoded versions.
2010-03-08 15:10:08 -08:00
Francisco Ryan Tolmasky I
2edcfbda35
Updated version strings in preparation for 0.8.0 Release Candidate.
...
Reviewed by me.
2010-03-06 22:30:51 -08:00
Francisco Ryan Tolmasky I
272f938f2e
Fix for CPData naming issues, added test cases, and fixed isEqual: for CPDictionary.
...
Reviewed by me.
2010-02-21 23:29:41 -08:00
Tom Robinson
b2179f14ab
Cleanup Jakefiles:
...
* require common.jake first
* require Objective-J/Cappuccino stuff only when needed (automatically requiring these caused too many problems)
* remove useless shebangs, cleanup whitespace
2010-02-19 16:09:39 -08:00
Ross Boucher
a8b1c7bce1
Fix a number of segmented control bugs. Among other things, the disabled state is respected per segment.
...
Closes #386 .
Also fixes the error where right side of segments would often not be visible.
Also fixes the error which caused the right and left bezel images to not show as disabled ever.
2010-02-13 20:40:32 -08:00
Francisco Ryan Tolmasky I
bc53288fca
Fix for failing CPAttributedString test.
...
Reviewed by me.
2010-02-13 16:14:18 -08:00
Francisco Ryan Tolmasky I
f9c2805379
Removed reference to MARKER_TEXT.
...
Reviewed by me.
2010-02-09 13:40:04 -08:00
Francisco Ryan Tolmasky I
d735cd98e7
Fix for FireFox not working.
...
Reviewed by me.
2010-01-30 00:35:59 -08:00
Francisco Ryan Tolmasky I
d9c47ec763
Updated environments and removed environment collections. Also creates separate files for different forms of spriting.
...
Reviewed by me.
2010-01-29 10:54:47 -08:00
Francisco Ryan Tolmasky I
794d8a754c
Make blendtask work with new system.
...
Reviewed by me.
2010-01-28 16:24:18 -08:00
Nicholas Small
da146b0873
Move table view header resources into AppKit/Resources.
2010-01-26 10:53:07 -05:00
Randall Luecke
22c931729b
Removed additional references to disabled HUD scrollbar knobs.
2010-01-22 10:50:29 -05:00