Split rank_one_type_parm_complex from rank_one_type
[deliverable/binutils-gdb.git] / gdb / ui-style.h
index d719438c72692a30a60e243e4112b89dafaa6dfc..04a1d448ba997c494edbc2ba400d81d9d50a8f66 100644 (file)
@@ -163,6 +163,16 @@ struct ui_file_style
   /* Return the ANSI escape sequence for this style.  */
   std::string to_ansi () const;
 
+  /* Return true if this style is the default style; false
+     otherwise.  */
+  bool is_default () const
+  {
+    return (m_foreground == NONE
+           && m_background == NONE
+           && m_intensity == NORMAL
+           && !m_reverse);
+  }
+
   /* Return true if this style specified reverse display; false
      otherwise.  */
   bool is_reverse () const
This page took 0.023897 seconds and 4 git commands to generate.