mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +02:00
CComponents: Add corner_type to paintFbItems() => paintBoxFrame()
Origin commit data
------------------
Branch: ni/coolstream
Commit: c5e223a231
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-05-16 (Thu, 16 May 2013)
Origin message was:
------------------
* CComponents: Add corner_type to paintFbItems() => paintBoxFrame()
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -129,7 +129,7 @@ void CComponents::paintFbItems(bool do_save_bg)
|
|||||||
if (fbtype != CC_FBDATA_TYPE_BGSCREEN && paint_bg){
|
if (fbtype != CC_FBDATA_TYPE_BGSCREEN && paint_bg){
|
||||||
if (fbtype == CC_FBDATA_TYPE_FRAME) {
|
if (fbtype == CC_FBDATA_TYPE_FRAME) {
|
||||||
if (v_fbdata[i].frame_thickness > 0)
|
if (v_fbdata[i].frame_thickness > 0)
|
||||||
frameBuffer->paintBoxFrame(v_fbdata[i].x, v_fbdata[i].y, v_fbdata[i].dx, v_fbdata[i].dy, v_fbdata[i].frame_thickness, v_fbdata[i].color, v_fbdata[i].r);
|
frameBuffer->paintBoxFrame(v_fbdata[i].x, v_fbdata[i].y, v_fbdata[i].dx, v_fbdata[i].dy, v_fbdata[i].frame_thickness, v_fbdata[i].color, v_fbdata[i].r, corner_type);
|
||||||
}
|
}
|
||||||
else if (fbtype == CC_FBDATA_TYPE_BACKGROUND)
|
else if (fbtype == CC_FBDATA_TYPE_BACKGROUND)
|
||||||
frameBuffer->paintBackgroundBoxRel(x, y, v_fbdata[i].dx, v_fbdata[i].dy);
|
frameBuffer->paintBackgroundBoxRel(x, y, v_fbdata[i].dx, v_fbdata[i].dy);
|
||||||
|
Reference in New Issue
Block a user