![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
github.com/inkyblackness/imgui-go/v4
This repository is no longer maintained as per 2022-12-31. Please consider using https://github.com/AllenDang/cimgui-go instead. That project is an auto-generated wrapper and makes it easier to be at the latest version of Dear ImGui.
You may also have a look at this fork https://github.com/eliasdaler/imgui-go , the owner intended to continue to support it.
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 Dear ImGui. The following filter applies as a rule of thumb:
ImGui::Text
which does printf style string formatting)This library does not mirror the versions of the wrapped Dear ImGui. The semantic versioning of this wrapper is defined as:
At the moment, this library uses version 1.85 of Dear 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.
If the FreeType
library is available for your platform, you can enable using it with the build tag imguifreetype
- as in
go build -tags="imguifreetype"
This extra is based on the reference implementation from Dear ImGui.
If you set the build tag, yet the corresponding support has not been added to the library, you will receive a build error.
Contributions to support more build environments are happily accepted. See file FreeType.go
.
If you are trying to do this on MS Windows with MinGW and receive an error like
pkg-config: exec: "pkg-config": executable file not found in %PATH%
, refer to online guides on how to add this to your installation.
Since 2022-08, there is https://github.com/AllenDang/cimgui-go , which is an auto-generated wrapper that makes it easier to be at the latest version of Dear ImGui. It is recommended to use that one instead.
Before inkyblackness/imgui-go was created, the following alternatives were considered - and ignored:
kdrag0n/go-imgui
(no longer available). Reasons for dismissal at time of decision:
cimgui
has since switched to an auto-generated method. You can use that instead of this manually curated wrapper here.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
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.