optpath.cxx (2ee96f1c) | optpath.cxx (09db6d69) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 216 unchanged lines hidden (view full) --- 225 226{ 227 pImpl->m_sMultiPathDlg = String( CUI_RES( STR_MULTIPATHDLG ) ); 228 aStandardBtn.SetClickHdl( LINK( this, SvxPathTabPage, StandardHdl_Impl ) ); 229 Link aLink = LINK( this, SvxPathTabPage, PathHdl_Impl ); 230 aPathBtn.SetClickHdl( aLink ); 231 Size aBoxSize = aPathCtrl.GetOutputSizePixel(); 232 pHeaderBar = new HeaderBar( &aPathCtrl, WB_BUTTONSTYLE | WB_BOTTOMBORDER ); | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 216 unchanged lines hidden (view full) --- 225 226{ 227 pImpl->m_sMultiPathDlg = String( CUI_RES( STR_MULTIPATHDLG ) ); 228 aStandardBtn.SetClickHdl( LINK( this, SvxPathTabPage, StandardHdl_Impl ) ); 229 Link aLink = LINK( this, SvxPathTabPage, PathHdl_Impl ); 230 aPathBtn.SetClickHdl( aLink ); 231 Size aBoxSize = aPathCtrl.GetOutputSizePixel(); 232 pHeaderBar = new HeaderBar( &aPathCtrl, WB_BUTTONSTYLE | WB_BOTTOMBORDER ); |
233 pHeaderBar->SetPosSizePixel( Point( 0, 0 ), Size( aBoxSize.Width(), 16 ) ); | 233 pHeaderBar->SetPosSizePixel( Point( 0, 0 ), Size( aBoxSize.Width(), 20 ) ); |
234 pHeaderBar->SetSelectHdl( LINK( this, SvxPathTabPage, HeaderSelect_Impl ) ); 235 pHeaderBar->SetEndDragHdl( LINK( this, SvxPathTabPage, HeaderEndDrag_Impl ) ); 236 Size aSz; 237 aSz.Width() = TAB_WIDTH1; 238 pHeaderBar->InsertItem( ITEMID_TYPE, aTypeText.GetText(), 239 LogicToPixel( aSz, MapMode( MAP_APPFONT ) ).Width(), 240 HIB_LEFT | HIB_VCENTER | HIB_CLICKABLE | HIB_UPARROW ); 241 aSz.Width() = TAB_WIDTH2; --- 613 unchanged lines hidden --- | 234 pHeaderBar->SetSelectHdl( LINK( this, SvxPathTabPage, HeaderSelect_Impl ) ); 235 pHeaderBar->SetEndDragHdl( LINK( this, SvxPathTabPage, HeaderEndDrag_Impl ) ); 236 Size aSz; 237 aSz.Width() = TAB_WIDTH1; 238 pHeaderBar->InsertItem( ITEMID_TYPE, aTypeText.GetText(), 239 LogicToPixel( aSz, MapMode( MAP_APPFONT ) ).Width(), 240 HIB_LEFT | HIB_VCENTER | HIB_CLICKABLE | HIB_UPARROW ); 241 aSz.Width() = TAB_WIDTH2; --- 613 unchanged lines hidden --- |