|
|
|
|
[VN
Boards Archive] |
Welcome to the Vault Network
forum archive.
This is not a complete archive, time didn't allot us the
opportunity to properly backup the majority of the boards
deemed "expendable". Most boards on this list have at least
20-40 pages archived (non-logged in pages, 15 topics per
page).
Popular boards may have as many as 250 pages archived at 50
topics per page, while others deemed of historical
signifigance may be archived in their entirety.
We may not agree with how the board shutdown was managed, but
we've done what we could to preserve some of its history in
lieu of that.
Please enjoy the archive.
~
Managers, Moderators, VIP's, and regular posters.
|
Author |
Topic: Multiple VVS windows for a plugin?
|
shontsu
Posts:
????
Registered:
????
Extended Info (if available)
Real Post Cnt: 0
User ID: 0
|
Subject:
Multiple VVS windows for a plugin?
|
Are there any example code on how to do this? Simplest example of what I mean is like the Virindi Huds where you tick a box on one window and it creates a whole new window. I'm also interested in either replacing or changing the main window (apparantly I have some users on laptops who want very small ui's for their very low res's). If not, could I get a basic rundown on how to do it?
-----signature-----
|
Link to this post
|
Virindi-Inquisitor
Posts:
6,908
Registered:
Nov 18, '01
Extended Info (if available)
Real Post Cnt: 6,646
User ID: 511,923
|
Subject:
Multiple VVS windows for a plugin?
|
How are you doing it now? Using the wireuphelper?
-----signature-----
Virindi --- ****Virindi Plugins FAQ**** http://www.virindi.net/wiki/index.php/Virindi_Plugins_FAQ http://www.virindi.net - Virindi Tank, Follower, Integrator, Reporter, VCS5, XPHelper, Item Tool, HUDs, etc... Decal Core Dev - http://www.decaldev.com
|
Link to this post
|
shontsu
Posts:
????
Registered:
????
Extended Info (if available)
Real Post Cnt: 0
User ID: 0
|
Subject:
Multiple VVS windows for a plugin?
|
Yeah, its based on that Mag sample that got posted. - A mainView.xml file to define the view, then - [MVView("Nergal.mainView.xml")] [MVWireUpControlEvents] Above my class definition, and Globals.Init("Nergal", Host, Core); //Initialize the view. MVWireupHelper.WireupStart(this, Host); In the Startup. Then I just have the code like: [MVControlReference("FriendList")] private IList FriendList = null; [MVControlEvent("FriendList", "Selected")] void FriendList_Selected(object sender, MVListSelectEventArgs e) To interact with it all.
-----signature-----
|
Link to this post
|
Virindi-Inquisitor
Posts:
6,908
Registered:
Nov 18, '01
Extended Info (if available)
Real Post Cnt: 6,646
User ID: 511,923
|
Subject:
Multiple VVS windows for a plugin?
|
If you want to use the same technique, you can make another class, such as an "options window" class for instance, and have it work the same way. Unlike Adapter wireup, my wrapper wireup will work on any class (not just plugincore).
-----signature-----
Virindi --- ****Virindi Plugins FAQ**** http://www.virindi.net/wiki/index.php/Virindi_Plugins_FAQ http://www.virindi.net - Virindi Tank, Follower, Integrator, Reporter, VCS5, XPHelper, Item Tool, HUDs, etc... Decal Core Dev - http://www.decaldev.com
|
Link to this post
|
shontsu
Posts:
????
Registered:
????
Extended Info (if available)
Real Post Cnt: 0
User ID: 0
|
Subject:
Multiple VVS windows for a plugin?
|
Works a treat. I need to refactor a bit of stuff, but this is really nice. Thanks.
-----signature-----
|
Link to this post
|
|
|
© 2012. All
Rights Reserved. |
|
|
|
|