fix rendering of offscreen windows
This commit is contained in:
parent
dda34421a3
commit
e5dd3d2e85
2 changed files with 4 additions and 6 deletions
|
@ -1,6 +1,8 @@
|
|||
(Format: Year/Month/Day)
|
||||
Changes for 0.9.6:
|
||||
*03/10/06:
|
||||
* Fix rendering of offscreen windows (remove if !visible tests) (Simon)
|
||||
FbWinFrame.cc
|
||||
* Fix shaped windows+menus (Simon)
|
||||
- make sure all existing menus use shape
|
||||
- fix Shape itself, particularly to work properly with borders
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
// DEALINGS IN THE SOFTWARE.
|
||||
|
||||
// $Id: FbWinFrame.cc,v 1.57 2003/10/05 09:03:43 rathnor Exp $
|
||||
// $Id: FbWinFrame.cc,v 1.58 2003/10/06 09:28:35 rathnor Exp $
|
||||
|
||||
#include "FbWinFrame.hh"
|
||||
|
||||
|
@ -665,8 +665,6 @@ void FbWinFrame::reconfigure() {
|
|||
}
|
||||
}
|
||||
|
||||
if (!m_visible) return;
|
||||
|
||||
// render the theme
|
||||
renderButtons();
|
||||
if (!m_shaded)
|
||||
|
@ -845,7 +843,7 @@ void FbWinFrame::renderTitlebar() {
|
|||
|
||||
|
||||
void FbWinFrame::renderHandles() {
|
||||
if (!m_use_handle || !m_visible)
|
||||
if (!m_use_handle)
|
||||
return;
|
||||
|
||||
render(m_theme.handleFocusTexture(), m_handle_focused_color,
|
||||
|
@ -910,7 +908,6 @@ void FbWinFrame::renderHandles() {
|
|||
}
|
||||
|
||||
void FbWinFrame::renderButtons() {
|
||||
if (!m_visible) return;
|
||||
|
||||
render(m_theme.buttonFocusTexture(), m_button_color, m_button_pm,
|
||||
m_button_size, m_button_size);
|
||||
|
@ -1054,7 +1051,6 @@ void FbWinFrame::getUnfocusPixmap(Pixmap &label_pm, Pixmap &title_pm,
|
|||
}
|
||||
|
||||
void FbWinFrame::renderLabelButtons() {
|
||||
if (!m_visible) return;
|
||||
Pixmap label_pm = 0;
|
||||
Pixmap not_used_pm = 0;
|
||||
FbTk::Color label_color;
|
||||
|
|
Loading…
Reference in a new issue