Didier Korthoudt and GitHub
a4ef18ddab
FIXED: Before this PR, only CPControl could use nib2cib-adjustment-frame. ( #2831 )
2020-03-11 10:17:14 +01:00
Alexandre Wilhelm
770d5eb257
Fixed: nib2cib is broken due to the new feature CPTrackingArea. The array _trackingAres is not initialize when creating NS* object
2015-12-22 11:10:31 -08:00
Antoine Mercadal
20289ff81b
fix two small bugs in CPApperance
2015-08-13 20:25:45 -07:00
Alexandre Wilhelm
ef5f26fd81
New: Added support for scaling in CPView
...
This PR adds the support of scaling in CPView.
There are two new public methods in CPView : -(void)scaleUnitSquareToSize: and -(void)setScaleSize:
-(void)scaleUnitSquareToSize: works exactly as in COCOA, it means if you set a first scale to 0.5 and then 0.5 again, the scaleSize of the view will be 0.25
-(void)setScaleSize: works with the value given. If you set 0.5 after you just seted 0.5 the scaleSize will be 0.5. This method is definitly better in using, specially when using the scaleSize binding with a slider.
Test app in Tests/Manual/ScalingTest
2013-10-15 14:03:26 -07:00
cacaodev
7d03483210
Merge remote-tracking branch 'upstream/master' into CPTableViewLion
...
Conflicts:
AppKit/CPView.j
2013-02-26 11:56:18 +01:00
Alexander Ljungberg
4188b274f7
Move special per class nib2cib processing to the classes themselves in awakeFromNib.
...
Having class specific code in the class makes more sense, and this will make it easier to add more class specific transformations.
2013-02-24 22:23:12 +00:00
cacaodev
a0d52d415b
Merge remote-tracking branch 'upstream/master' into CPTableViewLion
2012-04-28 09:00:53 +02:00
Aparajita Fishman
36bfc7c675
Fixed decode methods to return the correct defaults, removed unnecessary containsValueForKey and || with defaults
2012-04-24 10:15:19 +02:00
cacaodev
5a99011feb
nib2cib support for CPView identifier property.
2012-04-13 09:19:23 +02:00
Aparajita Fishman
502edbd152
nib2cib enhancements
...
- Added support for User Defined Runtime Attributes in IB.
- Added support for userland NS classes in IB.
- Added support for file-based nib2cib configuration.
- Converted nib2cib to Objective-J from straight Javascript.
- Updated man page for new features.
- Test app.
2012-04-12 12:09:24 -04:00
Aparajita Fishman
522d4dcb2b
Removed layout constants
2011-03-11 08:39:41 -05:00
Aparajita Fishman
d303e6e96c
Initial commit before testing.
2011-03-08 17:40:41 -05:00
Francisco Ryan Tolmasky I
ff60125183
Some capp_linting.
...
Reviewed by me.
2010-12-01 11:04:17 -08:00
cacaodev and Alexander Ljungberg
c47e6af6e4
nib2cib: Fix a bug where a view's tag of 0 in Interface Builder was decoded as -1 in capp. This is the default when instancing in code, not when unarchiving a Nib. Testing: in Tests/Manual/NibApp, just logging a textfield's tag
2010-09-10 20:03:28 -04:00
Aparajita Fishman and Alexander Ljungberg
627c300b4a
Switched to using bit mask constants
2010-08-09 18:02:40 -04:00
Aparajita Fishman and Alexander Ljungberg
00812025c2
Fix for issue #818 (NSView does not read hidden flag)
2010-08-09 18:02:32 -04:00
Francisco Ryan Tolmasky I
afba1909bb
Improved TableView nib support as well as including several nib2cib improvements.
...
Reviewed by me.
2009-07-11 18:12:20 -07:00
Francisco Ryan Tolmasky I
cfdb6b0df2
Further work on theme showcase.
...
Reviewed by me.
2009-05-25 15:29:17 -07:00
Francisco Tolmasky
862af9cbae
First stab at fixing Themeing API.
...
Reviewed by me.
2009-05-10 13:04:02 -07:00
Francisco Tolmasky
44d837c1eb
A number of improvements to theming and bug fixes.
...
Reviewed by me.
2009-02-13 01:48:44 -08:00
tlrobinson
f6b3afa75c
Various nib2cib conversion improvements (sizes, autoresize, button/window styles, etc)
2008-12-09 02:00:09 -08:00
Tom Robinson
7e352676c9
nib2cib null _superview bug fix
2008-11-18 18:10:28 -08:00
Francisco Ryan Tolmasky I
5144a5a579
Added @accessor support, @import, and fixed spacing bug with @selector.
...
Reviewed by ross.
2008-10-26 00:48:49 -07:00
Francisco Ryan Tolmasky I
ae6e3f2c47
Added coding support for tags to CPView and nib2cib.
...
Reviewed by me.
2008-09-18 22:47:15 -07:00
Francisco Ryan Tolmasky I
4a858cda3e
Fix for http://cappuccino.lighthouseapp.com/projects/16499/tickets/30-make-nib2cib-work-with-new-build-system#ticket-30-1 .
...
[#30 state:resolved]
Reviewed by tom.
2008-09-09 14:57:53 -07:00
Francisco Ryan Tolmasky I
a97bb72800
Initial commit.
...
Reviewed by francisco, ross and tom.
2008-09-04 03:52:20 -07:00