Lines Matching refs:toolbar

169         HWND toolbar;  member
175 toolbar; member
812 memset( &window->toolbar, 0, sizeof(window->toolbar)); in cvNamedWindow()
924 if( window->toolbar.toolbar ) in icvRemoveWindow()
925 icvSetWindowLongPtr(window->toolbar.toolbar, CV_USERDATA, 0); in icvRemoveWindow()
943 for( trackbar = window->toolbar.first; trackbar != 0; ) in icvRemoveWindow()
1003 if(window->toolbar.toolbar) in icvCalcWindowRect()
1005 GetWindowRect(window->toolbar.toolbar, &trect); in icvCalcWindowRect()
1065 for(i = 0; i < (window->toolbar.toolbar ? 2 : 1); i++) in icvUpdateWindowPos()
1265 for(i = 0; i < (window->toolbar.toolbar ? 2 : 1); i++) in cvResizeWindow()
1339 if( window->toolbar.first ) in MainWindowProc()
1341 GetWindowRect( window->toolbar.first->hwnd, &rect ); in MainWindowProc()
1342 minmax->ptMinTrackSize.y += window->toolbar.rows*(rect.bottom - rect.top); in MainWindowProc()
1354 if(window->toolbar.toolbar) in MainWindowProc()
1357 GetWindowRect(window->toolbar.toolbar, &rect); in MainWindowProc()
1358 MoveWindow(window->toolbar.toolbar, 0, 0, pos->cx, rect.bottom - rect.top, TRUE); in MainWindowProc()
1443 if(window->toolbar.toolbar) in MainWindowProc()
1445 GetWindowRect(window->toolbar.toolbar, &tr); in MainWindowProc()
1808 LRESULT ret = CallWindowProc(window->toolbar.toolBarProc, hwnd, uMsg, wParam, lParam); in HGToolbarProc()
1811 if(window->toolbar.rows != rows) in HGToolbarProc()
1813 SendMessage(window->toolbar.toolbar, TB_BUTTONCOUNT, 0, 0); in HGToolbarProc()
1814 CvTrackbar* trackbar = window->toolbar.first; in HGToolbarProc()
1819 SendMessage(window->toolbar.toolbar, TB_GETITEMRECT, in HGToolbarProc()
1827 window->toolbar.rows = rows; in HGToolbarProc()
1833 return CallWindowProc(window->toolbar.toolBarProc, hwnd, uMsg, wParam, lParam); in HGToolbarProc()
1984 CvTrackbar* trackbar = window->toolbar.first; in icvFindTrackbarByName()
2029 if( !window->toolbar.toolbar ) in icvCreateTrackbar()
2034 window->toolbar.toolbar = CreateWindowEx(0, TOOLBARCLASSNAME, NULL, in icvCreateTrackbar()
2039 SendMessage(window->toolbar.toolbar, TB_BUTTONSTRUCTSIZE, (WPARAM)sizeof(TBBUTTON), 0); in icvCreateTrackbar()
2042 MoveWindow( window->toolbar.toolbar, 0, 0, in icvCreateTrackbar()
2044 SendMessage(window->toolbar.toolbar, TB_AUTOSIZE, 0, 0); in icvCreateTrackbar()
2045 ShowWindow(window->toolbar.toolbar, SW_SHOW); in icvCreateTrackbar()
2047 window->toolbar.first = 0; in icvCreateTrackbar()
2048 window->toolbar.pos = 0; in icvCreateTrackbar()
2049 window->toolbar.rows = 0; in icvCreateTrackbar()
2050 window->toolbar.toolBarProc = in icvCreateTrackbar()
2051 (WNDPROC)icvGetWindowLongPtr(window->toolbar.toolbar, CV_WNDPROC); in icvCreateTrackbar()
2056 icvSetWindowLongPtr(window->toolbar.toolbar, CV_WNDPROC, HGToolbarProc); in icvCreateTrackbar()
2057 icvSetWindowLongPtr(window->toolbar.toolbar, CV_USERDATA, window); in icvCreateTrackbar()
2061 bcount = (int)SendMessage(window->toolbar.toolbar, TB_BUTTONCOUNT, 0, 0); in icvCreateTrackbar()
2072 SendMessage(window->toolbar.toolbar, TB_ADDBUTTONS, 1, (LPARAM)&tbs); in icvCreateTrackbar()
2075 bcount = (int)SendMessage(window->toolbar.toolbar, TB_BUTTONCOUNT, 0, 0); in icvCreateTrackbar()
2098 SendMessage(window->toolbar.toolbar, TB_ADDBUTTONS, 1, (LPARAM)&tbs); in icvCreateTrackbar()
2107 SendMessage(window->toolbar.toolbar, TB_SETBUTTONINFO, in icvCreateTrackbar()
2111 SendMessage(window->toolbar.toolbar, TB_GETITEMRECT, in icvCreateTrackbar()
2123 trackbar->next = window->toolbar.first; in icvCreateTrackbar()
2126 window->toolbar.first = trackbar; in icvCreateTrackbar()
2134 rect.bottom - rect.top, window->toolbar.toolbar, in icvCreateTrackbar()
2142 window->toolbar.toolbar, 0, hg_hinstance, 0); in icvCreateTrackbar()
2147 SendMessage( window->toolbar.toolbar, TB_SETROWS, in icvCreateTrackbar()
2167 SendMessage(window->toolbar.toolbar, TB_AUTOSIZE, 0, 0); in icvCreateTrackbar()