summaryrefslogtreecommitdiffhomepage
path: root/gui
AgeCommit message (Collapse)Author
2016-06-18gui/main: rename controls->trackingStanislaw Halik
Issue: #371 Suggested-by: @MathijsG
2016-06-18gui/main: rename tracker->input, protocol->outputStanislaw Halik
Discussed-with: @MathijsG, @Len62 Closes #371
2016-06-16all: split "api" into "api" and "logic"Stanislaw Halik
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.
2016-06-14gui: save before instantiating the trackerStanislaw Halik
Do IO before trackers need to run at 250 Hz.
2016-06-14gui: reformat curly braces onlyStanislaw Halik
2016-06-14gui, spline-widget, compat/options: ensure no qsettings IO when not modifiedStanislaw Halik
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.
2016-05-26many modules: trivial cleanups onlyStanislaw Halik
- 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
2016-05-25gui: replace octopus with a higher-res versionStanislaw Halik
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
2016-05-23cmake: fix boilerplate for NO-LIBRARY + STAGE2Stanislaw Halik
2016-05-23cmake{/gui,}: make boilerplate usable for building the executableStanislaw Halik
2016-05-22cmake/{linux,mingw-w64}.cmake: inline visibility hidden is redundantStanislaw Halik
With -fvisibility=hidden it's hidden anyway.
2016-05-22cmake/many: update for dinput8 manual link removalStanislaw Halik
It's automatic now.
2016-05-15many: remove executable bit from source filesStanislaw Halik
We no longer have this recurring problem since I enabled ignoring executable bit changes on the Windows workstation.
2016-05-15api,gui: disable all keyboard shortcuts while binding a keyStanislaw Halik
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.
2016-04-29api, main: implement new keybindingsStanislaw Halik
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
2016-04-27gui: show tracking hasn't started in preview area instead of "no video"Xavier Hallade
"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.
2016-04-27gui: make tray click raise the window alsoStanislaw Halik
Issue: #342
2016-02-09gui: scale properly on high-DPI screensStanislaw Halik
Previously high DPI made the main screen all out of whack, unreadable and unusable.
2016-01-07gui: fix zero shortcut descriptionStanislaw Halik
Closes #290
2015-12-20gui: don't update main window if we're minimizedStanislaw Halik
Shaves off 12% runtime in minimized case.
2015-12-18gui: fix left marginStanislaw Halik
2015-12-18ui: adjust marginopentrack-2.3-rc21p5Stanislaw Halik
2015-12-18ui: make more compactStanislaw Halik
2015-12-06gui/settings: set parent, otherwise not modalStanislaw Halik
2015-12-06gui/settings: don't forget to show a modal dialog before executingStanislaw Halik
2015-12-06gui/main: don't raise a new window, it's enough to set visibleStanislaw Halik
2015-12-06gui/keys: allow for pausing global keystrokes for options dialogStanislaw Halik
Toggling tracking while prompting for toggle tracking key causes a deadlock somewhere.
2015-12-06api, main: implement global shortcuts for controlling trackingStanislaw Halik
Issue: #252 That involves moving stuff around to get rid of circular dependencies. You need to bind keys to shortcuts again this once.
2015-12-05gui: add shortcuts for starting/toggling trackingStanislaw Halik
2015-12-05api/shortcuts: no longer keep shortcuts hardcodedStanislaw Halik
2015-11-22work: use the centralized keypress workerStanislaw Halik
2015-11-11options: stringify keyboard mods for joy buttonsStanislaw Halik
2015-11-11shortcuts: alloy kbd mods for joystick buttonsStanislaw Halik
2015-11-11shortcuts: map joystick buttons on depress onlyStanislaw Halik
Some buttons like the X65 mode switch are held all the time. Prevent them from hogging all the keybindings. Issue: #118
2015-11-11allow for binding joystick buttons to shortcut functionsStanislaw Halik
Win32 only Issue: #118
2015-11-06spline: snap x, y coordinates to gridStanislaw Halik
2015-11-03cmake: can use default hidden visibility on appleStanislaw Halik
2015-11-01gui: hidden symbol visibility by defaultStanislaw Halik
2015-11-01keyboard-chooser: use only keyboard worker, not full shortcutsStanislaw Halik
2015-11-01options-dialog: add missing includeStanislaw Halik
2015-11-01all: adjust options.hpp move to compatStanislaw Halik
2015-11-01resize dialogs for better visibility on LinuxStanislaw Halik
2015-11-01cmake: less boilerplate, link dynamicallyStanislaw Halik
2015-11-01qxt-mini: make own moduleStanislaw Halik
2015-11-01try not to statically link qxt-miniStanislaw Halik
cf. 3e60ccda96dfada9307a0a25134475c726f1ae72
2015-10-30qxt: fix unix buildStanislaw Halik
2015-10-30rename gui directoryStanislaw Halik