TitleBar.cxx (7a32b0c8) | TitleBar.cxx (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 --- 41 unchanged lines hidden (view full) --- 50 51TitleBar::~TitleBar (void) 52{ 53} 54 55 56 57 | 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 --- 41 unchanged lines hidden (view full) --- 50 51TitleBar::~TitleBar (void) 52{ 53} 54 55 56 57 |
58void TitleBar::SetTitle (const ::rtl::OUString& rsTitle) 59{ 60 msTitle = rsTitle; 61 Invalidate(); 62} 63 64 65 66 |
|
58void TitleBar::Paint (const Rectangle& rUpdateArea) 59{ 60 (void)rUpdateArea; 61 62 // Paint title bar background. 63 Size aWindowSize( GetOutputSizePixel() ); 64 Rectangle aTitleBarBox( 65 0, --- 83 unchanged lines hidden --- | 67void TitleBar::Paint (const Rectangle& rUpdateArea) 68{ 69 (void)rUpdateArea; 70 71 // Paint title bar background. 72 Size aWindowSize( GetOutputSizePixel() ); 73 Rectangle aTitleBarBox( 74 0, --- 83 unchanged lines hidden --- |