mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
CComponentsWindow: adapt header and footer corners for parent window
Corners of header and footer were not adapted to parent form.
It's unsightly, if these elements are not using the same corner types
like the parent window.
Origin commit data
------------------
Commit: 66ae096372
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-01-24 (Fri, 24 Jan 2014)
This commit is contained in:
@@ -137,6 +137,7 @@ void CComponentsWindow::initHeader()
|
|||||||
ccw_head->setCaption(ccw_caption, ccw_align_mode);
|
ccw_head->setCaption(ccw_caption, ccw_align_mode);
|
||||||
// ccw_head->initCCItems();
|
// ccw_head->initCCItems();
|
||||||
ccw_head->setDefaultButtons(ccw_buttons);
|
ccw_head->setDefaultButtons(ccw_buttons);
|
||||||
|
ccw_head->setCorner(corner_rad, CORNER_TOP);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -176,6 +177,7 @@ void CComponentsWindow::initFooter()
|
|||||||
ccw_footer->setPos(0, CC_APPEND);
|
ccw_footer->setPos(0, CC_APPEND);
|
||||||
ccw_footer->setWidth(width-2*fr_thickness);
|
ccw_footer->setWidth(width-2*fr_thickness);
|
||||||
ccw_footer->setShadowOnOff(shadow);
|
ccw_footer->setShadowOnOff(shadow);
|
||||||
|
ccw_footer->setCorner(corner_rad, CORNER_BOTTOM);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user