VUILib 3.x is still under developing, please wait with our first dev release!
Thanks for
Thanks for
Thanks for
Thanks for
Thanks for
VUILib3 is a cross-platform UI Library born for flexible and efficient. Based on Skia&GLFW.
License: MIT License
VUILib 3.x is still under developing, please wait with our first dev release!
Thanks for
Thanks for
Thanks for
Thanks for
Thanks for
I tried to build VuiLib on Debian GNU/Linux, but it used WinAPI. So may you add Unix(or U*ix) support?
mkdir build && cd build && cmake ..
-- The C compiler identification is GNU 10.2.1
-- The CXX compiler identification is GNU 10.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/user/VuiLib/build
make
Scanning dependencies of target vuilib
[ 2%] Building CXX object CMakeFiles/vuilib.dir/src/core/object/vapplication.cc.o
In file included from /home/user/VuiLib/src/core/object/../../../include/core/object/../uibasic/../signal/../vbasiccore.h:36,
from /home/user/VuiLib/src/core/object/../../../include/core/object/../uibasic/../signal/vsignal.h:10,
from /home/user/VuiLib/src/core/object/../../../include/core/object/../uibasic/vtimer.h:3,
from /home/user/VuiLib/src/core/object/../../../include/core/object/vapplication.h:10,
from /home/user/VuiLib/src/core/object/vapplication.cc:1:
/home/user/VuiLib/src/core/object/../../../include/core/object/../uibasic/../signal/../../debug/vdebug.h:3:10: fatal error: windows.h: 没有那个文件或目录
3 | #include <windows.h>
| ^~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/vuilib.dir/build.make:82:CMakeFiles/vuilib.dir/src/core/object/vapplication.cc.o] 错误 1
make[1]: *** [CMakeFiles/Makefile2:124:CMakeFiles/vuilib.dir/all] 错误 2
Linux LAPTOP-GP6VBLDH 5.10.43-2-windows-subsystem-for-android #1 SMP PREEMPT Tue Sep 14 09:09:25 UTC 2021 x86_64 GNU/Linux
I'm too lazy to submit a pr (doge)
CMakeLists.txt:
--- vl/makelist.txt 2023-05-04 20:30:27.375390580 +0800
+++ VuiLib/CMakeLists.txt 2023-05-04 20:13:38.515373370 +0800
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.23)
+cmake_minimum_required(VERSION 3.1)
project(vuilib_cmake)
set(CMAKE_CXX_STANDARD 11)
@@ -26,4 +26,3 @@ add_library(vuilib STATIC ${DIR_SRCS})
add_executable(vuilib_cmake main.cpp)
target_link_libraries(vuilib_cmake vuilib)
-
Error C2039 'SetPlaneText': is not a member of 'Core::VTextLabel'
SetPlaneText应全局替换成SetPlainText
观望一下
图像查看器程序,在加载了程序后,CPU占用一直在20%,也不会下降
安卓的汉语词组分词可以用icu4j中的BreakIterator实现。icu也有c语言的库。能不能实现chrome输入框的双击选中汉语词组的特性呢?如果有将会很方便。
This will support building with cmake.
The open source compiler has some limitations compared to MSVC. For example, if you are using technology like ATL or MFC then it will not work on MinGW-w64 because it has no support for them. On MinGW-w64, people use Win32++ as an alternative:
综上所述,我认为将 VuiLib 更名为 LibVui 更好,毕竟这样更适合开发者辨识,且 libVuiLib 这个名字好像不太好听。
谢谢
2023/6/5
void VWin32MsgThread(const int &Width, const int &Height, LPCWSTR WindowTitle, LPCWSTR ClassName, HWND ParentWindow);
有些修饰是没必要的(编译器其实会有所忽略),有些类型名是WinAPI提供的,建议尽量使用C++标准的类型名,这和WinAPI是兼容的,可以改成这样(int建议使用size_t,这东西更常用)
void VWin32MsgThread(size_t width, size_t height, const wchar_t* window_title, const wchar_t* class_name, HWND parent_window);
谢谢
2023/6/5
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.