mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:28:12 +00:00
IRCClient: Switch to using an HtmlView for the IRC window contents :^)
This seemed like a perfect fit for LibHTML. We can now style the IRC channels and queries however we like with the power of HTML and CSS. This patch doesn't do much in the way of styling, it just gets the basic mechanism into place.
This commit is contained in:
parent
98ff8ef0cf
commit
fa69b9fbb7
8 changed files with 64 additions and 146 deletions
|
@ -6,8 +6,8 @@ class IRCChannel;
|
|||
class IRCClient;
|
||||
class IRCQuery;
|
||||
class IRCLogBuffer;
|
||||
class GTableView;
|
||||
class GTextEditor;
|
||||
class HtmlView;
|
||||
|
||||
class IRCWindow : public GWidget {
|
||||
C_OBJECT(IRCWindow)
|
||||
|
@ -46,7 +46,7 @@ private:
|
|||
void* m_owner { nullptr };
|
||||
Type m_type;
|
||||
String m_name;
|
||||
RefPtr<GTableView> m_table_view;
|
||||
RefPtr<HtmlView> m_html_view;
|
||||
RefPtr<GTextEditor> m_text_editor;
|
||||
RefPtr<IRCLogBuffer> m_log_buffer;
|
||||
int m_unread_count { 0 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue