Giter Site home page Giter Site logo

some problems with the source code about squid HOT 4 CLOSED

sgf avatar sgf commented on May 17, 2024
some problems with the source code

from squid.

Comments (4)

Roderik11 avatar Roderik11 commented on May 17, 2024 1

Maybe dds is not necessary, and a skin similar to imgui can be built. In other words, all skins are drawn by code without any texture involvement.

Having read this a second time i now understand you probably mean the Squid standard skin should not reference any textures.
That makes a lot of sense to me. I'll look into this. In the meantime i have uploaded all resources referenced in the standard skin.

from squid.

Roderik11 avatar Roderik11 commented on May 17, 2024

The sample code is just an example. Squid does not provide any input layer, render loop, etc.
It's purely a GUI blackbox - you need to implement input polling and rendering yourself.
VirtualKeyToScanCode can be implemented using the Win32 API.

Regarding the default skin i guess can i upload the dds files - i'll look into it.
But also highly encourage you to create your own skin, so you get a better understanding of it all.
Cheers!

from squid.

sgf avatar sgf commented on May 17, 2024

Maybe dds is not necessary, and a skin similar to imgui can be built. In other words, all skins are drawn by code without any texture involvement.

from squid.

Roderik11 avatar Roderik11 commented on May 17, 2024

Yes you can easily create a skin without textures. All you need is a single white texture and a font.
In fact that's what i usually do in my own projects.

from squid.

Related Issues (6)

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.