mirror of
https://github.com/RGBCube/serenity
synced 2025-05-22 19:45:08 +00:00
IRCClient+LibGUI: Add an input box so we can send messages to channels.
Implement this using a GTextEditor with a special single-line mode. This new mode needs some polishing, but it's already very useful.
This commit is contained in:
parent
ad08165a25
commit
1fc283ed7d
12 changed files with 126 additions and 23 deletions
|
@ -8,6 +8,7 @@
|
|||
#include <LibGUI/GVariant.h>
|
||||
#include <SharedGraphics/TextAlignment.h>
|
||||
|
||||
class Font;
|
||||
class GTableView;
|
||||
|
||||
enum class GSortOrder { None, Ascending, Descending };
|
||||
|
@ -38,6 +39,7 @@ public:
|
|||
struct ColumnMetadata {
|
||||
int preferred_width { 0 };
|
||||
TextAlignment text_alignment { TextAlignment::CenterLeft };
|
||||
const Font* font { nullptr };
|
||||
};
|
||||
|
||||
enum class Role { Display, Sort, Custom };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue