Remove eol spaces
This commit is contained in:
parent
d26f9134fc
commit
1ebd703f05
|
@ -148,7 +148,7 @@ void FLabel::draw()
|
||||||
to_char = int(length);
|
to_char = int(length);
|
||||||
else
|
else
|
||||||
to_char = width - 2;
|
to_char = width - 2;
|
||||||
|
|
||||||
if ( hasReverseMode() )
|
if ( hasReverseMode() )
|
||||||
setReverse(true);
|
setReverse(true);
|
||||||
|
|
||||||
|
@ -181,7 +181,7 @@ void FLabel::draw()
|
||||||
}
|
}
|
||||||
if ( hasReverseMode() )
|
if ( hasReverseMode() )
|
||||||
setReverse(false);
|
setReverse(false);
|
||||||
|
|
||||||
setUpdateVTerm(true);
|
setUpdateVTerm(true);
|
||||||
delete[] LabelText;
|
delete[] LabelText;
|
||||||
}
|
}
|
||||||
|
|
|
@ -40,7 +40,7 @@ FString::FString (int len, wchar_t c)
|
||||||
length = 0;
|
length = 0;
|
||||||
bufsize = 0;
|
bufsize = 0;
|
||||||
c_string = 0;
|
c_string = 0;
|
||||||
|
|
||||||
if ( len >= 0 )
|
if ( len >= 0 )
|
||||||
_replace ( FString(uInt(len), c).string );
|
_replace ( FString(uInt(len), c).string );
|
||||||
else
|
else
|
||||||
|
@ -68,7 +68,7 @@ FString::FString (int len, char c)
|
||||||
length = 0;
|
length = 0;
|
||||||
bufsize = 0;
|
bufsize = 0;
|
||||||
c_string = 0;
|
c_string = 0;
|
||||||
|
|
||||||
if ( len >= 0 )
|
if ( len >= 0 )
|
||||||
_replace ( FString(uInt(len), c).string );
|
_replace ( FString(uInt(len), c).string );
|
||||||
else
|
else
|
||||||
|
|
|
@ -84,13 +84,13 @@ int main (int argc, char* argv[])
|
||||||
// Create the button group
|
// Create the button group
|
||||||
FButtonGroup* radioButtonGroup = new FButtonGroup("Sex", &dgl);
|
FButtonGroup* radioButtonGroup = new FButtonGroup("Sex", &dgl);
|
||||||
radioButtonGroup->setGeometry(2, 13, 13, 4);
|
radioButtonGroup->setGeometry(2, 13, 13, 4);
|
||||||
|
|
||||||
// Create radio buttons
|
// Create radio buttons
|
||||||
FRadioButton* male = new FRadioButton("&Male", radioButtonGroup);
|
FRadioButton* male = new FRadioButton("&Male", radioButtonGroup);
|
||||||
FRadioButton* female = new FRadioButton("&Female",radioButtonGroup);
|
FRadioButton* female = new FRadioButton("&Female",radioButtonGroup);
|
||||||
male->setGeometry(1, 1, 7, 1);
|
male->setGeometry(1, 1, 7, 1);
|
||||||
female->setGeometry(1, 2, 7, 1);
|
female->setGeometry(1, 2, 7, 1);
|
||||||
|
|
||||||
// Create another button group
|
// Create another button group
|
||||||
FButtonGroup* checkButtonGroup = new FButtonGroup("&Data options", &dgl);
|
FButtonGroup* checkButtonGroup = new FButtonGroup("&Data options", &dgl);
|
||||||
checkButtonGroup->setGeometry(16, 13, 19, 4);
|
checkButtonGroup->setGeometry(16, 13, 19, 4);
|
||||||
|
@ -98,7 +98,7 @@ int main (int argc, char* argv[])
|
||||||
// Create checkbox buttons
|
// Create checkbox buttons
|
||||||
FCheckBox* check1 = new FCheckBox("Save data", checkButtonGroup);
|
FCheckBox* check1 = new FCheckBox("Save data", checkButtonGroup);
|
||||||
FCheckBox* check2 = new FCheckBox("Encrypt data", checkButtonGroup);
|
FCheckBox* check2 = new FCheckBox("Encrypt data", checkButtonGroup);
|
||||||
check1->setGeometry(1, 1, 7, 1);
|
check1->setGeometry(1, 1, 7, 1);
|
||||||
check2->setGeometry(1, 2, 7, 1);
|
check2->setGeometry(1, 2, 7, 1);
|
||||||
check2->setDisable();
|
check2->setDisable();
|
||||||
|
|
||||||
|
|
|
@ -232,13 +232,13 @@ MyDialog::MyDialog (FWidget* parent) : FDialog(parent)
|
||||||
MyButton4->setStatusbarMessage("Progressbar testing dialog");
|
MyButton4->setStatusbarMessage("Progressbar testing dialog");
|
||||||
MyButton4->setShadow();
|
MyButton4->setShadow();
|
||||||
MyButton4->setDisable();
|
MyButton4->setDisable();
|
||||||
|
|
||||||
FButton* MyButton5 = new FButton(this);
|
FButton* MyButton5 = new FButton(this);
|
||||||
MyButton5->setGeometry(19, 11, 12, 1);
|
MyButton5->setGeometry(19, 11, 12, 1);
|
||||||
MyButton5->setText(L"Environs");
|
MyButton5->setText(L"Environs");
|
||||||
MyButton5->setStatusbarMessage("Show environment settings");
|
MyButton5->setStatusbarMessage("Show environment settings");
|
||||||
MyButton5->setShadow();
|
MyButton5->setShadow();
|
||||||
|
|
||||||
FButton* MyButton6 = new FButton(this);
|
FButton* MyButton6 = new FButton(this);
|
||||||
MyButton6->setGeometry(19, 14, 12, 1);
|
MyButton6->setGeometry(19, 14, 12, 1);
|
||||||
MyButton6->setText(L"&Get input");
|
MyButton6->setText(L"&Get input");
|
||||||
|
|
Loading…
Reference in New Issue