|
@@ -291,6 +291,17 @@ door::Goto Panel::gotoEnd(void) {
|
|
|
return door::Goto(col, row);
|
|
|
}
|
|
|
|
|
|
+/**
|
|
|
+ * @brief Set background of all lines in the panel.
|
|
|
+ *
|
|
|
+ * @param back
|
|
|
+ */
|
|
|
+void Panel::lineSetBack(ANSIColor back) {
|
|
|
+ for (auto &line : lines) {
|
|
|
+ line->setColor(back);
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
/**
|
|
|
* @brief Create a spacer line using block drawing characters.
|
|
|
*
|