Didier Korthoudt and GitHub
99d7c8d824
New: Modern Cocoa behavior for Menus ( #2929 )
...
More theme parameters
Modern Cocoa behavior
First menubar item can be displayed specifically
All 3 control sizes are now managed
2020-10-09 15:52:54 +02:00
Didier Korthoudt and GitHub
e7d5afe90e
New: Added dynamic attributes set for CSS based themes ( #2701 )
2020-04-06 13:10:34 +02:00
Didier Korthoudt and GitHub
60a686d75c
Fixed: _CPMenuItemStandardView didn't take in account the left-margin theme attribute ( #2689 )
2020-04-06 09:18:31 +02:00
Didier Korthoudt and cacaodev
61d97338e2
FIXED: _CPMenuItemStandardView was bypassing theme for disabled text color ( #2695 )
2018-05-13 19:48:33 +02:00
Antoine Mercadal
f9275a70af
FIXED: New warnings reveleaded by ivar type checking
...
This patch fixes all new warnings
2014-11-06 10:17:05 -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
Andrew Hankinson
cc9ff15142
Fixed: Removing an item from a menu also removes its highlight state
...
Previously when a menu item was instantiated outside of the context of the menu itself, its highlight state was maintained even after it was removed from the menu. If the menu was dismissed with the item highlighted, and then the item was used in another menu (e.g., re-added to a context menu for a table row) it would appear highlighted, even though the menu highlight index was not set.
This commit ensures that when removing items from a menu that the highlight state of the underlying view is set to NO as well.
Tests for this behaviour are included as well.
Fixes #1899
2013-04-10 00:04:53 -04:00
Alexander Ljungberg
5b05dc92a1
More dictionary literals.
2013-02-25 18:27:44 +00:00
Antoine Mercadal
bfb85ccfd2
Various fixes in CPMenu
...
- No shadow when hightlighted (like Cocoa)
- Themable separator color/text color/shadow color
2013-01-30 17:04:11 -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
17f07ee888
capp_lint will not flag CPRectEdge, more linking
2013-01-20 07:24:00 +07:00
Alexandre Wilhelm
18d0cf51ef
Removed unused code
2013-01-10 17:32:47 -08:00
Alexandre Wilhelm
f9c5f89595
Added support for _CPMenuItemStandardView
2013-01-10 13:57:32 -08:00
Antoine Mercadal
15005f5754
Update selection color
2013-01-03 16:59:10 -08:00
Aparajita Fishman
aeb2671fc0
CPImageView enhancements
...
- Changed from deprecated image scaling constants to new ones.
- Added support for CPImageScaleProportionallyUpOrDown (thanks BlairDuncan).
- Cleaned up image layout code.
2012-04-12 14:55:46 -04: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
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
Aparajita Fishman and Ross Boucher
6426c8aee2
Fix for issue #778
2010-07-28 15:04:40 -07:00
Scott Kyle and Randall Luecke
1899250a53
Semicolons are nice...
2010-06-10 16:42:28 -05:00
Francisco Ryan Tolmasky I
d879b25458
Re-enabled menu bar button support.
...
Closes #410 .
Reviewed by me.
2010-02-22 02:12:11 -08: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
becdf2bfeb
Fix for menus not having the proper font.
...
Reviewed by me.
2009-12-04 11:35:40 -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
f579fd925e
Fixed state columns not showing up.
...
Reviewed by me.
2009-12-02 20:18:25 -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
a4fdc50d1d
Move these back into their own folders.
...
Reviewed by me.
2009-11-19 14:04:16 -08:00
Francisco Ryan Tolmasky I
e0e675531a
Temporarily move these out into the main folder.
...
Reviewed by me.
2009-11-19 14:02:16 -08:00
Francisco Ryan Tolmasky I
e94ddb4179
First pass at submenus.
...
Reviewed by me.
2009-11-12 18:20:16 -08:00