bart1234
Member
|
GUI
hello,
i have created interface for login stcreen/character selection and character creation. however if i go from loginscreen to character select screen the interface of the login screen doesnt go away.
so my first question is:
1.How can i make the interface of login screen go away as soon as i leave loginscreen.
also i have a button wich leads to homepage in loginscreen i want that if someone clicks that button to game minimizes and standard brwoser opens and goes to my website. i have tried different things also have used internet to find some more stuff about how to do this in c++ however none of the methods i tried worked so i was hoping someone can help me with that to.
thx for your time.
bart hertman
|
|
05-19-2011 06:27 PM |
|
Semmy13
Member
|
RE: GUI
1) For the login gui you have to delete the GuiObjs.
You should have something like
and before leaving the login screen you have to perform:
2) I don't know how to do it, I'm sorry
Hope the first one could help
(This post was last modified: 05-19-2011 10:02 PM by Semmy13.)
|
|
05-19-2011 10:02 PM |
|
bart1234
Member
|
RE: GUI
(05-19-2011 10:02 PM)Semmy13 Wrote: 1) For the login gui you have to delete the GuiObjs.
You should have something like
and before leaving the login screen you have to perform:
2) I don't know how to do it, I'm sorry
Hope the first one could help
haha i figured my first question had to be something as simple as that lol.
thx alot man to bad you dont know 2nd question i struggle with that one hihi cant get it to work oh well i leave those buttons without function for now. they arent nessecary anyways
thx for your time
Bart Hertman
(This post was last modified: 05-19-2011 11:06 PM by bart1234.)
|
|
05-19-2011 11:05 PM |
|
SFCBias
Member
|
RE: GUI
If you call mLoginGui.del(); then in order to return to your login screen you'd have to call create again AFAIK. You could simply do mLoginGui.hide();. then a corresponding .show();
Your second question
Code:
OSLaunch("yoururl.com");
(This post was last modified: 06-02-2011 10:40 PM by SFCBias.)
|
|
06-02-2011 07:44 PM |
|
Dandruff
Member
|
RE: GUI
it doesn't really matter that much, for something like this. It does free up memory though, and you can always load it again.
|
|
06-02-2011 11:33 PM |
|