mirror of
https://github.com/Marat-Tanalin/bsnes-mt.git
synced 2025-04-02 10:21:42 -04:00
25 lines
622 B
C++
25 lines
622 B
C++
#if defined(Hiro_TextEdit)
|
|
|
|
namespace hiro {
|
|
|
|
struct pTextEdit : pWidget {
|
|
Declare(TextEdit, Widget)
|
|
|
|
auto focused() const -> bool override;
|
|
auto setBackgroundColor(Color color) -> void;
|
|
auto setEditable(bool editable) -> void;
|
|
auto setFocused() -> void override;
|
|
auto setForegroundColor(Color color) -> void;
|
|
auto setText(const string& text) -> void;
|
|
auto setTextCursor(TextCursor textCursor) -> void;
|
|
auto setWordWrap(bool wordWrap) -> void;
|
|
auto text() const -> string;
|
|
auto textCursor() const -> TextCursor;
|
|
|
|
GtkWidget* subWidget = nullptr;
|
|
GtkTextBuffer* textBuffer = nullptr;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|