Where in the source code are filer windows implemented?
Andy S (2979) 504 posts |
How on earth does anyone write 250,000 lines of anything, let alone assembler? Loads of loop unrolling? :) Maybe it includes embedded data. |
David J. Ruck (33) 1636 posts |
You start with a lot less than that, and add more as long as it keeps paying the bills. |
Rick Murray (539) 13850 posts |
The set of 79 BASIC programs that build that (not including stuff pulled in from elsewhere) adds up to around 13½ megabytes. Including BASIC bits and boilerplate, it amounts to 357,734 lines of code.
Over a long time? |
Alan Adams (2486) 1149 posts |
I’ve been doing something similar in BASIC, which started around 1982 on a BBC micro, and it’s still only around 20,000 lines of code. I suppose compiling it then disassembling might produce 250,000 lines of assembler… |
Charlotte Benton (8631) 168 posts |
I noticed that. The relevant files look like a list of #include statements with a bit of code at the bottom. |
Charlotte Benton (8631) 168 posts |
So to summarize, if I want to create a window that displays labelled icons, and comes with all the features like auto-rearrangement on window resize, and auto-scrolling on drag-select, my best bet is to try and extricate the !Paint sprite display window from its dependencies? And that if I were to achieve this in a portable manner (such as the icons being derived from an array of pointers to structures holding their display attributes) this would be a useful general purpose gadget? |
Julie Stamp (8365) 474 posts |
Did you look at ResDisplay? It would be nice to have a test app to see how developed it is. |
Steve Revill (20) 1361 posts |
See also this thread. |
Charlotte Benton (8631) 168 posts |
Looking at that thread got me into a rabbit hole of lamenting how much third-party stuff has been written that should ideally be integrated into the main OS. |
Steve Pampling (1551) 8172 posts |
I keep managing to forget for a while and then a reminder comes along. I may need therapy. |