
Security News
Feross on Risky Business Weekly Podcast: npm’s Ongoing Supply Chain Attacks
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
github.com/inkyblackness/imgui-go
This library is a Go wrapper for Dear ImGui.
This wrapper started as a special-purpose wrapper for use within InkyBlackness. However, it is self-contained and can be used for other purposes as well.
This wrapper is
Names of types and functions follow closely those of Dear ImGui.
For functions that have optional parameters, the following schema is applied:
V
, such as ButtonV(id string, size Vec2) bool
Button(id string) bool
.The Dear ImGui functions IO()
and Style()
have been renamed to be CurrentIO()
and CurrentStyle()
.
This was done because their returned types have the same name, causing a name clash.
With the Current
prefix, they also better describe what they return.
This library does not intend to export all the functions of the wrapped ImGui. The following filter applies as a rule of thumb:
This library does not mirror the versions of the wrapped ImGui. The semantic versioning of this wrapper is defined as:
At the moment, this library uses version 1.67 of ImGui.
A separate repository was created to host ported examples and reference implementations. See repository inkyblackness/imgui-go-examples.
It contains reference implementations for libraries such as GLFW3 and SDL2, using OpenGL.
The screenshot above was created with such an example.
Before this project was created, the following alternatives were considered - and ignored:
The project is available under the terms of the New BSD License (see LICENSE file). The licenses of included sources are stored in the _licenses folder.
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.