Files
Qt_keyboard/DEBUG/Debug_Config.h
2026-04-03 09:26:10 +08:00

26 lines
740 B
C
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#pragma once
/*
* 这是调试功能页面的总开关。
*
* 设为 1 时:
* 1. APP 层会创建下方调试窗口
* 2. APP 层会连接调试按钮
* 3. APP 层会把 LGC 整理好的调试文本显示出来
*
* 设为 0 时:
* 1. APP 层不显示调试窗口
* 2. APP 层不连接调试按钮
* 3. 但主界面的状态轮询仍然保留
*
* 也就是说,这个宏控制的是“调试页入口”,
* 不是整个程序的主刷新节拍。
*
* 如果后续要整体删掉调试功能,
* 就从 APP_UIWindow 里所有 APP_ENABLE_DEBUG_WINDOW 宏块开始删。
*/
#ifndef APP_ENABLE_DEBUG_WINDOW
// 1 表示编译进调试页0 表示完全隐藏调试页入口。
#define APP_ENABLE_DEBUG_WINDOW 1
#endif