fireclawthefox / directguiextension Goto Github PK
View Code? Open in Web Editor NEWA set of extensions for the DirectGUI system of the Panda3D engine
License: BSD 2-Clause "Simplified" License
A set of extensions for the DirectGUI system of the Panda3D engine
License: BSD 2-Clause "Simplified" License
That library may require assets that are only installed with a Panda3D distribution and with a correct Prc. That may lead to runtime error since assets are not checked on startup.
eg
on android and browser - where runtime is per application - the full distribution is not usually available.
Normally you can use SomeDirectGuiClass(component_parameter)
to set a parameter of a component of some directGui element when you create the element. However this is not possible in some of the DirectGuiExtension classes (for example DirectCollapsibleFrame). This seems to be caused by initialiseoptions
being called before the components are created. However just moving that function call will not always work because the functions from DirectGuiHelper are sometimes called when the components are created, which requires that initialiseoptions
have been called.
One idea about how to solve this could be to use the frameSize instead of the DGH functions while creating the components. If anything has the wrong size thereafter, that could be updated at the end of the __init__
method with the correct size given by DGH.
What are your thoughts? Does this sound like a good solution or would you rather this be solved in some other way?
A new frame which will hold multiple tabs and change its content dependent on the selected tab
Tabs will by default be listed on the top of the frame, alternatively they should be placeable to any of the other sides of the frame.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.