mirror of
https://github.com/ocornut/imgui.git
synced 2026-11-04 20:32:00 +00:00
Question: migrating backends to new Fonts setup #8735
Labels
No labels
accidentally closed
android
backends
bug
building
clipper
coloredit
color spaces
cplusplus
data types
demo
disabled
doc
docking
dpi
drag drop
drawing/drawlist
dropped
dx12
enhancement
focus
font/text
gallery
help wanted
idle/power saving
ime
in progress
inputs
inputtext
internals
label/id and id stack
language bindings
layout
linux/bsd
menus
multi-contexts
multi-threading
multi-viewports
nav
news/info
opengl
optimization
osx/ios
overlap
plot/graph
popups
question
scrolling
selection
settings
sliders/drags
style
tables/columns
tabs
test wanted
tools
tooltips
tree
tricks & tips
useful widgets
vulkan
web
window pos/depth
window sizing
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ocornut/imgui#8735
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Version/Branch of Dear ImGui:
Version 1.92.0, Branch: docking
Back-ends:
ebiten backend from https://github.com/AllenDang/cimgui-go
Compiler, OS:
Arch + wayland (doesn't matter)
Full config/build information:
doesn't matter
Details:
My Issue/Question:
Hi,
I'm a little bit confused with the release of 1.92 tbh 😄
I'm doing a migration on cimgui-go right now (https://github.com/AllenDang/cimgui-go/pull/448)
And got stuck with our ebitenbackend. (we were adding this and asked questions here in #7372, #7405).
Is there any "tutorial" about migrating fonts stuff already? How should my backend handle fonts now?
Also, I know this is not preffered, but can I (abstracting from my backend issue, just in a normal code) store TextureID somewhere and every time I want to display image convert it to TextureRef (I mean create it every frame) or this is a HUGE mistake?
Screenshots/Video:
No response
Minimal, Complete and Verifiable Example code:
N/A