mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 20:50:38 +00:00
Better helper methods for cell string drawing. Implement MacOSX 10.4
methods on NSForm and NSFormCell. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25421 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
1a13f90156
commit
d33b2e8dd0
8 changed files with 320 additions and 220 deletions
|
@ -44,6 +44,8 @@
|
|||
// YES if the titleWidth is automatically computed
|
||||
#define _formcell_auto_title_width _cell.subclass_bool_one
|
||||
NSCell* _titleCell;
|
||||
#define _formcell_placeholder_is_attributed_string _cell.subclass_bool_two
|
||||
id _placeholder;
|
||||
}
|
||||
|
||||
//
|
||||
|
@ -67,7 +69,15 @@
|
|||
- (void)setAttributedTitle:(NSAttributedString *)anAttributedString;
|
||||
- (void)setTitleWithMnemonic:(NSString *)titleWithAmpersand;
|
||||
#endif
|
||||
#if OS_API_VERSION(MAC_OS_X_VERSION_10_4, GS_API_LATEST)
|
||||
- (NSAttributedString*)placeholderAttributedString;
|
||||
- (NSString*)placeholderString;
|
||||
- (void)setPlaceholderAttributedString:(NSAttributedString*)string;
|
||||
- (void)setPlaceholderString:(NSString*)string;
|
||||
|
||||
- (NSWritingDirection)titleBaseWritingDirection;
|
||||
- (void)setTitleBaseWritingDirection:(NSWritingDirection)writingDirection;
|
||||
#endif
|
||||
@end
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue