mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 18:37:34 +00:00
IRC client setttings, Terminal settings, more WM settings
This commit is contained in:
parent
63486b8438
commit
e3f81bce49
13 changed files with 89 additions and 53 deletions
|
@ -8,12 +8,13 @@
|
|||
#include <LibGUI/GFrame.h>
|
||||
#include <LibCore/CNotifier.h>
|
||||
#include <LibCore/CTimer.h>
|
||||
#include <LibCore/CConfigFile.h>
|
||||
|
||||
class Font;
|
||||
|
||||
class Terminal final : public GFrame {
|
||||
public:
|
||||
explicit Terminal(int ptm_fd);
|
||||
explicit Terminal(int ptm_fd, RetainPtr<CConfigFile> config);
|
||||
virtual ~Terminal() override;
|
||||
|
||||
void create_window();
|
||||
|
@ -26,6 +27,8 @@ public:
|
|||
|
||||
void set_opacity(float);
|
||||
|
||||
RetainPtr<CConfigFile> config() const { return m_config; }
|
||||
|
||||
private:
|
||||
typedef Vector<unsigned, 4> ParamVector;
|
||||
|
||||
|
@ -42,6 +45,7 @@ private:
|
|||
void invalidate_cursor();
|
||||
void set_window_title(const String&);
|
||||
|
||||
|
||||
void inject_string(const String&);
|
||||
void unimplemented_escape();
|
||||
void unimplemented_xterm_escape();
|
||||
|
@ -165,4 +169,5 @@ private:
|
|||
int m_glyph_width { 0 };
|
||||
|
||||
CTimer m_cursor_blink_timer;
|
||||
RetainPtr<CConfigFile> m_config;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue