Code Monkey home page Code Monkey logo

Comments (4)

sammyfreg avatar sammyfreg commented on June 29, 2024 1

All 3 points have been addressed.

For now, 1 copy of the current Dear ImGui is still stored. This is to keep things as simple as possible when user only want to compile the base code (Samples/NetImGuiServer), without relying on Windows setup of cURL/Tar tools. Other Dear ImGui versions (used for compatibility tests) are now fetched from official Dear ImGui packages releases or a zip file from my own wiki (when no associated release packages available).

Assets have been moved to the wiki, this was a nice dicovery, thanks.

And background now resize to fit (instead of stretching).

from netimgui.

sammyfreg avatar sammyfreg commented on June 29, 2024

Assets
This project is the first time I really use GitHub, so I am learning how to use it as I go. I find the web assets suggestion interesting, I was not a fan of including them in the project depot, but didn't think of any other location outside hosting on a 3rd party. I'll probably take a look at the wiki depot approach.

Background
The background feature has been made quickly and stretch to size. It'll take me 30 minutes to scale + keep ratio properly. I was also thinking of adding a netImgui command to specify a texture + color for the background. But I am waiting to see if people are interested in this lib before adding these extra features.

Imgui copies
Right now, before I submit changes, I compile in every targets against each Imgui version, making sure of compatibility. I haven't explored the automation feature of Github, but feel that it wouldn't be trivial to 1. Call batfile to generate solution and 2. Compile every Visual Studio targets. As for being less 'library-ish' :) maybe some renaming might makes things clearer, the library proper is everything in 'Code\Client' everything else is extra for the samples, server app, test against Dear ImGui version. I am not particularly fond of storing each version of it in the depot. I think you are correct with the idea of running a script that could fetch the files from Github instead. I also want to keep thing as simple as possible for the user, no complicated script to setup the environement and that are prone to failure.

from netimgui.

sammyfreg avatar sammyfreg commented on June 29, 2024

Had a quick test last night, it seems Windows comes with cURL and tar commandline tool since a 2018 update. I was able to sucessfully fetch a Dear ImGui release package with them, so will be taking that route.

from netimgui.

ocornut avatar ocornut commented on June 29, 2024

Thank you that’s great!

from netimgui.

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.