Comments (5)
The public API will be managed, minus theSafeHandles
to store the void*
pointer for handles. Everything unmanaged and unsafe will be private, allowing for minimal confusion.
I am also leveraging the new CodeGenerators in C# to allow for a DllImport
-like attribute to auto-generate the unmanaged delegates and managed wrappers for each method.
from sdevlibs.
Consider separating the unmanaged api from the managed one.
A lot of people go the unmanaged route because its more optimized,
but then its more difficult to use and requires compiling with unsafe.
from sdevlibs.
I am also leveraging the new CodeGenerators in C# to allow for a
DllImport
-like attribute to auto-generate the unmanaged delegates and managed wrappers for each method.
I'd like to pooint out that this part is not going to be imediate, as I already have enough of a headache at the moment. Everything unmanaged will remain private for the most part, though.
from sdevlibs.
Eventually, as a note to self, I need to look more into nuint
and related structures.
from sdevlibs.
Now, while it will build, there is no UI functionallity, just the base classes and a few of the raw bindings. If you look at Libui.cs in the feature branch, you can see what the real difference the code generator will make in the future. Right now, the bindings are confusing to write,and read.
from sdevlibs.
Related Issues (20)
- Colors aren't displayed correctly HOT 5
- How to use Menu? HOT 9
- The second window is closed… HOT 4
- Improvements to Continuous Integration HOT 1
- Hide the Console Window on startup HOT 3
- Support for uiTable
- 0.4.0 Release
- Support for uiImage
- Support for uiLoadControlFont HOT 2
- SafeHandle Implementation HOT 3
- Various Exceptions Thrown in ControlGallery on Load. HOT 1
- Nuget? HOT 12
- Possible MDI implimentation? I don't think libui supports it natively. HOT 2
- Add SourceLink to the build
- New Example Projects HOT 1
- CI support for pipeline trigger on submodule update HOT 2
- Replace `libui` with `libui-ng` HOT 1
- Setup Azure Pipelines for Managed and Native Builds HOT 1
- Add `LibuiBindingGenerator` tool HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sdevlibs.