Alexander Ljungberg
aba7fd5527
Make CPPopUpButton selectedTag private API to match Cocoa.
2012-03-26 19:55:50 +01:00
Valerii Hiora
d4ecb03d15
Fixed: On changing selection of CPPopUpButton value wasn't reverse
...
transformed to binded object
2011-12-06 22:41:30 +02:00
Aparajita Fishman
8c83816ec8
Made [CPMenu -removeAllItems] KVO compliant
...
Fixes https://github.com/cappuccino/cappuccino/issues/1395
2011-11-09 14:50:52 -08:00
Aparajita Fishman
3242e35250
Added CPMenu -removeAll method, removed unused internal _itemIsHighlighted method, test app
2011-05-11 23:59:33 -04:00
Klaas Pieter Annema
0f88207d7b
fix out of bounds error in itemWithTitle:
2011-04-29 12:01:51 +02:00
Randall Luecke
b78eddd878
Clearer explaination of setPullsDown: of CPPopupButton
2011-02-04 19:01:12 -05:00
Alexander Ljungberg
090fcab8c6
More globals fixing.
2011-01-24 13:43:55 -03:00
Stephen Ierodiaconou
6a942630e4
Fixing spelling mistakes
2011-01-24 11:05:48 +02:00
Francisco Ryan Tolmasky I
ec330a1090
Fix for pop up not reflecting changes in individual menu items.
...
Reviewed by me.
2011-01-20 09:07:04 -08:00
Francisco Ryan Tolmasky I
d2f27408a5
Additional fix for archived CPPopUpButtons, and backwards compatibility support for old archives/cibs.
...
Reviewed by me.
2011-01-19 19:29:39 -08:00
Francisco Ryan Tolmasky I
688aed72cb
Fix for CPPopUpButton's encoded prior to CPResponder/menu change.
...
Reviewed by me.
2011-01-18 23:09:43 -08:00
Francisco Ryan Tolmasky I
9796f5d5d7
Fix CPPopUpButton menu support.
...
- Added enumerateObjectsUsingBlock: to CPArray
- Fixed a remaining case of [] being used instead of objectAtIndex: in CPMutableArray.
- Added KVO support for menu items array in menus.
- Changed CPPopUpButton to use KVO to sync up with menu instead of notifications.
- Removed extra menu encoding in CPPopUpButton.
- Removed extra mainMenu object from CPApplication.
- Use setters in CPResponder instead of direct ivar access in initWithCoder:.
Closes #298 .
Closes $1059.
Reviewed by me.
2011-01-17 01:31:15 -08:00
Klaas Pieter Annema
003dcface0
make selectedTag accessor public again
...
This reverts commit cfee75b6e9 .
2010-12-13 22:16:06 +01:00
Klaas Pieter Annema
cfee75b6e9
rename CPPopUpButton selectedTag to _selectedTag
2010-12-13 10:38:23 +01:00
Brian Donovan
55121d501b
Call will/didChange manually since this isn't a setter.
2010-12-08 07:38:10 -08:00
Brian Donovan
788419d64c
NSPopUpButton has no public -setSelectedTag, so make it private.
2010-12-07 07:23:50 -08:00
Brian Donovan
735a38d134
NSPopUpButton has no CPValueBinding, use @"selectedIndex".
2010-12-07 07:23:30 -08:00
Brian Donovan
79c2edca2d
Allow binding to CPPopUpButton's selectedTag.
2010-12-03 16:12:22 -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
0bd03b8d58
Closes #926 . Don't display a menu when a CPPopUpButton is right clicked, especially not a broken one.
2010-10-09 21:54:19 -04:00
Aparajita Fishman and Ross Boucher
8702b1421f
Fix for issue #777 , also fixed a declared type while I was at it
2010-07-28 15:09:02 -07:00
Alexander Ljungberg and Francisco Ryan Tolmasky I
dfcef3ca2d
Fixed: [CPPopUpButton itemTitles] didn't work.
2010-05-24 15:45:07 -07:00
Francisco Ryan Tolmasky I
ae47509aa7
Add convinience methods for dealing with multiple objects and controls.
...
Reviewed by me.
2010-04-27 01:04:46 -07:00
Francisco Ryan Tolmasky I
ec41411675
Fix for disabled menu item shadows, and slighlty better positioning for pop up menus.
...
Reviewed by me.
2009-12-04 11:55:01 -08:00
Francisco Ryan Tolmasky I
06b64c6a87
Fix for a few edge cases, and added showsStateColumn support to nib2cib.
...
Reviewed by me.
2009-12-03 19:24:03 -08:00
Francisco Ryan Tolmasky I
29963f74d6
Made menu positioning smarter.
...
Reviewed by me.
2009-12-03 16:24:35 -08:00
Francisco Ryan Tolmasky I
cfc46edfb8
Fix for properly positioning pop up button menus.
...
Reviewed by me.
2009-12-03 01:27:53 -08:00
Francisco Ryan Tolmasky I
b82c307007
Added -setMinimumWidth/minimumWidth to CPMenu.
...
Reviewed by me.
2009-11-30 23:08:05 -08:00
Francisco Ryan Tolmasky I
f850cbf780
Better handling of submenu actions.
...
Reviewed by me.
2009-11-30 22:30:41 -08:00
Francisco Ryan Tolmasky I
4b71557584
Added -popUpMenuPositioningItem:atLocation:inView:callback: and began porting existing uses to it.
...
Reviewed by me.
2009-11-30 20:54:53 -08:00
Francisco Ryan Tolmasky I
72f80cdbed
Cleaned up menu constraints.
...
Reviewed by me.
2009-11-30 02:01:44 -08:00
Francisco Ryan Tolmasky I
e3babe97e4
Update to fix menu item sizes breaking on second open.
...
Reviewed by me.
2009-11-20 23:34:21 -08:00
Francisco Ryan Tolmasky I
ab8add681e
A number of fixes and improvements to the platform window subsystem.
...
Reviewed by me.
2009-08-17 03:50:51 -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
4f4a488762
Remove debugger command in CPPopUpButton that breaks Release builds.
...
Reviewed by me.
2009-07-26 15:28:41 -07:00
Ross Boucher
5829c8b682
Fix an issue where removing all items from a CPPopUpButton caused an exception.
2009-07-24 22:49:18 -07:00
Francisco Ryan Tolmasky I
aebbdbe0a3
Fixed a few graphics bugs and made the automatically generated theme gallery nicer.
...
Reviewed by me.
2009-05-23 12:33:24 -07:00
Ross Boucher
850125b8ab
Add documentation groups
2009-05-18 15:43:36 -07:00
Francisco Tolmasky
862af9cbae
First stab at fixing Themeing API.
...
Reviewed by me.
2009-05-10 13:04:02 -07:00
Francisco Tolmasky
880e4dfb3a
Merge branch 'master' into tolmasky
...
Conflicts:
AppKit/CPControl.j
AppKit/CPTextField.j
2009-03-18 17:41:17 -07:00
Francisco Tolmasky
2664e30a8b
A number of changes.
...
Reviewed by me.
2009-03-08 20:40:11 -07:00
Thomas Balthazar and Ross Boucher
1d38ca64c7
ticket 220 fixed http://cappuccino.lighthouseapp.com:80/projects/16499/tickets/220-typo-in-cppopupbutton-indexofitemwithrepresentedobject#ticket-220-1
2009-02-26 17:46:41 -08:00
Francisco Tolmasky
6ad037e469
Fix for major theme state bug.
...
Reviewed by me.
2009-02-18 02:22:10 -08:00
Francisco Tolmasky
f6c0d93c47
Merged from master.
...
Reviewed by me.
2009-02-17 14:46:40 -08:00
Francisco Tolmasky
44d837c1eb
A number of improvements to theming and bug fixes.
...
Reviewed by me.
2009-02-13 01:48:44 -08:00
Francisco Tolmasky
50baf5fd50
Further improvements.
...
Reviewed by me.
2009-02-10 01:12:34 -08:00
Francisco Tolmasky
df5f6c692f
Additional theme changes.
...
Reviewed by me.
2009-02-05 21:17:59 -08:00
Ross Boucher
94c838dfde
Various fixes.
2009-02-02 18:24:06 -07:00
Francisco Ryan Tolmasky I
c8101d481e
Fix spacing issues in CPPopUpButton.
...
Reviewed by me.
2009-01-28 17:20:29 -08:00