GithubHelp home page GithubHelp logo

Embed FNA in Winforms about fna HOT 5 CLOSED

fna-xna avatar fna-xna commented on July 17, 2024
Embed FNA in Winforms

from fna.

Comments (5)

flibitijibibo avatar flibitijibibo commented on July 17, 2024

It works, but you need to use Game.Window.Handle with SDL_SysWMinfo, as the example points out.

from fna.

flibitijibibo avatar flibitijibibo commented on July 17, 2024

New FNA example has been pushed to the Gist link, use that and you'll be fine.

from fna.

torshid avatar torshid commented on July 17, 2024

Great, I will give it a try, thank you. :)

from fna.

torshid avatar torshid commented on July 17, 2024

It worked well, but is there a cross platform solution? The only problem seems to be the user32.dll import.

from fna.

flibitijibibo avatar flibitijibibo commented on July 17, 2024

There is not. I would focus on putting your editor in the engine itself, possibly using something like ImGui to render:

https://github.com/ocornut/imgui

The last thing you want as a dependency is a UI lib like wx/GTK/Qt/Forms/etc... I make good money getting rid of stuff like that.

from fna.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.