mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-22 23:30:37 +01:00
Migrate Kandinsky to C++
Change-Id: I2752a8db84ad0bb817119cf6c2993c1622621150
This commit is contained in:
@@ -8,10 +8,10 @@ FunctionCell::FunctionCell() :
|
||||
m_message = "NULL";
|
||||
}
|
||||
|
||||
void FunctionCell::drawRect(KDRect rect) const {
|
||||
KDColor background = m_even ? KDColorRGB(0xEE, 0xEE, 0xEE) : KDColorRGB(0x77,0x77,0x77);
|
||||
KDFillRect(rect, background);
|
||||
KDDrawString(m_message, KDPointZero, m_focused);
|
||||
void FunctionCell::drawRect(KDContext * ctx, KDRect rect) const {
|
||||
KDColor background = m_even ? KDColor(0xEEEEEE) : KDColor(0x777777);
|
||||
ctx->fillRect(rect, background);
|
||||
ctx->drawString(m_message, KDPointZero, m_focused);
|
||||
}
|
||||
|
||||
void FunctionCell::setMessage(const char * message) {
|
||||
|
||||
Reference in New Issue
Block a user