diff options
Diffstat (limited to 'gdb/ui-style.h')
-rw-r--r-- | gdb/ui-style.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/gdb/ui-style.h b/gdb/ui-style.h index 04a1d44..2a87fbe 100644 --- a/gdb/ui-style.h +++ b/gdb/ui-style.h @@ -180,18 +180,36 @@ struct ui_file_style return m_reverse; } + /* Set/clear the reverse display flag. */ + void set_reverse (bool reverse) + { + m_reverse = reverse; + } + /* Return the foreground color of this style. */ const color &get_foreground () const { return m_foreground; } + /* Set the foreground color of this style. */ + void set_fg (color c) + { + m_foreground = c; + } + /* Return the background color of this style. */ const color &get_background () const { return m_background; } + /* Set the background color of this style. */ + void set_bg (color c) + { + m_background = c; + } + /* Return the intensity of this style. */ intensity get_intensity () const { |