mirror of
https://github.com/edubart/otclient.git
synced 2025-10-19 05:53:26 +02:00
add command completion to console
This commit is contained in:
@@ -50,6 +50,7 @@ public:
|
||||
std::string getText() const { return m_text; }
|
||||
std::string getDisplayedText();
|
||||
int getTextPos(Point pos);
|
||||
int getCursorPos() const { return m_cursorPos; }
|
||||
|
||||
protected:
|
||||
virtual void onStyleApply(const OTMLNodePtr& styleNode);
|
||||
|
@@ -105,7 +105,7 @@ void UIWidget::render()
|
||||
// debug draw box
|
||||
//g_graphics.bindColor(Fw::green);
|
||||
//g_graphics.drawBoundingRect(child->getRect());
|
||||
//g_fonts.getDefaultFont()->renderText(child->getId(), child->getPosition() + Point(2, 0), Color::red);
|
||||
//g_fonts.getDefaultFont()->renderText(child->getId(), child->getPosition() + Point(2, 0), Fw::red);
|
||||
|
||||
g_graphics.setOpacity(oldOpacity);
|
||||
}
|
||||
|
Reference in New Issue
Block a user