nervgear / nervsdk Goto Github PK
View Code? Open in Web Editor NEWNerve Gear SDK - The Plug-in Development Kits for SAO Utils
Home Page: http://www.gpbeta.com/post/develop/sao-utils/
Nerve Gear SDK - The Plug-in Development Kits for SAO Utils
Home Page: http://www.gpbeta.com/post/develop/sao-utils/
#include <NERvGear/interface/UI/IWindow.h>
where?
如需中文翻译 SDK Wiki / Library, 请在本 issue 跟帖.
将按照实际情况调整翻译工作的优先级.
It seems that the copyright information of README.md is occasionally missing. (The current section "Copyright" section should better be renamed to reflect the contents, e.g. "Contacts".) There is no LICENSE file, either. Does it means users have only the minimal legal rights permitted by the local laws? For a derivative work author, even simple modification and publish can be problematic. This should not be intended.
BTW (not directly the SDK issue), a DLL in SAOUtils now directly static linking to libfreetype. This ("redistribution in binary form") should be noticed as licensed (if not open-sourced, this should be FTL). So are the wxWidgets DLLs.
现有的那两个插件太过简单,希望多开源几个插件(如HP Bar等等)以供学习。
现有的文档实在是太少了啊,API怎么用真是难以理解,估计GPBeta你最近也没多少空余时间来写文档,所以希望能通过阅读复杂点的插件源码来加深理解。
can i join yours ?
Can i creating widgets with ui with current sdk ? For example, how do i link external sdk(non winapi) for ui to plugin ?
Hi,can i install on linux? I wanna install this platform on linux, and make it as desktop
I found it confusing while I was trying to get the instance handle with (HINSTANCE)NVG_MODULE.hHandle
.
It works pretty well on 64-bit platform, but nothing returned on 32-bit platform.
NERvSDK/include/NERvGear/interface/IExecute.h(36)
/// \retval E_FAILED Failed, system continues search the filter chain.
It seems to be E_FAIL instead of E_FAILED.
Here is an overloaded function in string.h
NERvSDK/include/NERvGear/string.h(140)
/// \overloadfun{NERvCopyString(size_t, const wchar_t*, size_t, wchar_t*)} /// /// This version is used when you don't know the length of the source string, the string's length will be counted if necessary. /// /// \header{NERvGear/string.h} static inline size_t NERvCopyString(const wchar_t* src, size_t nCharDst, wchar_t* dst) { if (dst) return PrivateCopyString(src, nCharDst, dst);
return NERvStringLength(src); }
According to the comment above, this function should return the same value as another overloaded function does under certain condition, which is supposed to be nCharSrc
.
NERvSDK/include/NERvGear/string.h(113)
/// \brief Copies a null-terminated string to the destination buffer. /// /// \param [in] nCharSrc The size of the \a src buffer, in characters, including the null terminator. ... /// \return ... /// If \a dst is NULL and \a nCharDst is 0, the return value is \a nCharSrc.\n /// If the function fails, the return value is 0. /// /// \see /// NERvCopyString(const wchar_t*, size_t, wchar_t*), NERvCopyString(const wchar_t (&)[N_CHAR], size_t, wchar_t*) /// /// \header{NERvGear/string.h} static inline size_t NERvCopyString(size_t nCharSrc, const wchar_t* src, size_t nCharDst, wchar_t* dst) { if (dst) return PrivateCopyString(src, nCharDst, dst);
return nCharSrc; }
Also, the comment points out that nCharSrc
includes the null terminator.
In this case, back to the first overloaded function, it seems that this function is supposed to return the length includes the null terminator.
In conclusion, perhaps the first function should be look like the one below.
static inline size_t NERvCopyString(const wchar_t* src, size_t nCharDst, wchar_t* dst)
{
if (dst)
return PrivateCopyString(src, nCharDst, dst);
return NERvStringLength(src) + 1;
}
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.