rec / slow_gold

rec: always on
recs.to
2 stars 0 forks source link

Code structure of windows, gui application and components is clunky. #36

Closed rec closed 13 years ago

rec commented 13 years ago

See https://github.com/rec/rec/tree/MASTER/src/rec/app/

This was one of the first things I did.

  1. it can't handle a second window
  2. it can't handle the idea of having two different applications.
  3. the menu bar, callbacks and everything else are glued into this class
rec commented 13 years ago

There's been some cleanup of this but the basic issues still hold.

I just realized that we also have the problem that all events are funnelled through our "J" (Jucer) implementation, which does nothing, into our K ("Kode") implementation.

While the J/K split does make for somewhat less huge files, this means that we have to add any callback logic in two places, one of which simply forwards to the next, and it's quite easy (as I did yesterday) to add your logic to the K code and then wonder why it isn't getting called...

rec commented 13 years ago

This isn't really a "bug", closing it.