diff options
author | Nalin Dahyabhai <nalin@src.gnome.org> | 2002-06-07 16:58:50 +0000 |
---|---|---|
committer | Nalin Dahyabhai <nalin@src.gnome.org> | 2002-06-07 16:58:50 +0000 |
commit | 869a5edc9ea17d09544cd89a8c096f44e4741a55 (patch) | |
tree | 1451d41f25311c1eda9e0b0ccc2b24a9507cc6a0 /src/vte.h | |
parent | b392abcb72e5f7a2a67d65b2dcb3beb6626c8c9c (diff) |
Check for pangoxft with Xft1 or Xft2, hopefully getting things right forvte_0_3_26
* configure.in: Check for pangoxft with Xft1 or Xft2, hopefully getting
things right for either case. Patches by andersca and otaylor.
* src/reaper.c, src/reaper.h: Add a singleton object to watch for
SIGCHLD when child processes quit.
* src/vte.c, src/vte.h: Add get_cursor_position(). Remove get_snapshot()
and free_shapshot(). Emit a "child-exited" signal when a child started
with fork_command() exits. Fix a logic bug that caused us to scroll
to the bottom even if the user just pressed and released a modifier
key. Fix saving of the font in set_font() in most cases, where we
weren't saving the new font before. Scroll-to-bottom on input method
commits, which are also the result of keystrokes, when
scroll-on-keystroke is enabled.
* src/vte.c: Use FcNameUnparse() instead of XftNameUnparse in Xft2. Patch from
otaylor.
* src/vte.defs: Add. Not very useful yet.
* src/vteaccess.c: Rework to use get_text() and get_cursor_position()
instead of get_snapshot(), so that selection and accessibility both
agree on what's visible (or "visible").
Diffstat (limited to 'src/vte.h')
-rw-r--r-- | src/vte.h | 23 |
1 files changed, 3 insertions, 20 deletions
@@ -64,6 +64,7 @@ typedef struct _VteTerminalClass { /*< private > */ /* Signals we might emit. */ guint eof_signal; + guint child_exited_signal; guint char_size_changed_signal; guint window_title_changed_signal; guint icon_title_changed_signal; @@ -82,26 +83,6 @@ typedef struct _VteTerminalClass { guint move_window_signal; } VteTerminalClass; -/* A snapshot of the screen contents. */ -typedef struct _VteTerminalSnapshot { - struct { - int x, y; /* Location of the cursor. */ - } cursor; - int rows, columns; /* Size of the screen[shot]. */ - gboolean cursor_visible; - struct VteTerminalSnapshotCell { - gunichar c; /* The character itself. */ - struct { - /* Colors of this character. */ - GdkColor foreground, background; - /* Is it underlined? */ - gboolean underline; - /* Is it a graphic character? */ - gboolean alternate; - } attributes; - } **contents; -} VteTerminalSnapshot; - /* Values for "what should happen when the user hits backspace/delete". Use * AUTO unless the user can cause them to be overridden. */ typedef enum { @@ -225,6 +206,8 @@ char *vte_terminal_get_text(VteTerminal *terminal, gboolean(*is_selected)(VteTerminal * terminal, long column, long row), GArray *attributes); +void vte_terminal_get_cursor_position(VteTerminal *terminal, + long *column, long *row); /* Display string matching: clear all matching expressions. */ void vte_terminal_match_clear_all(VteTerminal *terminal); |