Fix .clang-format and some whitespace errors

.clang-format: UseTab: ForIndentation -> Never

Update fluid generated files
This commit is contained in:
Albrecht Schlosser 2020-08-22 13:35:42 +02:00
parent 206675a3b1
commit 340e2ac3a1
9 changed files with 10 additions and 11 deletions

View File

@ -1,7 +1,7 @@
# #
# clang-format control file for the FLTK project. # clang-format control file for the FLTK project.
# #
# Copyright 2017 by Bill Spitzak and others. # Copyright 2017-2020 by Bill Spitzak and others.
# #
# This library is free software. Distribution and use rights are outlined in # This library is free software. Distribution and use rights are outlined in
# the file "COPYING" which should have been included with this file. If this # the file "COPYING" which should have been included with this file. If this
@ -64,7 +64,7 @@ BasedOnStyle: LLVM
# this annoying bug of clang-format. # this annoying bug of clang-format.
# #
# UseTab: Always # UseTab: Always
UseTab: ForIndentation UseTab: Never
# Should we extend code lines beyond 80 columns ? # Should we extend code lines beyond 80 columns ?
# Default: 80 # Default: 80

View File

@ -317,7 +317,6 @@ ive to the origin at construction time");
{ Fl_Value_Input* o = new Fl_Value_Input(95, 185, 55, 20, "Size:"); { Fl_Value_Input* o = new Fl_Value_Input(95, 185, 55, 20, "Size:");
o->tooltip("The size of the slider."); o->tooltip("The size of the slider.");
o->labelsize(11); o->labelsize(11);
o->step(0.010101);
o->textsize(11); o->textsize(11);
o->callback((Fl_Callback*)slider_size_cb); o->callback((Fl_Callback*)slider_size_cb);
o->align(Fl_Align(FL_ALIGN_TOP_LEFT)); o->align(Fl_Align(FL_ALIGN_TOP_LEFT));

View File

@ -295,7 +295,7 @@ Use Ctrl-J for newlines.} xywh {95 40 190 20} labelfont 1 labelsize 11 when 1 te
Fl_Value_Input {} { Fl_Value_Input {} {
label {Size:} label {Size:}
callback slider_size_cb callback slider_size_cb
tooltip {The size of the slider.} xywh {95 185 55 20} labelsize 11 align 5 step 0.010101 textsize 11 tooltip {The size of the slider.} xywh {95 185 55 20} labelsize 11 align 5 textsize 11
} }
Fl_Value_Input {} { Fl_Value_Input {} {
label {Minimum:} label {Minimum:}
@ -674,7 +674,7 @@ wCallback->do_callback(wCallback, v);} open
Fl_Button {} { Fl_Button {} {
label Revert label Revert
callback revert_cb callback revert_cb
comment {Hidden Revert button} comment {Hidden Revert button} selected
xywh {90 370 60 20} labelsize 11 hide xywh {90 370 60 20} labelsize 11 hide
} }
Fl_Button wLiveMode { Fl_Button wLiveMode {