summaryrefslogtreecommitdiffhomepage
path: root/gui/init.cpp
AgeCommit message (Collapse)Author
2018-02-16gui/init: fix translations even harderStanislaw Halik
Issue: #748
2018-02-16gui/init: shorten to `OTR_FORCE_LANG'opentrack-2.3.49-pipeline-fix-backupStanislaw Halik
2018-02-16gui/init: allow forcing locale via envStanislaw Halik
Issue: #748
2018-02-16gui: attach parent console harderStanislaw Halik
2018-02-15clean up "static" and "constexpr" typesStanislaw Halik
- use `static constexpr inline' to avoid requiring explicit declarations in object code - use `const Foo* const' to maybe put into readonly binary segment (at least for ELF DSOs) - `constexpr' in function scope has storage, avoid `static' - don't use `constexpr' where there's no advantage, like arrays We'd like to avoid overhead of atomic initialization for each function call. No idea how `static constexpr' requiring storage in the standard plays with atomic initialization requirement. Hearsay points that `constexpr' without `static' in block scope behaves more to our liking. It's all hazy though. I'm not 100% sure if `static inline constexpr' has any storage. Hopefully none, like a #define, and stuff bigger than registers gets coalesced within the same module, with small stuff being immediates.
2018-01-18compat/util: retireStanislaw Halik
Adjust usages.
2018-01-17gui/init: remove logspamStanislaw Halik
2018-01-16gui, variant/default: move default UIStanislaw Halik
2018-01-16add missing copyright statementStanislaw Halik
2018-01-14gui: fix trayStanislaw Halik
2018-01-13cmake, main: work toward introducing alternative UIStanislaw Halik
We're going to base opentrack derivatives on the same branch. Previously merges were a living hell. Modularizing the UI code and having continuously-built executables will do a lot. First opentrack variant in progress is a TrackHat device for mouse and scrolling control for people with spine and hand/arm disabilities.