Beyond C: wrapping Dear ImGui in Swift with zero FFI

이 글은 Swift에서 C++ GUI 라이브러리인 Dear ImGui를 Raylib과 함께 FFI 없이 래핑하는 방법을 소개합니다. Swift 5.9부터 지원하는 C++ 상호운용성 모드를 활성화하여 Clang Importer가 C++ 코드를 인식하도록 설정하는 것이 핵심입니다. 이를 통해 Swift 프로젝트에서 Dear ImGui를 손쉽게 통합할 수 있으며, 기존 C 라이브러리 래핑과 유사한 방식으로 구현 가능합니다. 실습용 예제와 패키지 설정 방법도 상세히 다루고 있습니다.

https://carette.xyz/posts/swift_cpp_compatibility_with_raylib_and_imgui/

#swift #cppinterop #dearimgui #raylib #ffi

Beyond C: wrapping Dear ImGui in Swift with zero FFI

Here we go again

A journey into a wild pointer

RE: https://mastodon.online/@meetingcpp/116572956720292232

Wow, if I ever saw a reason to use strong types, from the release notes of #DearImGui :

Breaking Changes

DrawList: swapped the last two arguments of AddRect(), AddPolyline(), PathStroke().

Gamedev on Linux nowadays is so nice, with all the #Wayland stuff making behavior consistent and "just work"…

But man, #DearImGui is such an essential tool, yet its multi-window feature is 100% unsupported on Wayland. Yesterday I had to make a svn commit to our @egosoft dev tooling that force-disables it, making modern Linux much less convenient than our other dev platforms.

I hope to re-enable this at some point; could be a good excuse to learn about the protocols (`xdg-toplevel-drag`?)

#ImGenie for #DearImgui is now live here
https://github.com/aiekick/ImGenie

You can also play with it via this emscripten demo :
https://aiekick.github.io/ImEffects

working on #ImGenie for #DearImGui (WIP)

Progress! Just wrapped a bunch of ImGui functions into simplified ones. I also made a few new custom widgets, for example the coordinate axis on the left and the bottom of the plot. Scientific data visualization vibes lol.

By the way, here is a domain coloring visualization of the function f²(z), where f(z) = exsec(rot(z, time*0.5)),

where t is approximately time in seconds,
exsec is the complex exsecant and rot(z, t) rotates a complex number z around the origin by t radians.

#DevLog #DearImGui #Programming #Math #DomainColoring #ComplexNumbers

Hi folks! ✌️

Here's the new version of "Crisps Chat 🍟" 👉 https://codeberg.org/xolatgames/Crisps-Chat/releases/tag/v0.7.2 with bugfixing 🪲 and new sounds for incoming messages 🎶📩 (Thanks for sounds to Kronbits 🙂)

Have a good day! 😉

#chat #chats #communication #cpp #cplusplus #sdl #sdl2 #imgui #linux #appimage #inkscape #codelite #app #apps #soft #software #dearimgui #sqlite #sqlite3 #opensource #messaging #MessagingApp #cmake #jsonc #codeberg

Bugfixing 🪲 + New sounds for incoming messages 🎵📩 - xolatgames/Crisps-Chat

## The Changes 📝 New features: - [x] Added the sounds for incomming messages 🎵📩 Bug fixing: - [x] Fixed the bug where when a server make itself private, then someone connect to it, and try to enter OTT, the app crashes, then you will need to connect to that server again, and try to ...

Codeberg.org

I made an object selection engine, which will be used as a base in the colormap-editor and many other widgets that rely on the fearture to (multi)select some markers/objects.

#DevLog #Programming #GUI #DearImGui #Graphics

Hi, folks! ✌️

So, I finally tested the new version of Crisps Chat 🍟, and fixed the left issues in it.

And now you can download the new version 🏔️👉 https://codeberg.org/xolatgames/Crisps-Chat/releases/tag/v0.7.0

And make your server as private.

Have a good day to everyone 😉

#cpp #cplusplus #chat #chats #communication #app #apps #foss #linux #soft #software #codeberg #network #cmake #codelite #sdl #sdl2 #imgui #dearimgui #opensource #dev #devlog #development

And, I've make the user's representaion color for messages more contrast for the dark mode 🌙

I've do this few time ago, but forgot to share you this.

The version with this change you can download from here already 🏔️👉 https://codeberg.org/xolatgames/Crisps-Chat/releases/tag/v0.6.1

#cpp #cplusplus #sdl #sdl2 #dev #development #devlog #chat #chats #communication #codeberg #git #messaging #app #apps #soft #software #opensource #imgui #dearimgui #json #codelite #cmake #darkmode #darktheme #linux #inkscape