Aparajita Fishman
b6a520e350
Typos, formatting
2013-02-10 20:02:55 -05:00
Alexander Ljungberg
6b0565e9ab
Fixed: CPBox with CPBezelBorder had unexpected inner shadow.
...
Without this fix, a CPBoxOldStyle box with a CPBezelBorder would draw with the correct border colour and fill, but with an additional inner shadow, unlike Cocoa.
This fix makes it so that only primary and secondary boxes draw with the special "well"-like shadow style.
2013-02-04 16:39:08 +00:00
Alexander Ljungberg
3d9b69a860
Fixed: broken corners on primary CPBox in Chrome.
...
In Chrome, a primary CPBox (showing the new recessed rounded corner look) had distorted and jagged edges in Chrome due to the clipping mask.
This fix places the clipping mask on integer coordinates which seems to resolve the problem.
2013-02-04 15:40:01 +00:00
Antoine Mercadal
b23cadea59
Fix bugs in CPBox and improve the way we draw lines
2013-01-24 19:45:26 -08:00
Alexander Ljungberg
d818615472
Missing import.
2013-01-20 16:35:48 +00:00
Alexander Ljungberg
cb786a0166
Small CPBox optimisation.
...
No need to call `setNeedsDisplay:` after `setValue:forThemeAttribute:`.
2013-01-20 13:19:29 +00:00
Aparajita Fishman
7c831fa19d
capp_lint flags deprecated CPPoint/Rect/Size types/functions
...
- Changed to corresponding CG types/functions in all files
- Fixed some demo app bugs
2013-01-19 16:51:56 +07:00
Antoine Mercadal
82bb9a6008
Remove useless code in simple line CPBox
2013-01-16 13:42:46 -08:00
Alexandre Wilhelm
29d56b63f7
Fixed bug about border in CPBox lineBorder
2013-01-16 11:48:23 -08:00
Antoine Mercadal
edc62449f6
Make CPBox themable
2013-01-04 18:45:05 -08:00
Alexander Ljungberg
c3c61e1889
- CPBox titleView.
...
This method is the Cappuccino analog to `- NSBox titleCell`.
2012-10-24 15:32:45 +01:00
Alexander Ljungberg
fd138cfae7
- CPBox setTitleFont support.
2012-10-15 01:10:08 +01:00
Antoine Mercadal
eafbebcebb
fix crash when setting title while to content view is set
2012-01-16 14:19:09 +01:00
Antoine Mercadal
e8194d9c2e
Fix some sizing problem with CPBox titles. close #1431
2012-01-14 12:31:12 +01:00
Antoine Mercadal
f0e1b67197
Merge remote-tracking branch 'upstream/master'
2012-01-13 13:56:16 +01:00
Antoine Mercadal
5daa8cb289
Support for title in CPBox. close #1428
2012-01-13 13:51:50 +01:00
Aparajita Fishman
789d832808
Tab -> spaces
2012-01-12 18:44:19 +06:30
alexmipego
e32515e5cc
Make boxEnclosingView: copy the auto resizing settings of the view
2011-08-07 20:22:14 +01:00
Alexander Ljungberg
8ae94c2745
Put CPBox in the right documentation module and add some basic documentation.
2011-05-23 13:46:09 -04:00
Alexander Ljungberg
ea8c29356d
More typo and formatting fixes.
2011-01-24 13:17:48 -03:00
Stephen Ierodiaconou
6a942630e4
Fixing spelling mistakes
2011-01-24 11:05:48 +02:00
Brian Donovan and Klaas Pieter Annema
5a0129018a
Fix spelling of "separator".
2010-11-09 10:33:49 +01:00
Klaas Pieter Annema
4817a87499
fix CPBox drawing the separator style between pixels
2010-11-05 13:05:43 +01:00
Mike Fellows
1c597eb0df
Fix regression in CPBox's setBorder
2010-09-29 00:05:15 -07:00
Alexander Ljungberg
4dc102a3cf
Applied coding standards.
2010-09-28 19:00:59 -04:00
Klaas Pieter Annema
ffcbf87858
add basic support for drawing separators to CPBox
2010-09-28 14:50:20 +02:00
Aparajita Fishman and Alexander Ljungberg
6fbdf7b400
Support for NSBox in nib2cib and some fixes to CPDrawTiledRects/CPDrawColorTiledRects.
...
- The default box background color is now clear, that is what Cocoa does.
- Bezel drawing uses CPDrawTiledRects, obeys border width.
- CPDrawTiledRects/CPDrawColorTiledRects explicitly sets the line width and saves/restores the graphics state.
- Whitespace cleanup in CPBox.
2010-09-10 20:35:38 -04:00
cacaodev and Randall Luecke
23e9fd927c
CPBox: Made CPBezelType the default type instead of none.
...
Slighly grayed stroke color for bezel type & fillColor for all types to better match cocoa
Fix contentView autoresizingMask
2010-08-12 15:16:20 -05:00
saikat and Ross Boucher
489f2bcfa0
Reverting 1c9763eaa8 - autoresizing the contentview breaks sizetofit
2010-04-09 14:18:20 -07:00
Ross Boucher
1c9763eaa8
CPBox should autoresize its content view.
2010-03-26 16:41:23 -07:00
Nicholas Small and Ross Boucher
bc6f168afa
Added some designated initializers to AppKit.
2009-10-09 00:03:52 -07:00
Ross Boucher
317f1d356c
Add copyright info to CPBox
2009-09-22 17:23:54 -07:00
Ross Boucher
25f3d99732
Add support for CPBox.
2009-09-22 17:23:02 -07:00