mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 17:01:15 +02:00
CFBWindow: Add paintVLineRel() & paintHLineRel() for using...
...in external plugins
This commit is contained in:
@@ -68,6 +68,16 @@ void CFBWindow::paintBoxRel(const int _x, const int _y, const int _dx, const int
|
|||||||
frameBuffer->paintBoxRel(x + _x, y + _y, _dx, _dy, _col, radius, type);
|
frameBuffer->paintBoxRel(x + _x, y + _y, _dx, _dy, _col, radius, type);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void CFBWindow::paintVLineRel(int _x, int _y, int _dy, const color_t _col)
|
||||||
|
{
|
||||||
|
frameBuffer->paintVLineRel(x + _x, y + _y, _dy, _col);
|
||||||
|
}
|
||||||
|
|
||||||
|
void CFBWindow::paintHLineRel(int _x, int _dx, int _y, const color_t _col)
|
||||||
|
{
|
||||||
|
frameBuffer->paintHLineRel(x + _x, _dx, y + _y, _col);
|
||||||
|
}
|
||||||
|
|
||||||
bool CFBWindow::paintIcon(const char * const _filename, const int _x, const int _y, const int _h, const color_t _offset)
|
bool CFBWindow::paintIcon(const char * const _filename, const int _x, const int _y, const int _h, const color_t _offset)
|
||||||
{
|
{
|
||||||
frameBuffer->paintIcon(_filename, x + _x, y + _y, _h, _offset);
|
frameBuffer->paintIcon(_filename, x + _x, y + _y, _h, _offset);
|
||||||
|
@@ -43,6 +43,8 @@ class CFBWindow
|
|||||||
~CFBWindow();
|
~CFBWindow();
|
||||||
|
|
||||||
void paintBoxRel(const int _x, const int _y, const int _dx, const int _dy, const color_t _col, int radius = 0, int type = 0xF);
|
void paintBoxRel(const int _x, const int _y, const int _dx, const int _dy, const color_t _col, int radius = 0, int type = 0xF);
|
||||||
|
void paintVLineRel(int _x, int _y, int _dy, const color_t _col);
|
||||||
|
void paintHLineRel(int _x, int _dx, int _y, const color_t _col);
|
||||||
bool paintIcon(const char * const _filename, const int _x, const int _y, const int _h = 0, const color_t _offset = 1);
|
bool paintIcon(const char * const _filename, const int _x, const int _y, const int _h = 0, const color_t _offset = 1);
|
||||||
void RenderString(const font_t _font, const int _x, const int _y, const int _width, const char * const _text, const color_t _color, const int _boxheight = 0, const unsigned int _flags = Font::IS_UTF8);
|
void RenderString(const font_t _font, const int _x, const int _y, const int _width, const char * const _text, const color_t _color, const int _boxheight = 0, const unsigned int _flags = Font::IS_UTF8);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user