mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
Shadow: try to optimize shadow areas
* cleanup inner part of box on round corners, frames considered
* adopt implementations in some gui classes
* some debug lines removed
* test menu adopted
* try to fix corner caluculation to avoid transparent holes
Origin commit data
------------------
Branch: ni/coolstream
Commit: a17d61de8c
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-08-30 (Tue, 30 Aug 2016)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1240,7 +1240,7 @@ void CMenuWidget::paint()
|
||||
// paint head
|
||||
if (header == NULL){
|
||||
header = new CComponentsHeader(x, y, width + sb_width, hheight, getName(), iconfile);
|
||||
header->enableShadow(CC_SHADOW_RIGHT);
|
||||
header->enableShadow(CC_SHADOW_RIGHT | CC_SHADOW_CORNER_TOP_RIGHT | CC_SHADOW_CORNER_BOTTOM_RIGHT);
|
||||
header->setOffset(10);
|
||||
}
|
||||
header->setColorAll(COL_FRAME_PLUS_0, COL_MENUHEAD_PLUS_0, COL_SHADOW_PLUS_0);
|
||||
|
Reference in New Issue
Block a user