Code Monkey home page Code Monkey logo

Comments (3)

m-7761 avatar m-7761 commented on July 30, 2024

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.

m-7761 avatar m-7761 commented on July 30, 2024

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.

m-7761@0a744af

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.

m-7761 avatar m-7761 commented on July 30, 2024

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)

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.