Comments (3)
P.S. I painstakingly moved the files with Tortoise Git, but it looks like their History didn't move with them, or GitHub cannot display it. (Or maybe I didn't use Git correctly, or Tortoise Git doesn't implement Move correctly.)
I don't think there's been a great deal of changes to GLUI since it moved from SourceForge. If my rewrite is inspiring that it could have a future, then I really think moving to GitHub ought to be reconsidered. But I don't know how far back GLUI's history really goes. It may be very shallow in terms of revisions if it was principally developed by Paul Rademacher prior to being open sourced.
from glui.
Today I noticed the Spinner didn't work for clicking because it would go up wildly when clicked. I didn't think I was going to try to fix it but I did anyway.
To do it, it was necessary to impose a speed limit on the idle function, because it's called at such a high frequency.
I don't think the display events happen at that frequency, but there's no way to slow down idle except to "sleep". Even if you waited for a display to happen knowing a control will update it will still spin. The sleep is contingent on the idle function being reentered in under x milliseconds.
EDITED: I actually think glutTimerFunc is generally better than idling for problems that require updates... but I think it's nice too to manage rapid idling for users. Though they might want to disable it.
from glui.
https://github.com/mick-p1982/glui/commits/master has some updates that grew of my beginning to repackage the code for my next phase of development.
The new code won't go into the fork code. I've opted to make a sharp departure from GLUI. I ended up going with the standard-library convention for this project. (All lowercase.) It's kind of weird and clumsy (and hard to read) but it felt like the best fit. It's not as convenient to maintain. It solves some problems with where to capitalize control names by removing capitals altogether.
Copying pasting code to/from GLUI won't be a future option. I received a letter from Nigel the maintainer. They said they were interested in backporting some things I worked on (for hundreds of hours) but I think that's really too much work for anyone to take on (so it is very unlikely to occur) and I would recommend instead copying everything over pretty much intact, and then figuring out what to change (maybe move files back, since Git seems to not be able to move/copy) before committing. I'm sure parts I would prefer to omit myself, but I don't know if it's worth so much consideration considering the abysmal state of the present code (and user experience) by comparison.
I'm not directly working on the, code but when I notice semi-serious issues I will patch them in this fork.
from glui.
Related Issues (20)
- Rollout look bugs me some HOT 2
- Node sorting, group-IDs, and drag-drop customization philosophy HOT 2
- FIX: glutPositionWindow fails inside GLUI_Main::reshape (Nvidia GLUT) HOT 8
- Finding/fix: glutPostRedisplay inside mouse event workaround for Nvidia GLUT HOT 9
- Extension: User layout control feature (PX?)
- glui_spinner link error HOT 1
- Windows GLUT: scrollbars/rotation mouse up/down events (affecting Idling?) HOT 11
- Windows GLUT: post_update_main_gfx "post" happens before execute_callback HOT 12
- "makefile" What is it exactly? CMake clobbers it. Why is it here? HOT 1
- Work: Emulating GLUT with wxWidgets (wxGLCanvas) HOT 7
- Windows Visual Studio Project needs updating HOT 1
- Remaining gcc warnings
- Mac GL_SILENCE_DEPRECATION
- MS Compiler Warnings (2019 x64)
- How do I listen to glui_treepanel or glui_tree click events?
- macOS example1 stepper number doesn't change
- So what's going on with GL_POLYGON in the translate tool's arrow base? HOT 5
- glui 2.3.7 cmake build error with microsoft visual studio 2019
- Launch parameters support?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from glui.