#include <forms.h>
int main(int argc, char *argv[]) {
FL_FORM *form;
fl_initialize(&argc, argv, "FormDemo", 0, 0);
form = fl_bgn_form(FL_UP_BOX, 320, 240);
fl_add_box(FL_SHADOW_BOX, 10, 10, 300, 50, "\bTesting program");
fl_end_form();
fl_show_form(form, FL_PLACE_MOUSE, FL_TRANSIENT, "Question");
fl_do_forms();
fl_finish();
return 0;
}
The program running:
At left the program running at Linux (raspbian armv7).
At Right running at Solaris x86. (See the big underline there)
So I thought it would be important to report this difference in behavior.
Additional information:
1- Using underline with 1 character works normally in the 2 systems
2- Changing FL_SHADOW_BOX to FL_UP_BOX works normally in the 2 systems
Versions:
xforms 1.2.4 compiled with source manually (./configure && make && make install)
operating system Solaris x86 11.3