From 9c30dd0f95a11cb24f97b7eabd8eebb7ebdd5134 Mon Sep 17 00:00:00 2001 From: Konstantin Date: Fri, 20 Jan 2023 20:02:26 +0100 Subject: UX improvement, populate output path --- Examples/WhisperDesktop/Utils/miscUtils.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Examples/WhisperDesktop/Utils/miscUtils.h') diff --git a/Examples/WhisperDesktop/Utils/miscUtils.h b/Examples/WhisperDesktop/Utils/miscUtils.h index 8cf8151..1beb7b3 100644 --- a/Examples/WhisperDesktop/Utils/miscUtils.h +++ b/Examples/WhisperDesktop/Utils/miscUtils.h @@ -69,4 +69,9 @@ inline uint32_t flipRgb( uint32_t val ) return val >> 8; } -bool isInvalidTranslate( HWND owner, uint32_t lang, bool translate ); \ No newline at end of file +bool isInvalidTranslate( HWND owner, uint32_t lang, bool translate ); + +inline bool isChecked( CButton& btn ) +{ + return btn.GetCheck() == BST_CHECKED; +} \ No newline at end of file -- cgit v1.2.3