From 10eefc7a611c4f2100784fdd74edda72b20cb2e4 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Wed, 29 Jul 2015 13:35:49 -0400 Subject: [PATCH] Verified some stuff. --- redo/darwin/combobox.m | 2 -- redo/darwin/progressbar.m | 2 -- redo/darwin/slider.m | 2 -- 3 files changed, 6 deletions(-) diff --git a/redo/darwin/combobox.m b/redo/darwin/combobox.m index e7ea29a7..72c2c578 100644 --- a/redo/darwin/combobox.m +++ b/redo/darwin/combobox.m @@ -37,10 +37,8 @@ static uiCombobox *finishNewCombobox(BOOL editable) c->cb = [[NSComboBox alloc] initWithFrame:NSZeroRect]; [c->cb setUsesDataSource:NO]; [c->cb setButtonBordered:YES]; -NSLog(@"TEST intercellSpacing %@", NSStringFromSize([c->cb intercellSpacing])); [c->cb setCompletes:NO]; uiDarwinMakeSingleViewControl(uiControl(c), c->cb, YES); -NSLog(@"TEST intercellSpacing %@", NSStringFromSize([c->cb intercellSpacing])); } else { c->pb = [[NSPopUpButton alloc] initWithFrame:NSZeroRect pullsDown:NO]; // TODO preferred edge diff --git a/redo/darwin/progressbar.m b/redo/darwin/progressbar.m index 124a35b7..d1632b60 100644 --- a/redo/darwin/progressbar.m +++ b/redo/darwin/progressbar.m @@ -31,12 +31,10 @@ uiProgressBar *uiNewProgressBar(void) p = (struct progressbar *) uiNewControl(uiTypeProgressBar()); p->pi = [[NSProgressIndicator alloc] initWithFrame:NSZeroRect]; -NSLog(@"TEST thread %d tint %d stopped %d", (int) [p->pi usesThreadedAnimation], [p->pi controlTint], (int) [p->pi isDisplayedWhenStopped]); [p->pi setControlSize:NSRegularControlSize]; [p->pi setBezeled:YES]; [p->pi setStyle:NSProgressIndicatorBarStyle]; [p->pi setIndeterminate:NO]; -NSLog(@"TEST thread %d tint %d stopped %d", (int) [p->pi usesThreadedAnimation], [p->pi controlTint], (int) [p->pi isDisplayedWhenStopped]); uiDarwinMakeSingleViewControl(uiControl(p), p->pi, NO); uiControl(p)->Handle = progressbarHandle; diff --git a/redo/darwin/slider.m b/redo/darwin/slider.m index 8e3f8317..9b2f0c33 100644 --- a/redo/darwin/slider.m +++ b/redo/darwin/slider.m @@ -54,7 +54,6 @@ uiSlider *uiNewSlider(intmax_t min, intmax_t max) s = (struct slider *) uiNewControl(uiTypeSlider()); s->slider = [[NSSlider alloc] initWithFrame:NSZeroRect]; -NSLog(@"NOTE thickness %f\n", [s->slider knobThickness]); // TODO vertical is defined by wider than tall [s->slider setMinValue:min]; [s->slider setMaxValue:max]; @@ -64,7 +63,6 @@ NSLog(@"NOTE thickness %f\n", [s->slider knobThickness]); cell = (NSSliderCell *) [s->slider cell]; [cell setSliderType:NSLinearSlider]; -NSLog(@"NOTE thickness %f\n", [s->slider knobThickness]); uiDarwinMakeSingleViewControl(uiControl(s), s->slider, NO);