Author Topic: [sug] Organization of lists in editor  (Read 228 times)

0 Members and 1 Guest are viewing this topic.

Offline mobius

  • Posts: 2318
  • relax.
    • View Profile
[sug] Organization of lists in editor
« on: March 10, 2019, 02:53:09 pm »
Could their be a better way to organize the items in the background, theme and style lists in the editor? In alphabetic order perhaps?? As it is; I have no idea how they are organized but finding anything is  always a chore. I know what I want but because it's in seemingly no order, or order that I understand I have to spend a long time going through the entire list to find what I want.

The theme and style lists aren't so bad; they seem to be ordered by having official sets first then ordered by author, though I still sometimes have trouble finding something especially if it's a custom set and if I'm not sure who did it. It's especially a problem in the background list. Seriously; how is this ordered? It's not alphabetical by name or author; it seems just random ??? ???
"Not knowing how near the truth is, we seek it far away."
-Hakwin Rinzai

"Yeah, well, that's just, like, your opinion, man"
-the Dude


Offline namida

  • Administrator
  • Posts: 8695
    • View Profile
    • NeoLemmix Website
Re: [sug] Organization of lists in editor
« Reply #1 on: March 10, 2019, 06:44:01 pm »
Styles (and the themes corresponding to them) are ordered based on the "styles.ini" file. You can modify that yourself if you prefer a specific order (you can't break things too badly here - at worst you'll mess up the order, not have missing or broken styles as a result). Any not listed in that file will go to the end of the list, I'm not sure how they're ordered - I think it may just be "the order the operating system reports the folders in".

Backgrounds, I'm not sure if there's any rules as such (probably again "the order the operating system reports them"), except that the currently selected theme's backgrounds are moved to the top of the list.
My released level packs:
Lemmings Plus Series | Doomsday Lemmings

Offline mobius

  • Posts: 2318
  • relax.
    • View Profile
Re: [sug] Organization of lists in editor
« Reply #2 on: March 11, 2019, 11:50:50 pm »
Styles (and the themes corresponding to them) are ordered based on the "styles.ini" file. You can modify that yourself if you prefer a specific order (you can't break things too badly here - at worst you'll mess up the order, not have missing or broken styles as a result). Any not listed in that file will go to the end of the list, I'm not sure how they're ordered - I think it may just be "the order the operating system reports the folders in".

Backgrounds, I'm not sure if there's any rules as such (probably again "the order the operating system reports them"), except that the currently selected theme's backgrounds are moved to the top of the list.

well, what files contain the lists for the backgrounds and themes? It's not in the styles.ini And it can't be based on folder structure (my folder list isn't at all like my styles list, I have my styles folder set to ).
The theme list is the same as the styles because (well for obvious reasons I guess)

The background list is the real issue for me here. When I scroll through it only has the name of most backgrounds with no author or anything and since it's in no order; alphabetical or anything how are you supposed to find anything?
nessy
aqua_2
candies
blue_bg ... ???

Note it also can't  be based on the order of the styles because in 'nessy' is the first backgroudn in my list yet Arty's lego is the first style in my folder structure but original dirt is first in the list, but then next background is colors and fire is the next style.
"Not knowing how near the truth is, we seek it far away."
-Hakwin Rinzai

"Yeah, well, that's just, like, your opinion, man"
-the Dude


Offline namida

  • Administrator
  • Posts: 8695
    • View Profile
    • NeoLemmix Website
Re: [sug] Organization of lists in editor
« Reply #3 on: March 12, 2019, 08:29:50 am »
I'm pretty sure that whatever theme you currently have selected, backgrounds for that theme appear first in the list. But I don't know what the rules are beyond that.

EDIT: From a very quick look at the source code repo, it'd appear they should be sorted alphabetically by the style's displayed-in-editor name, and when multiple exist for the same style, by the background's name.
My released level packs:
Lemmings Plus Series | Doomsday Lemmings