mirror of
https://github.com/LHY0125/PathEditor.git
synced 2026-05-10 02:09:46 +08:00
chore: 添加构建产物和IDE配置文件到.gitignore
- 忽略obj/和dist/目录中的构建产物 - 添加Visual Studio Code的C/C++配置、调试和设置文件 - 添加编译生成的二进制文件(PathEditor.exe, Gobang_*_Setup.exe)和对象文件(*.o)
This commit is contained in:
@@ -11,3 +11,9 @@
|
||||
*.bak
|
||||
Thumbs.db
|
||||
Desktop.ini
|
||||
|
||||
# 忽略obj目录
|
||||
/obj/
|
||||
|
||||
# 忽略dist目录
|
||||
/dist/
|
||||
|
||||
+5
-3
@@ -36,10 +36,12 @@ int main(int argc, char **argv)
|
||||
IupSetGlobal("UTF8MODE", "YES");
|
||||
|
||||
// 创建列表控件
|
||||
list_path = IupList(NULL);
|
||||
list_path = IupFlatList();
|
||||
IupSetAttribute(list_path, "EXPAND", "YES");
|
||||
IupSetAttribute(list_path, "VISIBLELINES", "15");
|
||||
IupSetAttribute(list_path, "MULTIPLE", "NO");
|
||||
IupSetAttribute(list_path, "HLINE", "YES");
|
||||
IupSetAttribute(list_path, "HLINECOLOR", "200 200 200");
|
||||
IupSetAttribute(list_path, "ITEMPADDING", "5x5");
|
||||
// IupFlatList 不支持 VISIBLELINES,高度由 EXPAND 和布局决定
|
||||
|
||||
// 创建右侧按钮
|
||||
btn_new = IupButton("新建(N)", NULL);
|
||||
|
||||
Reference in New Issue
Block a user