Martin Carlberg
fc411c5c1c
Fixed: Cache ThemeAttribute
...
Conflicts:
AppKit/CPTheme.j
2015-10-23 10:18:03 +02:00
Antoine Mercadal
547764e3c1
FIXED: Always call [super awakeFromCib] in CPView subclasses
2015-08-14 01:43:55 -07:00
Alexandre Wilhelm
cb5fe06e58
Fixed: button are always removed from the superview in layoutSubviews
...
Previously, the button of a CPButtonBar were always removed and readded in the method layoutSubviews.
Now we only remove the hidden button.
2014-12-08 15:29:28 -08:00
Antoine Mercadal
9a307269ca
FIXED: CPButtonBar was not removing old button set from the view
...
This patch ensure that when we are using setButtons: old buttons are actually removed from the superview
2014-11-07 14:25:35 -08:00
Antoine Mercadal
8eb52f9a88
FIXED: Previous commit about explicitely define the observing options broke the abolity to hide buttons in CPButtonBar
...
This patch ensure to correctly set the options
2014-10-20 19:36:48 -07:00
Antoine Mercadal
b9b396a279
FIXED: using setHidden: for a button in buttonbar was not working
...
Previously, CPButtonBar was not updating its layout after changing the visibility of its buttons.
This patch adds makes CPButtonBar observersing the buttons and relayout if the visibility of one button is updated.
2014-09-12 14:42:27 -07:00
Antoine Mercadal
f1cfa14750
FIXED: buttons in CPButtonBar were never removed from the CPButtonBar
...
Previsouly, layoutSubview was layouting the visible buttons, but it was not removing them from
the buttonbar
2014-08-28 17:26:22 -07:00
Saikat Chakrabarti
2fd8940c02
Allow array arguments to various methods that take ThemeStates
2014-03-01 23:11:24 -08:00
Saikat Chakrabarti
7d304fbd51
First round of changes to change theming system to use arrays and not bitmasks as their underlying datatype
2014-02-20 17:30:27 -08:00
Martin Carlberg
bb58a206a8
Fixed: Removed all warnings of conflicting return and parameter types caused by the new compiler
2013-08-12 16:46:14 +02:00
Alexander Ljungberg
5b05dc92a1
More dictionary literals.
2013-02-25 18:27:44 +00: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
Antoine Mercadal
ed98acc906
Add missing header + missing @global
2013-01-22 12:26:30 -08: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
Antoine Mercadal
cebf8d3579
Make image plus, minus and action themable
2013-01-10 11:42:08 -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
Klaas Pieter Annema
6e9f82212b
rename CPView +themeClass to +defaultThemeClass
2010-10-25 14:15:22 +02:00
Alexander Ljungberg
4dc102a3cf
Applied coding standards.
2010-09-28 19:00:59 -04:00
Ross Boucher
2f9cf6bc9b
Add action buttons to button bars.
2010-04-27 22:11:17 -07:00
Ross Boucher
6b3600d67b
Slight update to button bar theme values.
2010-04-22 11:50:06 -07:00
Ross Boucher
c1fe45cbcd
Add a way to tell a CPSplitView about a button bar for a specific divider index,
...
which mitigates the need to use additional effective rect delegate method when
using a split view + button bar.
2010-03-14 12:32:52 -07:00
Ross Boucher
0ed7d46926
Add encoding support for CPButtonBar.
2010-03-13 22:49:06 -08: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
Francisco Ryan Tolmasky I
bc53288fca
Fix for failing CPAttributedString test.
...
Reviewed by me.
2010-02-13 16:14:18 -08:00
Randall Luecke
2dc0839d36
Fixed bug where CPButtonBar would not display anything until resized. Closes issue #151 .
2010-02-01 00:58:30 -05: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
Francisco Tolmasky
12459aae1e
Minor changes.
...
Reviewed by me.
2009-02-22 02:04:00 -08:00
Francisco Tolmasky
aa0135515c
Forgot to add this file.
...
Reviewed by me.
2009-02-20 19:01:05 -08:00