SPeak

Results 23 comments of SPeak

pls help me to close the pull request, thks

> 大佬好: 1、想请问一下如何在Windows下对该项目进行编译并调试的? 2、检测按键事件并进行事件处理的接口在哪? 感谢大佬解答! **A1:** 0.获取本项目及相关库源码 ```shell git clone --recursive [email protected]:Sunrisepeak/KHistory.git ``` 1.安装VS 并配置C++的基础开发环境 - https://visualstudio.microsoft.com/free-developer-offers/ 2.安装xmake构建工具 - https://xmake.io/#/zh-cn/guide/installation?id=%e4%bd%bf%e7%94%a8powershell 3.到项目根目录控制台中使用xmake进行构建 ```shell xmake -f m debug xmake xmake r ```...

> 大佬好,如何查看在代码中加入的调试打印?printf之类的 这个项目代码 算是 代码量比较少的 小工具, 开发的时候就没加Log打印相关的模块和控制 你可以直接使用 printf 或 std::cout 打印, 或者使用 'xmake r -d' 去调试 如下: https://github.com/Sunrisepeak/KHistory/blob/7b8ddcfa777a9e2abfdbecfaacae1219b0f35504/src/TargetWindowKeyDetect.cpp#L105

后面我可能会研究一下 工具的窗口悬浮功能 加这个新功能的时候, 应该能顺带加一个Log.hpp 做个小的日志 模块 LOGD / LOGW / LOGI ..... 的控制。 如果你感兴趣的话可以写个简单点的Log.hpp加进来(基本有日志等级控制就可以了)

https://github.com/Sunrisepeak/KHistory/issues/11

一个简单的工具构建文档 https://github.com/Sunrisepeak/KHistory/blob/main/docs/build.md

> It would be very cool to have an alternative to std::map in this library thanks ! map is a adapter in dstruct, now have a implement by avl tree...

> How can i integrate this library in my cmake project since DStruct use xmake ? 1.like headonly lib,add dstruct's root-dir to include search-dir in cmake 2. include dstruct.hpp in...

xmake only as build example's tool in dstruct

@ElCapor I wrote a demo to auto-config for cmake project, you can try it. as follows: **CMakeLists.txt** ```cmake cmake_minimum_required(VERSION 3.14) project(dstruct_cmake_example) include(FetchContent) FetchContent_Declare( dstruct GIT_REPOSITORY https://github.com/sunrisepeak/DStruct.git GIT_TAG main ) FetchContent_MakeAvailable(dstruct)...