More window cleaning
This commit is contained in:
parent
6adc441e6f
commit
53c98a227d
29 changed files with 422 additions and 261 deletions
|
@ -36,7 +36,7 @@ void TextBox::AppendContent(const std::string& text)
|
|||
mContent += text;
|
||||
}
|
||||
|
||||
bool TextBox::OnMyKeyboardEvent(const KeyboardEvent* event)
|
||||
bool TextBox::onMyKeyboardEvent(const KeyboardEvent* event)
|
||||
{
|
||||
if(!event) return false;
|
||||
|
||||
|
@ -72,10 +72,10 @@ bool TextBox::OnMyKeyboardEvent(const KeyboardEvent* event)
|
|||
return true;
|
||||
}
|
||||
|
||||
void TextBox::OnPaintEvent(const PaintEvent* event)
|
||||
void TextBox::onPaintEvent(const PaintEvent* event)
|
||||
{
|
||||
mMyLayers.clear();
|
||||
AddBackground(event);
|
||||
addBackground(event);
|
||||
|
||||
double offset = 0;
|
||||
if(!mContent.empty())
|
||||
|
@ -99,5 +99,5 @@ void TextBox::OnPaintEvent(const PaintEvent* event)
|
|||
offset += 20;
|
||||
}
|
||||
}
|
||||
CopyMyLayers();
|
||||
addMyLayers();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue