summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorGreg Ercolano <erco@seriss.com>2023-12-14 14:43:46 -0800
committerGreg Ercolano <erco@seriss.com>2023-12-14 14:43:46 -0800
commitbbafcafbe1e69ab03a751343465f4a8e7435dc34 (patch)
tree7058702bce6bb2e2b9aaf419de8556808f6e6f2a /examples
parent14f4dec0b98bb72d9b65edc09b922e752e9e2074 (diff)
fix window titles for table examples
Diffstat (limited to 'examples')
-rw-r--r--examples/table-as-container.cxx2
-rw-r--r--examples/table-simple.cxx2
-rw-r--r--examples/table-sort.cxx2
-rw-r--r--examples/table-spreadsheet-with-keyboard-nav.cxx2
-rw-r--r--examples/table-spreadsheet.cxx2
-rw-r--r--examples/table-with-keynav.cxx2
-rw-r--r--examples/table-with-right-column-stretch-fit.cxx2
7 files changed, 7 insertions, 7 deletions
diff --git a/examples/table-as-container.cxx b/examples/table-as-container.cxx
index 5c0051bfb..9f00be2dd 100644
--- a/examples/table-as-container.cxx
+++ b/examples/table-as-container.cxx
@@ -147,7 +147,7 @@ void button_cb(Fl_Widget *w, void*) {
}
int main() {
- Fl_Double_Window win(940, 500, "table as container");
+ Fl_Double_Window win(940, 500, "Table As Container");
WidgetTable table(20, 20, win.w()-40, win.h()-40, "FLTK widget table");
table.SetSize(50, 50);
win.end();
diff --git a/examples/table-simple.cxx b/examples/table-simple.cxx
index e4f520228..1fea6c662 100644
--- a/examples/table-simple.cxx
+++ b/examples/table-simple.cxx
@@ -106,7 +106,7 @@ public:
};
int main(int argc, char **argv) {
- Fl_Double_Window win(900, 400, "Simple Table");
+ Fl_Double_Window win(900, 400, "Table Simple");
MyTable table(10,10,880,380);
win.end();
win.resizable(table);
diff --git a/examples/table-sort.cxx b/examples/table-sort.cxx
index 5e2afa725..f2b4912a0 100644
--- a/examples/table-sort.cxx
+++ b/examples/table-sort.cxx
@@ -286,7 +286,7 @@ void MyTable::event_callback2() {
}
int main() {
- Fl_Double_Window win(900,500,"Table Sorting");
+ Fl_Double_Window win(900,500,"Table Sort");
MyTable table(MARGIN, MARGIN, win.w()-MARGIN*2, win.h()-MARGIN*2);
table.selection_color(FL_YELLOW);
table.col_header(1);
diff --git a/examples/table-spreadsheet-with-keyboard-nav.cxx b/examples/table-spreadsheet-with-keyboard-nav.cxx
index 8e2e5e8f9..329ad9d9a 100644
--- a/examples/table-spreadsheet-with-keyboard-nav.cxx
+++ b/examples/table-spreadsheet-with-keyboard-nav.cxx
@@ -291,7 +291,7 @@ void setrows_cb(Fl_Widget* w, void* v) {
int main() {
Fl::option(Fl::OPTION_ARROW_FOCUS, 1); // we want arrow keys to navigate table's widgets
- Fl_Double_Window *win = new Fl_Double_Window(922, 382, "Fl_Table Spreadsheet with Keyboard Navigation");
+ Fl_Double_Window *win = new Fl_Double_Window(922, 382, "Table Spreadsheet with Keyboard Navigation");
Spreadsheet* table = new Spreadsheet(20, 20, win->w()-80, win->h()-80);
// Table rows
table->row_header(1);
diff --git a/examples/table-spreadsheet.cxx b/examples/table-spreadsheet.cxx
index 0389bf645..9dc00eb25 100644
--- a/examples/table-spreadsheet.cxx
+++ b/examples/table-spreadsheet.cxx
@@ -248,7 +248,7 @@ void Spreadsheet::event_callback2() {
}
int main() {
- Fl_Double_Window *win = new Fl_Double_Window(862, 322, "Fl_Table Spreadsheet");
+ Fl_Double_Window *win = new Fl_Double_Window(862, 322, "Table Spreadsheet");
Spreadsheet *table = new Spreadsheet(10, 10, win->w()-20, win->h()-20);
table->tab_cell_nav(1); // enable tab navigation of table cells (instead of fltk widgets)
table->tooltip("Use keyboard to navigate cells:\n"
diff --git a/examples/table-with-keynav.cxx b/examples/table-with-keynav.cxx
index fb28d4523..bef179b54 100644
--- a/examples/table-with-keynav.cxx
+++ b/examples/table-with-keynav.cxx
@@ -149,7 +149,7 @@ void RowSelect_CB(Fl_Widget *w, void*) {
}
int main() {
Fl::option(Fl::OPTION_ARROW_FOCUS, 0); // disable arrow focus nav (we want arrows to control cells)
- Fl_Double_Window win(862, 312, "table-with-keynav");
+ Fl_Double_Window win(862, 312, "Table With Keynav");
win.begin();
// Create table
G_table = new MyTable(10, 30, win.w()-20, win.h()-70, "Times Table");
diff --git a/examples/table-with-right-column-stretch-fit.cxx b/examples/table-with-right-column-stretch-fit.cxx
index c6722fc61..2fb728781 100644
--- a/examples/table-with-right-column-stretch-fit.cxx
+++ b/examples/table-with-right-column-stretch-fit.cxx
@@ -136,7 +136,7 @@ void Less_CB(Fl_Widget *w, void *d) {
}
int main(int argc, char **argv) {
- Fl_Double_Window *win = new Fl_Double_Window(500, 400, "Simple Table");
+ Fl_Double_Window *win = new Fl_Double_Window(500, 400, "Table With Right Column Stretch Fit");
MyTable *table = new MyTable(10,10,win->w()-20,340);
Fl_Button more(10, 360,100,25,"+ Row"); more.callback(More_CB, (void*)table);
Fl_Button less(220,360,100,25,"- Row"); less.callback(Less_CB, (void*)table);