mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 01:30:47 +00:00
Some int -> NSInteger and float -> CGFloat transitions.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40138 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
995effb347
commit
491707067f
8 changed files with 259 additions and 235 deletions
|
@ -54,9 +54,9 @@
|
|||
#define mouse_sensitivity 4
|
||||
|
||||
@interface NSTableView (GNUstepPrivate)
|
||||
- (void) _userResizedTableColumn: (int)index
|
||||
width: (float)width;
|
||||
- (float *) _columnOrigins;
|
||||
- (void) _userResizedTableColumn: (NSInteger)index
|
||||
width: (CGFloat)width;
|
||||
- (CGFloat *) _columnOrigins;
|
||||
- (void) _mouseDownInHeaderOfTableColumn: (NSTableColumn *)tc;
|
||||
- (void) _clickTableColumn: (NSTableColumn *)tc;
|
||||
@end
|
||||
|
@ -487,7 +487,7 @@
|
|||
maxCoord = NSMaxX(bounds);
|
||||
}
|
||||
{
|
||||
float *_c = [_tableView _columnOrigins];
|
||||
CGFloat *_c = [_tableView _columnOrigins];
|
||||
_cO_minus1 = malloc((numberOfColumns + 3) * sizeof(CGFloat));
|
||||
_cO = _cO_minus1 + 1;
|
||||
memcpy(_cO, _c, numberOfColumns * sizeof(CGFloat));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue