[ scummvm-Feature Requests-2834637 ] GUI: Allow greying out dummy ListWidget entries

SourceForge.net noreply at sourceforge.net
Mon Aug 10 00:39:00 CEST 2009


Feature Requests item #2834637, was opened at 2009-08-10 00:39
Message generated for change (Tracker Item Submitted) made by fingolfin
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418823&aid=2834637&group_id=37116

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: GUI
Group: None
Status: Open
Resolution: None
Priority: 3
Private: No
Submitted By: Max Horn (fingolfin)
Assigned to: Nobody/Anonymous (nobody)
Summary: GUI: Allow greying out dummy ListWidget entries

Initial Comment:
It would be nice if ListWidget would allow marking select entries as "dummy" or "fake". Let me explain: Consider a list of savestates as in the GMM (global main menu). It lists all available save slots, together with a brief description of the save state in it. If there is no state stored in the slot, no description is drawn.
But sometimes, a user saves a state without entering a description. In the past, we would draw the corresponding slot exactly like an empty slot. Bad. We fixed this by displaying a dummy description ("Untitled savestate") for savestates with an empty desc. (See also patch #2832247.)

Problem: These fake descs are not distinguishable from a real desc with the same content (a rather hypothetical issue, I admit). But still, it's annoying that fake names look the same as regular names. In another context, this could become a real problem.

Thus, it would be nice if one could tell ListWidget that an entry is fake. In response, ListWidget would draw that item with e.g. gray text instead of black text (the exact color would ideally be themeable). When in edit mode, then trying to edit an entry with such a fake entry would actually display the empty string for editing. I.e. if you select a fake entry, and enter edit mode, then instead of letting you edit the string "Untitled savestate" (or whatever else is used), it would act as if you were editing an entry with empty content. If you end editing with an empty entry again, nothing would happen; but if you end editing with something non-empty, the entry would loose its "fake" state.

This change would result in a more consistent user experience, I believe. Unfortunately, it would be a tad difficult to implement cleanly with the current theme code.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418823&aid=2834637&group_id=37116




More information about the Scummvm-tracker mailing list