diff --git a/src/chroma_window.cpp b/src/chroma_window.cpp
index a32b8f5..2d18db1 100644
--- a/src/chroma_window.cpp
+++ b/src/chroma_window.cpp
@@ -28,20 +28,28 @@ void ChromaWindow::createControls() {
high_b->setGeometry(95, 90, 50, 20);
high_g->setGeometry(170, 90, 50, 20);
high_r->setGeometry(245, 90, 50, 20);
- QLabel *string_low, *string_high;
- string_low = new QLabel("Low BGR: ", this);
- string_high = new QLabel("High BGR: ", this);
+ string_low = new QLabel("BGR Low: ", this);
+ string_high = new QLabel("BGR High: ", this);
string_low->setGeometry(15, 65, 75, 20);
string_high->setGeometry(15, 90, 75, 20);
-
button_select_range->setChecked(true);
+ color_keys = new QListWidget(this);
+ color_keys->setGeometry(15, 130, 320-30, 100);
+ color_add = new QPushButton("Add Key", this);
+ color_add->setGeometry(320-10, 130, 75, 20);
+ color_remove = new QPushButton("Remove", this);
+ color_remove->setGeometry(320-10, 155, 75, 20);
}
void ChromaWindow::openColorSelectRange() {
// set to use range
+ string_low->setText(tr("BGR Low: "));
+ string_high->setText(tr("BGR High:"));
}
void ChromaWindow::openColorSelectTolerance() {
// set to use tolerance
+ string_low->setText(tr("Tolerance -"));
+ string_high->setText(tr("Tolerance +"));
}
diff --git a/src/chroma_window.h b/src/chroma_window.h
index 9c25c66..ad76c29 100644
--- a/src/chroma_window.h
+++ b/src/chroma_window.h
@@ -15,6 +15,9 @@ private:
void createControls();
QRadioButton *button_select_range, *button_select_tolerance;
QLineEdit *low_b, *low_g, *low_r, *high_b, *high_g, *high_r;
+ QLabel *string_low, *string_high;
+ QListWidget *color_keys;
+ QPushButton *color_add, *color_remove, *color_okay;
};