mirror of
https://github.com/fltk/fltk.git
synced 2026-06-01 23:06:54 +08:00
Project settings in FLUID now also set a project as 'modified'.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4533 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
@@ -220,14 +220,21 @@ void show_settings_cb(Fl_Widget *, void *) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void header_input_cb(Fl_Input* i, void*) {
|
void header_input_cb(Fl_Input* i, void*) {
|
||||||
|
if (header_file_name && strcmp(header_file_name, i->value()))
|
||||||
|
set_modflag(1);
|
||||||
header_file_name = i->value();
|
header_file_name = i->value();
|
||||||
}
|
}
|
||||||
void code_input_cb(Fl_Input* i, void*) {
|
void code_input_cb(Fl_Input* i, void*) {
|
||||||
|
if (code_file_name && strcmp(code_file_name, i->value()))
|
||||||
|
set_modflag(1);
|
||||||
code_file_name = i->value();
|
code_file_name = i->value();
|
||||||
}
|
}
|
||||||
|
|
||||||
void include_H_from_C_button_cb(Fl_Light_Button* b, void*) {
|
void include_H_from_C_button_cb(Fl_Light_Button* b, void*) {
|
||||||
|
if (include_H_from_C != b->value()) {
|
||||||
|
set_modflag(1);
|
||||||
include_H_from_C = b->value();
|
include_H_from_C = b->value();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////
|
||||||
|
|||||||
Reference in New Issue
Block a user