X-Git-Url: https://irasnyder.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=tilda-terminal.h;h=e9d8f28ca8d58c3c562785d067cffd2b1bcdd317;hb=f700382da8724c1c3cd0b6fa898129605255a91a;hp=062cfddd05c93a59230c04d23f007671717ca5b5;hpb=b10473197a4e969f9e7e4dbb70d9d5f8a4a1092d;p=tilda-gobject.git diff --git a/tilda-terminal.h b/tilda-terminal.h index 062cfdd..e9d8f28 100644 --- a/tilda-terminal.h +++ b/tilda-terminal.h @@ -1,10 +1,15 @@ #ifndef TILDA_TERMINAL_H #define TILDA_TERMINAL_H -#include +#include +#include +#include + +#include "tilda-window.h" + #define TILDA_TYPE_TERMINAL (tilda_terminal_get_type()) -#define TILDA_TERMINAL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TILDA_TYPE_TERMINAL)) +#define TILDA_TERMINAL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TILDA_TYPE_TERMINAL, TildaTerminal)) #define TILDA_TERMINAL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TILDA_TYPE_TERMINAL, TildaTerminalClass)) #define TILDA_IS_TERMINAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TILDA_TYPE_TERMINAL)) #define TILDA_IS_TERMINAL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TILDA_TYPE_TERMINAL)) @@ -18,7 +23,52 @@ struct _TildaTerminal { gboolean dispose_has_run; /* Instance Members */ + gint window_number; + GObject *parent_window; + GtkWidget *vte_term; + GtkWidget *scrollbar; + GtkWidget *hbox; gint number; + + gchar *background_image; + gchar *shell; + gchar *font; + gchar *title; + gchar *working_directory; + gchar *web_browser; + + gint scrollback_lines; + gint transparency_percent; + // TODO: opacity, tint, etc + + // TODO: these really are enums. Maybe the config system + // TODO: can be made to handle top, bottom, left, right. + // TODO: (similar to the true/false handling) + // TODO: + // TODO: or, maybe ints would just be better + // TODO: REMEMBER THOUGH: make the computer do what it's good at ;) + gint backspace_binding; + gint delete_binding; + gint dynamic_title; + gint exit_action; + gint scrollbar_position; + // TODO: gint colorscheme; the code can work around the need for + // TODO: this value. Just check if the back and fore colors match + // TODO: any pre-defined colorschemes exactly in the GUI. + GdkColor background_color; + GdkColor foreground_color; + // TODO: all other colors supported by VTE + + gboolean scroll_background; + gboolean scroll_on_output; + gboolean scroll_on_keystroke; + gboolean antialiased; + gboolean allow_bold_text; + gboolean cursor_blinks; + gboolean audible_bell; + gboolean visible_bell; + gboolean double_buffered; + gboolean mouse_autohide; }; struct _TildaTerminalClass {