Per @yourule97's request, I'm providing public access to my updated re-work of the SRL-6 include for use with the NXT client on 1920x1080 resolution in re-sizeable mode. Hopefully, as time passes, we will update the include to find all interface elements dynamically, which would provide support for more resolutions.
If you want to have drawing for the NXT client, I suggest using NAS - https://villavu.com/forum/showthread.php?t=117578
I've included a small procedure you can use to help place the interface elements in the correct places (since they aren't dynamically assigned)
Simba Code:
procedure initNXTui
();begin MainScreen
.__setup
(); Lobby
.__init
(); GameTabs
.__init
(); TabBackpack
.__init
(); ChatBox
.__setup
(); Minimap
.__init
(); ActionBar
.__init
();end;procedure drawUI
();begin NAS
.Drawing
.drawBox
(mainScreen
.getBounds
(), false
, clWhite
); NAS
.Drawing
.drawBox
(miniMap
.getBounds
(), false
, clWhite
); //No need to draw actiionbar as it's found dynamically. Thanks @Thomas //NAS.Drawing.drawBox(actionBar.getBounds(), false, clWhite); //NAS.Drawing.drawBoxes(actionBar.__slots, false, clWhite); NAS
.Drawing
.drawBox
(tabBackpack
.getBounds
(), false
, clWhite
); NAS
.Drawing
.drawBox
(ChatBox
.getBounds
(), false
, clWhite
); NAS
.Drawing
.drawBox
(GameTabs
.__tabSelectionArea
, false
, clWhite
); NAS
.Drawing
.drawBox
(GameTabs
.tabArea
, false
, clWhite
); NAS
.Drawing
.drawBox
(GameTabs
.getActiveTabArea
(), false
, clWhite
);end;begin if(NAS
.init
()) then begin NAS
.Layer
.PaintInterval
(100); initNXTui
(); drawUI
(); repeat until false
; end;end;
Things to fix:
Github
https://github.com/snoopunit/SRL-6-Simba1.2
There may or may not be more functions that need fixing, that I simply haven't tried to access. If you find anything that needs to be fixed, please let me know! If you have any questions or suggestions please feel free to leave them here.