9#include <ecl/modules/eclDisplay/MultilineWidget.h>
18 TGGroupFrame(p, title)
20 SetLayoutManager(
new TGVerticalLayout(
this));
22 for (
int i = 0; i < line_count; i++) {
27MultilineWidget::~MultilineWidget()
29 for (
unsigned int i = 0; i <
lines.size(); i++) {
43 if (new_count > prev_count) {
44 for (
int i = new_count - prev_count; i > 0; i--)
47 for (
int i = prev_count - new_count; i > 0; i--)
54 TGLabel* line =
lines[line_id];
71 TGLabel* line =
lines[line_id];
77 TGLabel* line =
new TGLabel(
this, text);
79 lines.push_back(line);
80 AddFrame(line,
new TGLayoutHints(kLHintsLeft | kLHintsExpandY));
Abstract base class for different kinds of events.