More TODO resolution.
This commit is contained in:
parent
b082f69e3f
commit
f8311aa14d
|
@ -52,7 +52,6 @@ struct uiArea {
|
||||||
dp.AreaWidth = 0;
|
dp.AreaWidth = 0;
|
||||||
dp.AreaHeight = 0;
|
dp.AreaHeight = 0;
|
||||||
if (!a->scrolling) {
|
if (!a->scrolling) {
|
||||||
// TODO frame or bounds?
|
|
||||||
dp.AreaWidth = [self frame].size.width;
|
dp.AreaWidth = [self frame].size.width;
|
||||||
dp.AreaHeight = [self frame].size.height;
|
dp.AreaHeight = [self frame].size.height;
|
||||||
}
|
}
|
||||||
|
@ -137,7 +136,6 @@ struct uiArea {
|
||||||
me.AreaWidth = 0;
|
me.AreaWidth = 0;
|
||||||
me.AreaHeight = 0;
|
me.AreaHeight = 0;
|
||||||
if (!a->scrolling) {
|
if (!a->scrolling) {
|
||||||
// TODO frame or bounds?
|
|
||||||
me.AreaWidth = [self frame].size.width;
|
me.AreaWidth = [self frame].size.width;
|
||||||
me.AreaHeight = [self frame].size.height;
|
me.AreaHeight = [self frame].size.height;
|
||||||
}
|
}
|
||||||
|
@ -182,11 +180,9 @@ struct uiArea {
|
||||||
me.Held1To64 |= 2;
|
me.Held1To64 |= 2;
|
||||||
if (buttonNumber != 3 && (pmb & 2) != 0)
|
if (buttonNumber != 3 && (pmb & 2) != 0)
|
||||||
me.Held1To64 |= 4;
|
me.Held1To64 |= 4;
|
||||||
// buttons 4..64
|
// buttons 4..32
|
||||||
|
// https://developer.apple.com/library/mac/documentation/Carbon/Reference/QuartzEventServicesRef/index.html#//apple_ref/c/tdef/CGMouseButton says Quartz only supports up to 32 buttons
|
||||||
max = 32;
|
max = 32;
|
||||||
// TODO are the upper 32 bits just mirrored?
|
|
||||||
// if (sizeof (NSUInteger) == 8)
|
|
||||||
// max = 64;
|
|
||||||
for (i = 4; i <= max; i++) {
|
for (i = 4; i <= max; i++) {
|
||||||
uint64_t j;
|
uint64_t j;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue