Commit Graph

18 Commits

Author SHA1 Message Date
Martchus 6bce4c40f2 Improve configuration and code of capslock detection
* Define `X_AVAILABLE` if that's the case so the X11-specific code can
  actually ever be effective
* Make the default for `CAPSLOCK_DETECTION` simply depending on whether it
  can be configured instead of making it platform dependent
* Simplify code and avoid warnings in X11-specific code
2023-09-11 21:27:41 +02:00
Martchus b340ff819c Retranslate certain dialogs/widgets dynamically
This does not cover all details yet.
2023-07-03 00:07:01 +02:00
Martchus 41a1ede6fc Improve handling style changes in custom dialog style
* Avoid using global palette when computing stylesheet
* Re-compute stylesheet on palette changes
2023-03-25 18:49:43 +01:00
Martchus b3e7c390d9 Have everything in one top-level namespace 2019-06-10 21:57:46 +02:00
Martchus 571c2f8a26 Fix missing #includes 2018-06-05 22:49:17 +02:00
Martchus afe3373896 Apply tidy after updating to clang-format 5.0.0
The behavior of clang-format slightly changed in Clang 5.0.0:
http://releases.llvm.org/5.0.0/tools/clang/docs/ReleaseNotes.html#clang-format
2017-09-17 21:45:49 +02:00
Martchus 0e4f410e76 Fix formatting in description of isCapslockPressed() 2017-09-09 21:37:23 +02:00
Martchus 0599eb354d Apply clang-format 2017-05-04 22:46:37 +02:00
Martchus 2dcbc02f4b Apply clang-format 2017-05-01 03:16:25 +02:00
Martchus 61a544d42f Make definitions for gui support project specific 2017-04-27 22:03:37 +02:00
Martchus 31ac09de87 Add prefix to PLATFORM_SPECIFIC_CAPSLOCK_DETECTION macro 2016-12-11 17:13:19 +01:00
Martchus 7f9afcda73 Fix decoration for static builds
- Also fix finding static web view and JavaScript provider
2016-08-29 15:41:21 +02:00
Martchus 4cca128180 link against X11 using find_package 2016-03-28 21:57:01 +02:00
Martchus 372154ce2a added simple CMake project file 2015-12-05 22:50:38 +01:00
Martchus f44930d580 unified dialog style sheet, removed hard coded colors 2015-09-26 20:28:30 +02:00
Martchus ce39061808 remove hard coded fonts 2015-09-22 01:50:04 +02:00
Martchus 721e79d027 fixed includes 2015-09-06 20:19:21 +02:00
Martchus 26748b4923 First commit 2015-04-22 18:57:44 +02:00