mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-01 22:51:55 +00:00
Switch from float to CGFloat for column origins in table view
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@40255 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
6566f7b41d
commit
8d6d271138
4 changed files with 28 additions and 28 deletions
|
@ -56,7 +56,7 @@
|
|||
@interface NSTableView (GNUstepPrivate)
|
||||
- (void) _userResizedTableColumn: (int)index
|
||||
width: (float)width;
|
||||
- (float *) _columnOrigins;
|
||||
- (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