DeckLayouter.cxx (45da7d5e) | DeckLayouter.cxx (8a1a651a) |
---|---|
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 --- 10 unchanged lines hidden (view full) --- 19 * 20 *************************************************************/ 21 22#include "precompiled_sfx2.hxx" 23 24#include "DeckLayouter.hxx" 25#include "sfx2/sidebar/Theme.hxx" 26#include "Panel.hxx" | 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 --- 10 unchanged lines hidden (view full) --- 19 * 20 *************************************************************/ 21 22#include "precompiled_sfx2.hxx" 23 24#include "DeckLayouter.hxx" 25#include "sfx2/sidebar/Theme.hxx" 26#include "Panel.hxx" |
27#include "TitleBar.hxx" | 27#include "PanelTitleBar.hxx" |
28#include "Deck.hxx" 29 30#include <vcl/window.hxx> 31#include <vcl/scrbar.hxx> 32 33using namespace ::com::sun::star; 34using namespace ::com::sun::star::uno; 35 --- 181 unchanged lines hidden (view full) --- 217 218 Panel& rPanel (*iItem->mpPanel); 219 220 // Separator above the panel title bar. 221 aSeparators.push_back(nY); 222 nY += nDeckSeparatorHeight; 223 224 // Place the title bar. | 28#include "Deck.hxx" 29 30#include <vcl/window.hxx> 31#include <vcl/scrbar.hxx> 32 33using namespace ::com::sun::star; 34using namespace ::com::sun::star::uno; 35 --- 181 unchanged lines hidden (view full) --- 217 218 Panel& rPanel (*iItem->mpPanel); 219 220 // Separator above the panel title bar. 221 aSeparators.push_back(nY); 222 nY += nDeckSeparatorHeight; 223 224 // Place the title bar. |
225 TitleBar* pTitleBar = rPanel.GetTitleBar(); | 225 PanelTitleBar* pTitleBar = rPanel.GetTitleBar(); |
226 if (pTitleBar != NULL) 227 { 228 if (iItem->mbShowTitleBar) 229 { 230 pTitleBar->SetPosSizePixel(0, nY, nWidth, nPanelTitleBarHeight); 231 pTitleBar->Show(); 232 nY += nPanelTitleBarHeight; 233 } --- 288 unchanged lines hidden --- | 226 if (pTitleBar != NULL) 227 { 228 if (iItem->mbShowTitleBar) 229 { 230 pTitleBar->SetPosSizePixel(0, nY, nWidth, nPanelTitleBarHeight); 231 pTitleBar->Show(); 232 nY += nPanelTitleBarHeight; 233 } --- 288 unchanged lines hidden --- |