Age | Commit message (Collapse) | Author |
|
|
|
|
|
This affects platforms such as FreeBSD, Cygwin or Linux.
|
|
|
|
value<t> needs to persist over the checkbox's lifetime, otherwise the
slot gets disconnected.
|
|
|
|
Qt destructors deregister one component from another.
|
|
|
|
The other settings are modified by the options dialog. These are in the
main ui. We need to be able to save modules without saving the options
dialog.
|
|
|
|
|
|
Now that "struct main_settings" doesn't implicitly reload in dtor, we no
longer have to pass it around from the user interface.
Only reload it where it's modified, i.e. in the options dialog. Changing
the filter/dialog/mapping comboboxen implicitly saves the main options
however.
|
|
The "struct opts" dtor doesn't run at dialog close time so invoke
"reload" on the bundle explicitly.
|
|
Issue: #371
Suggested-by: @MathijsG
|
|
Discussed-with: @MathijsG, @Len62
Closes #371
|
|
Here, the "logic" module has all the stuff for building one's own
graphical user interface.
The "api" module has stuff used by other trackers.
While at it, each of "api", "logic", and "compat" need their own export
headers. This is because of preprocessor symbol clashes.
This is all because a change in the "gui"-only dependency required a
relink of all the trackers, protocols, and flters. It takes too long
when building in the release configuration. With the split, only the
"gui" module gets rebuilt. Since it has close to no static dependencies,
it's fast enough.
|
|
Do IO before trackers need to run at 250 Hz.
|
|
|
|
Turns out every MainWindow::save() and friends were doing useless IO
several times during each save. I blame the bundle abstraction.
For bundles we track the modified state, but the spline widget needs
equality check since it doesn't use the options api.
It was found by accident when adding qDebug() into the slider_value
{de,}serializer code. The .ini file was being rewritten over and over
again causing hundres of milliseconds pauses on Windows.
Remove the save timer kludge from gui. Saves are now fast.
|
|
- Remove "this->" where it's not needed. Possibly rename shadowed vars.
- Don't reload the options bundle manually since `options::opts' exists
for that very reason.
- Remove '^ \+$' whitespace
- :retab
|
|
This version was compressed differently hence smaller size as well as
higher resolution.
cf.
https://github.com/opentrack/opentrack/issues/265#issuecomment-221316940
Submitted-by: @MathijsG
|
|
|
|
|
|
With -fvisibility=hidden it's hidden anyway.
|
|
It's automatic now.
|
|
We no longer have this recurring problem since I enabled
ignoring executable bit changes on the Windows workstation.
|
|
Previous disallowed binding an already-bound key on Unix since Qxt
doesn't pass through bound keys unlike the Windows implementation.
Refactor some common code.
The Windows implementation isn't even compile-tested.
|
|
The following keybindings are now implemented:
- restart tracking. if not started, starts.
- toggle (keep position) while key held
- zero (keep zero) while key held
The latter two options only work for Windows as libqxt doesn't support
them.
Closes #291
|
|
"no video" wasn't clearly indicating that no tracking was done. Some first
time users had hard times figuring out tracking had to be started.
@sthalik: I've put an image mimicking what you did for "no video", feel
free to change it or switch to plain text instead.
|
|
Issue: #342
|
|
Previously high DPI made the main screen all out of whack, unreadable
and unusable.
|
|
Closes #290
|
|
Shaves off 12% runtime in minimized case.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Toggling tracking while prompting for toggle tracking key causes a
deadlock somewhere.
|
|
Issue: #252
That involves moving stuff around to get rid of circular dependencies.
You need to bind keys to shortcuts again this once.
|
|
|
|
|
|
|
|
|
|
|
|
Some buttons like the X65 mode switch are held all the time. Prevent
them from hogging all the keybindings.
Issue: #118
|
|
Win32 only
Issue: #118
|
|
|
|
|