| View previous topic :: View next topic |
| Author |
Message |
MistPhoenix
Joined: 12 Jul 2009 Posts: 23
|
Posted: Fri Oct 23, 2009 1:36 pm Post subject: Need help with VLF |
|
|
I am trying to load the RCO graphic from topmenu_plugin.rco that displays the globe icon, like the one seen when signing in to PlayStation Network.
I don't quite understand the params entirely of vlfGuiAddShadowedPictureResource() and was wondering if anyone could help.
I searched in the "dcv6 graphics" topic and found that moonlight mentioned that it is easier to use vlfGuiAddShadowedPictureResource() instead of vlfGuiLoadResources(). |
|
| Back to top |
|
 |
MistPhoenix
Joined: 12 Jul 2009 Posts: 23
|
Posted: Mon Oct 26, 2009 3:56 am Post subject: |
|
|
| Has anyone used this function before? |
|
| Back to top |
|
 |
victorprosa
Joined: 14 Jan 2009 Posts: 38
|
Posted: Fri Oct 30, 2009 10:25 am Post subject: |
|
|
open vlf.h, it explains all the functions, may help you...
I used VLF a lot, but never rco functions :(, sorry... |
|
| Back to top |
|
 |
MistPhoenix
Joined: 12 Jul 2009 Posts: 23
|
Posted: Fri Oct 30, 2009 2:07 pm Post subject: |
|
|
I have browsed vlf.h before posting here.
I wish there was better documentation/examples of this powerful lib
thanks anyways |
|
| Back to top |
|
 |
MistPhoenix
Joined: 12 Jul 2009 Posts: 23
|
Posted: Fri Oct 30, 2009 3:32 pm Post subject: |
|
|
Figured it out after spending alot of time on it:
first thing I did was open the .rcos using RCO editor. Got the information of the names of the icon graphics and loaded them from there.
Problem was, that it wouldn't load on 5.50GEN-D2, so I tried my program on 3.40OE(phat) and the icon actually appeared.
Is there a reason why the icon doesn't appear on 5.xx fw?
also this is how i did it:
| Code: | //Load RCO icon
VlfShadowedPicture rcoIcon = vlfGuiAddShadowedPictureResource("flash0:/vsh/resource/topmenu_plugin.rco", "tex_cnf_network",
"tex_sdw_cnf_network", 0, 0, 0, 0, 1);
|
|
|
| Back to top |
|
 |
|