Gamer125 / fofix

Automatically exported from code.google.com/p/fofix
0 stars 0 forks source link

Display a color selectable 'Box' behind Selected Text in 'Options Menu' selected text. #358

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Add a colored box (preferably a selectable color. IE- Maybe a new 
theme.ini setting, 'opt_selected_box = #hexcolor') behind/around the 
selected text color in the 'Options Menu' screen's text. Selectable color 
would highly benefit to match the different GH-Based theme's available.

Hopefully this could be more easily implemented using Scott's more 
recently implemented code using dynamically displayed box's behind text 
(IE-solo sections 'box behind solo text') method's.

Original issue reported on code.google.com by worldr...@hotmail.com on 6 Dec 2008 at 9:55

GoogleCodeExporter commented 9 years ago
It doesn't work like that, you'll have to create / alter a colored frame image 
if you
want to change the color / appearance.  However, it can at least be a different 
image
from the soloframe.png.

Also, my name is Chris :)

developer's note - this will require alteration of the Menu and Choice objects, 
and
as the requested change is for a submenu there needs to be a new passable option
added (to frame a selection with submenuselectframe.png for example - possibly 
even
with the capability to pass a pointer to a frame image object for more 
flexibility).

Original comment by chris.paiano@gmail.com on 6 Dec 2008 at 4:10

GoogleCodeExporter commented 9 years ago
Sorry Chris, I was drinking a bunch last night.(was working on all this, while 
skyping with a friend from like 12am-6:30am) Don't know where i even got the 
name 
Scott. Oops!! :) 
Ok, I created the mentioned 'submenuselectframe.png' and is all ready for use. 
One 
for the GH3 theme and one for the GH:A theme. 

Original comment by worldr...@hotmail.com on 6 Dec 2008 at 6:18

GoogleCodeExporter commented 9 years ago
I will attempt to get this happening for 3.035.

When you get a chance, can you upload the frame image you made for the GH3 
theme to
mediafire or something like that and post a link here?  I'll use it for 
testing.... I
could also just use soloframe.png for testing, not a big deal.

Original comment by chris.paiano@gmail.com on 6 Dec 2008 at 6:26

GoogleCodeExporter commented 9 years ago
Yeah, here it is.

Original comment by worldr...@hotmail.com on 6 Dec 2008 at 6:43

Attachments:

GoogleCodeExporter commented 9 years ago
BTW- It's not the colored ones, but just the template for you to use, i was 
rushing 
out the door to head to work, so it's just to use as the template. I was 
rushing, so 
i just grabbed the one i used to make the dark colored ones. (correct size and 
all.)

Original comment by worldr...@hotmail.com on 6 Dec 2008 at 6:52

GoogleCodeExporter commented 9 years ago
I wonder if this could be used in the Instrument Choose and the Difficulty 
Choose 
screens? And wonder if the instrument Choose and diff. screens could get 
separate 
font? Sorry for bothering anyway, i know i'm pain in the ass.. :(

Original comment by kristija...@gmail.com on 6 Dec 2008 at 10:39

GoogleCodeExporter commented 9 years ago
Personally, I believe this would also work fine, and would be an easier 
accomplishment to do it this way versus changing the choices to all graphics 
images 
for choices. Since we have great fonts which fully accomplishes what we need to 
really do. 

Original comment by worldr...@hotmail.com on 7 Dec 2008 at 3:25

GoogleCodeExporter commented 9 years ago
(yes, the plan here is to do it once and do it right, by adding support to pass 
an
image object into every submenu to be automatically scaled and stretched to 
"box" the
selected option text... then it should be feasible to add a separate box style 
image
for whatever different submenus we want later.  Object-oriented programming at 
work!)

Original comment by chris.paiano@gmail.com on 7 Dec 2008 at 4:01

GoogleCodeExporter commented 9 years ago

Original comment by chris.paiano@gmail.com on 3 Jan 2009 at 2:35

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I've done that, but my version have lag after import os to Menu (game loading 
3-5 
seconds longer).
I'll upload sources when I fix it.

Original comment by volshebnyi on 5 Jan 2009 at 4:34

GoogleCodeExporter commented 9 years ago

Original comment by worldrave111@gmail.com on 23 Jan 2009 at 4:36

GoogleCodeExporter commented 9 years ago
Well, I was thinking just an image like "submenuselect.png". Did we want to 
mask this
with a theme-set color variable too, or just use it as the file says?

Also, stretching it might look a bit questionable on some of the submenu items.

Original comment by aked...@gmail.com on 30 Jan 2009 at 6:58

GoogleCodeExporter commented 9 years ago
r880 prepares for this behind the scenes - where was this wanted?

Should this be a theme-based thing? Basically it's just a matter of calling
"selectedBox = True" with the menu call now, but I didn't implement it yet. This
would work well with the player selecting thing, but I'm holding off on that 
for release.

Original comment by aked...@gmail.com on 30 Jan 2009 at 11:57

GoogleCodeExporter commented 9 years ago
Well, honestly, now that we can do what we were chatting about last night, i 
guess 
this isn't such a big deal anymore, since i can accomplish what i need to with 
the 
graphical menu's now. But it would be theme based to answer the question, and 
the 
easiest way to do it for GH based is to use the image named instead of a color, 
since there's more to it then just a colored box behind the selected image.
     I would be needing to use an image for the selected box, since there's graphics 
that is part of the box, and with GHA, it's the same image however it's a 
different 
color. But if it's possible, it would still be nice to add this, since we're 
keeping 
backwards compatibility, that way a theme maker can still do this to accomplish 
the 
task, instead of resorting to making a graphical background, which would be 
more 
work for them. 

Original comment by worldrave111@gmail.com on 31 Jan 2009 at 2:52

GoogleCodeExporter commented 9 years ago

Original comment by chris.paiano@gmail.com on 7 Feb 2009 at 12:02