GUI modifications in SVN
Moderator: Moderators
Can you adjust the "On" and "Off" text so it's not so colossal? Maybe try putting:
if you can't control the font size directly.
Code: Select all
" On "
and
" Off "
Last edited by Caydr on 26 Sep 2006, 22:02, edited 1 time in total.
Caydr
I haven't set it up so that you can change default command names, yet.
A more important aspect to this would be that it would allow for some
internationalization (would need to do the tooltips too).
If I don't get to it, make yourself some On/Off textures, sized to your liking.
P.S. Tried hardcoding a couple of spaces around the On and Off labels,
it does look good enough to commit.
I haven't set it up so that you can change default command names, yet.
A more important aspect to this would be that it would allow for some
internationalization (would need to do the tooltips too).
If I don't get to it, make yourself some On/Off textures, sized to your liking.
P.S. Tried hardcoding a couple of spaces around the On and Off labels,
it does look good enough to commit.
people with font trouble try vera sans bold: (overwrite the file Luxi.ttf with this)
http://projects.quintagroup.com/product ... format=raw
http://projects.quintagroup.com/product ... format=raw
-
- Posts: 501
- Joined: 18 May 2006, 21:19
esteroth12
Yup, /font does what you think it does. I've also
tweaked the font code to allow characters up to
the numeric value 254 to be used. As to why a
factory would be displaying my FPS ... I'm going
with artistic license (aka: my crappy test setup).
Note that the FPS value is updated in real time
(as can other parameters be).
P.S. The /font command didn't really send any
output to the console, the /echo command did
(I added /echo because I thought it might be useful
for scripted warnings, etc...)
AF
As I mentionned to Smoth, it might be possible to
turn the alpha down on the control panel frame and
run a "fullscreen" control panel, but it wasn't coded
to achieve that goal efficiently. It does work, and if I
have the time I will add a couple of parameters to
help yall along with it.
Yup, /font does what you think it does. I've also
tweaked the font code to allow characters up to
the numeric value 254 to be used. As to why a
factory would be displaying my FPS ... I'm going
with artistic license (aka: my crappy test setup).
Note that the FPS value is updated in real time
(as can other parameters be).
P.S. The /font command didn't really send any
output to the console, the /echo command did
(I added /echo because I thought it might be useful
for scripted warnings, etc...)
AF
As I mentionned to Smoth, it might be possible to
turn the alpha down on the control panel frame and
run a "fullscreen" control panel, but it wasn't coded
to achieve that goal efficiently. It does work, and if I
have the time I will add a couple of parameters to
help yall along with it.
Hmm, could we have user defined option which allows to turn off all transparency in the GUI?trepan wrote:The outline font option (no background colors), is a bit of a hack.
It should only be used if it doesn't cause rendering slowdowns
(there's a report for a nvidia 5200 that it reduced FPS by 35%).
That being said, I'll note that my 6800GT hardly notices it. It's
heavily dependant on your cards ability to draw blended texture fills.
It is not enabled by default.
Also, could we have minimap maximize feature, it means that the minimap is always as big as it can in the limits of objects near it, like resource bar and build menu.
Im writing the code, if you can implement it ?
Yeah, i just write the function which returns the right size to the minimap.trepan wrote:Huh? Are you asking if I'll commit it if you write it?
I cant compile the game source code, so all i can do is write the code and hope someone can put it in the right place...
You ready to add that kind thing in if i write the code?
Another screenshot, this one with framed buildpics.
The code is already in SVN to do some neat tricks
with the LUA scripting, like placing buttons anywhere
on the screen (well, grided), having buttons represent
a unit's build queue, group buttons (using the buildpic
and a number to show the members of the group),
having separate build and command menus (with their
own page counts), etc...
P.S. I think that the LUA features in SVN can do all that
and more, I may find out that it can't once I try to script it
P.P.S. The page number is setup with the circularthingy.tga
texture slapped on a custom button.
The code is already in SVN to do some neat tricks
with the LUA scripting, like placing buttons anywhere
on the screen (well, grided), having buttons represent
a unit's build queue, group buttons (using the buildpic
and a number to show the members of the group),
having separate build and command menus (with their
own page counts), etc...
P.S. I think that the LUA features in SVN can do all that
and more, I may find out that it can't once I try to script it
P.P.S. The page number is setup with the circularthingy.tga
texture slapped on a custom button.
I take back the part about the stroke on the text... (Shadow..)
However...
Are the beveled buttons required? Or can we lua them out, additionally, what about the texture on the buttons, right now they look a little ugly and intrusive on the simple Spring minimalist feel.
Keep the gui cohesive, even if it isn't fully customizable, it needs to look clean in screenshots if anyone is going to think about trying this game.
However...
Are the beveled buttons required? Or can we lua them out, additionally, what about the texture on the buttons, right now they look a little ugly and intrusive on the simple Spring minimalist feel.
Keep the gui cohesive, even if it isn't fully customizable, it needs to look clean in screenshots if anyone is going to think about trying this game.
-
- Posts: 501
- Joined: 18 May 2006, 21:19
eh... before release, try to make it so that the commands and buildpics are on seperate pages (like the other GUI would have been)
like
where Cs are things like movement and reclaim, current missiontype, etc., and Ps are buildpice. they would operate on seperate pages, as well.
(unless its too hard to do before release, then have in 0.74b1 please )
like
Code: Select all
COMMANDS
+------+
|CCCCCC|
|CCCCCC|
|CCCCCC|
|CCCCCC|
+------+
|PPPPPP|
|PPPPPP|
|PPPPPP|
|PPPPPP|
+------+
<-- -->
(unless its too hard to do before release, then have in 0.74b1 please )