mirror of
https://github.com/jfdelnero/HxCFloppyEmulator.git
synced 2026-10-26 22:10:31 +00:00
use the right way to launch timers.
git-svn-id: svn://svn.code.sf.net/p/hxcfloppyemu/code/HxCFloppyEmulator/HxCFloppyEmulator_software/trunk@1878 63fa2f70-6a9b-4bc4-b855-9c6a949b1d69
This commit is contained in:
1 parent
c1d15fdea2
commit
afd0e40238
4 files changed
+10
-8
No files matched your search
@@ -311,7 +311,7 @@ About_box::About_box()
|
||||
audiostarted = 0;
|
||||
demostate = 0;
|
||||
|
||||
tick(this);
|
||||
|
||||
Fl::add_timeout( 0.02, tick, (void*)this);
|
||||
|
||||
return;
|
||||
}
|
||||
@@ -291,10 +291,11 @@ Log_box::Log_box()
|
||||
|
||||
old_index=0;
|
||||
|
||||
tick_log(this);
|
||||
this->end();
|
||||
this->label("Logs");
|
||||
|
||||
Fl::repeat_timeout(0.40, tick_log, this);
|
||||
|
||||
return ;
|
||||
|
||||
}
|
||||
|
||||
@@ -1044,7 +1044,7 @@ Main_Window::Main_Window()
|
||||
|
||||
hxc_createcriticalsection(guicontext->hxcfe,1);
|
||||
|
||||
tick_dump(fdump_window);
|
||||
Fl::add_timeout(0.02, tick_dump, (void*)fdump_window);
|
||||
|
||||
#ifdef GUI_DEBUG
|
||||
print_dbg((char*)"Main_Window : Floppy dump window done !");
|
||||
@@ -1089,7 +1089,7 @@ Main_Window::Main_Window()
|
||||
infos_window->iso_fm_bt->value(1);
|
||||
infos_window->iso_mfm_bt->value(1);
|
||||
|
||||
tick_infos(infos_window);
|
||||
Fl::add_timeout(0.1, tick_infos, (void*)infos_window);
|
||||
|
||||
#ifdef GUI_DEBUG
|
||||
print_dbg((char*)"Main_Window : Floppy viewer window done !");
|
||||
@@ -1174,7 +1174,7 @@ Main_Window::Main_Window()
|
||||
fs_window->fs_browser->redraw();
|
||||
fs_window->fs_browser->show_self();
|
||||
|
||||
tick_fs(fs_window);
|
||||
Fl::add_timeout(0.1, tick_fs, (void*)fs_window);
|
||||
|
||||
#ifdef GUI_DEBUG
|
||||
print_dbg((char*)"Main_Window : File system window done !");
|
||||
@@ -1321,7 +1321,7 @@ Main_Window::Main_Window()
|
||||
|
||||
txtindex = 0;
|
||||
|
||||
tick_mw(this);
|
||||
Fl::add_timeout( 0.1, tick_mw, (void*)this);
|
||||
|
||||
#ifdef STANDALONEFSBROWSER
|
||||
fs_window->window->show();
|
||||
|
||||
@@ -136,5 +136,6 @@ usbhxcfecfg_window::usbhxcfecfg_window() {
|
||||
} // Fl_Button* o
|
||||
window->end();
|
||||
} // Fl_Double_Window* window
|
||||
tick_usb(this);
|
||||
|
||||
Fl::add_timeout(0.50, tick_usb, this);
|
||||
}
|
||||
Reference in new issue
Block a user