DeckLayouter.hxx (f120fe41) DeckLayouter.hxx (54eaaa32)
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

--- 60 unchanged lines hidden (view full) ---

69 class LayoutItem
70 {
71 public:
72 SharedPanel mpPanel;
73 css::ui::LayoutSize maLayoutSize;
74 sal_Int32 mnDistributedHeight;
75 sal_Int32 mnWeight;
76 sal_Int32 mnPanelIndex;
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

--- 60 unchanged lines hidden (view full) ---

69 class LayoutItem
70 {
71 public:
72 SharedPanel mpPanel;
73 css::ui::LayoutSize maLayoutSize;
74 sal_Int32 mnDistributedHeight;
75 sal_Int32 mnWeight;
76 sal_Int32 mnPanelIndex;
77 bool mbShowTitleBar;
77
78
78 LayoutItem (void) : mpPanel(),maLayoutSize(0,0,0),mnDistributedHeight(0),mnWeight(0),mnPanelIndex(0) {}
79 LayoutItem (void)
80 : mpPanel(),maLayoutSize(0,0,0),mnDistributedHeight(0),mnWeight(0),mnPanelIndex(0),mbShowTitleBar(true)
81 {}
79 };
80 static Rectangle LayoutPanels (
81 const Rectangle aContentArea,
82 ::std::vector<LayoutItem>& rLayoutItems,
83 Window& rScrollClipWindow,
84 Window& rScrollContainer,
85 ScrollBar& pVerticalScrollBar,
86 const bool bShowVerticalScrollBar);

--- 34 unchanged lines hidden ---
82 };
83 static Rectangle LayoutPanels (
84 const Rectangle aContentArea,
85 ::std::vector<LayoutItem>& rLayoutItems,
86 Window& rScrollClipWindow,
87 Window& rScrollContainer,
88 ScrollBar& pVerticalScrollBar,
89 const bool bShowVerticalScrollBar);

--- 34 unchanged lines hidden ---