From 828d8a0e2b13ff0ae414ddae7f9ca1de1e2c8d88 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Sat, 22 Jul 2023 16:01:49 +0200 Subject: FLUID: shell code cleanup --- fluid/alignment_panel.fl | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'fluid/alignment_panel.fl') diff --git a/fluid/alignment_panel.fl b/fluid/alignment_panel.fl index 2bc7925dd..c7eea9bd7 100644 --- a/fluid/alignment_panel.fl +++ b/fluid/alignment_panel.fl @@ -116,7 +116,7 @@ Function {make_settings_window()} {open xywh {10 10 320 530} selection_color 12 labelsize 11 labelcolor 255 } { Fl_Group {} { - label General open selected + label General open image {icons/general_64.png} compress_image 1 xywh {10 60 320 480} labelsize 11 code0 {o->image()->scale(36, 24);} } { @@ -981,12 +981,18 @@ Function {make_shell_window()} {open } { Fl_Simple_Terminal shell_run_terminal { xywh {10 10 535 375} resizable + code0 {shell_run_terminal->ansi(1);} } Fl_Group {} {open xywh {10 395 535 25} } { + Fl_Button {} { + label Clear + callback {shell_run_terminal->clear();} selected + xywh {10 395 94 25} + } Fl_Box {} { - xywh {10 395 435 25} hide resizable + xywh {104 395 341 25} hide resizable } Fl_Return_Button shell_run_button { label Close -- cgit v1.2.3