Lines Matching refs:slider

92     NSSlider *slider;  field
99 @property(retain) NSSlider *slider; property
333 …CVSlider *slider = [[cvGetWindow(window_name) sliders] valueForKey:[NSString stringWithFormat:@"%s…
334 [slider setCallback2:on_notify2];
335 [slider setUserData:userdata];
386 …CVSlider *slider = [[window sliders] valueForKey:[NSString stringWithFormat:@"%s", trackbar_name]];
387 if(slider) {
388 pos = [[slider slider] intValue];
401 CVSlider *slider = nil;
417 slider = [[window sliders] valueForKey:[NSString stringWithFormat:@"%s", trackbar_name]];
418 if(slider) {
419 [[slider slider] setIntValue:pos];
432 CVSlider *slider = nil;
445 slider = [[window sliders] valueForKey:[NSString stringWithFormat:@"%s", trackbar_name]];
446 if(slider) {
448 [[slider slider] setMaxValue:maxval];
679 NSSlider *slider = [[window sliders] valueForKey:key];
680 viewHeight = std::min(viewHeight, (double)([slider frame].origin.y));
761 // Avoid overwriting slider
765 // Create slider
766 CVSlider *slider = [[CVSlider alloc] init];
767 [[slider name] setStringValue:cvname];
768 [[slider slider] setMaxValue:max];
769 [[slider slider] setMinValue:0];
770 [[slider slider] setNumberOfTickMarks:(max+1)];
771 [[slider slider] setAllowsTickMarkValuesOnly:YES];
774 [[slider slider] setIntValue:*value];
775 [slider setValue:value];
778 [slider setCallback:callback];
780 // Save slider
781 [sliders setValue:slider forKey:cvname];
782 [[self contentView] addSubview:slider];
787 sliderSize=[slider frame].size;
791 // Update slider sizes
797 rect.size.height += [slider frame].size.height;
899 NSSlider *slider = [[cvwindow sliders] valueForKey:key];
900 NSRect r = [slider frame];
903 [slider setFrame:r];
939 @synthesize slider;
964 slider = [[NSSlider alloc] initWithFrame:NSMakeRect(120, 0, 70, 25)];
965 [slider setAutoresizingMask:NSViewWidthSizable];
966 [slider setMinValue:0];
967 [slider setMaxValue:100];
968 [slider setContinuous:YES];
969 [slider setTarget:self];
970 [slider setAction:@selector(sliderChanged:)];
971 [self addSubview:slider];
982 int pos = [slider intValue];