summaryrefslogtreecommitdiff
path: root/src/Fl_File_Chooser.cxx
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2021-12-19 22:43:36 +0100
committerAlbrecht Schlosser <albrechts.fltk@online.de>2021-12-19 22:45:53 +0100
commite8961f10b87290ce9a0b9efc1a0439760b3b2e60 (patch)
treee96671a57a660e85e80b465d7102170f665fdf42 /src/Fl_File_Chooser.cxx
parent2328547538d17631cfb10c90ee474b99ea808a67 (diff)
Update fluid generated and .fl files (remove mac_shell...)
Commit updated .cxx files in src/ with fixed indenting Remove `mac_shell_*' statements from fluid (.fl) files
Diffstat (limited to 'src/Fl_File_Chooser.cxx')
-rw-r--r--src/Fl_File_Chooser.cxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/Fl_File_Chooser.cxx b/src/Fl_File_Chooser.cxx
index b2993633d..fb7f39642 100644
--- a/src/Fl_File_Chooser.cxx
+++ b/src/Fl_File_Chooser.cxx
@@ -28,9 +28,9 @@
void Fl_File_Chooser::cb_window_i(Fl_Double_Window*, void*) {
fileName->value("");
-fileList->deselect();
-Fl::remove_timeout((Fl_Timeout_Handler)previewCB, this);
-window->hide();
+ fileList->deselect();
+ Fl::remove_timeout((Fl_Timeout_Handler)previewCB, this);
+ window->hide();
}
void Fl_File_Chooser::cb_window(Fl_Double_Window* o, void* v) {
((Fl_File_Chooser*)(o->user_data()))->cb_window_i(o,v);
@@ -104,9 +104,9 @@ void Fl_File_Chooser::cb_fileName(Fl_File_Input* o, void* v) {
void Fl_File_Chooser::cb_okButton_i(Fl_Return_Button*, void*) {
window->hide();
-// Do any callback that is registered...
-if (callback_)
- (*callback_)(this, data_);
+ // Do any callback that is registered...
+ if (callback_)
+ (*callback_)(this, data_);
}
void Fl_File_Chooser::cb_okButton(Fl_Return_Button* o, void* v) {
((Fl_File_Chooser*)(o->parent()->parent()->parent()->user_data()))->cb_okButton_i(o,v);
@@ -114,9 +114,9 @@ void Fl_File_Chooser::cb_okButton(Fl_Return_Button* o, void* v) {
void Fl_File_Chooser::cb_cancelButton_i(Fl_Button*, void*) {
fileName->value("");
-fileList->deselect();
-Fl::remove_timeout((Fl_Timeout_Handler)previewCB, this);
-window->hide();
+ fileList->deselect();
+ Fl::remove_timeout((Fl_Timeout_Handler)previewCB, this);
+ window->hide();
}
void Fl_File_Chooser::cb_cancelButton(Fl_Button* o, void* v) {
((Fl_File_Chooser*)(o->parent()->parent()->parent()->user_data()))->cb_cancelButton_i(o,v);