Home | History | Annotate | Download | only in src

Lines Matching full:trackbar_name

508 static int icvCreateTrackbar (const char* trackbar_name,
528 if( !window_name || !trackbar_name )
538 trackbar = icvFindTrackbarByName(window,trackbar_name);
541 int len = strlen(trackbar_name);
546 memcpy( trackbar->name, trackbar_name, len + 1 );
573 char valueinchar[strlen(trackbar_name)+1 +1 +1+nbDigit+1];//length+\n +space +(+nbDigit+)
574 sprintf(valueinchar, "%s (%d)",trackbar_name, trackbar->maxval);
592 sprintf(valueinchar, "%s (%d)",trackbar_name, trackbar->pos);
627 CV_IMPL int cvCreateTrackbar (const char* trackbar_name,
632 return icvCreateTrackbar(trackbar_name, window_name, val, count, on_notify, 0, 0);
636 CV_IMPL int cvCreateTrackbar2(const char* trackbar_name,
642 return icvCreateTrackbar(trackbar_name, window_name, val,
662 CV_IMPL int cvGetTrackbarPos( const char* trackbar_name, const char* window_name )
673 if( trackbar_name == 0 || window_name == 0 )
678 trackbar = icvFindTrackbarByName( window, trackbar_name );
688 CV_IMPL void cvSetTrackbarPos(const char* trackbar_name, const char* window_name, int pos)
697 if( trackbar_name == 0 || window_name == 0 )
702 trackbar = icvFindTrackbarByName( window, trackbar_name );