What do you think about Gui Interface RanOnline Private ??
i dont know bro ahahha,
This is my knowledge for gui .xml in RanOnline Private, if i have wrong please comment and give me sugestion for this .
DONT COPY PASTE WRONG GUI XML, THIS CAN MAKE CONFUSE ~_~!!
Im Just Ordinary People.
Oke, first time what do you need if you want to edit your interface ?
1. Notepad ++
2. Paint Net
3. Awesome Cilent :P
after you have all require file for this you can open .xml gui in gui folder, and then you can see this :
<CONTROL Local="Common" Id="FRIEND_WINDOW">
<WINDOW_POS X="0" Y="0" W="465" H="376" />
</CONTROL>
This is a little bit knowledge for WINDOW_POS :
FRIEND_WINDOW = gui source you can see this in innerinterfacesimple.cpp for your source,
X="0" = Position vector X for your window "horizontal",
Y="0" = Position vector Y for your window "vertical"
W="465" = Position vector X for your gui window "horizontal",
H="376" = Position vector Y for your gui window "vertical".
For Ex:
Just take screenshoot full window and use Rectangel Select in Paint Net you can make your window gui to fit and smoothly :)
Use Bounding rectangel size in red box from this picture and apply in your xml gui
For Ex : Rectangel Select says "Selection top left 526, 233. Bounding rectangle size: 463 x 373"
For video guide :
For Ex:
Just take screenshoot full window and use Rectangel Select in Paint Net you can make your window gui to fit and smoothly :)
Use Bounding rectangel size in red box from this picture and apply in your xml gui
For Ex : Rectangel Select says "Selection top left 526, 233. Bounding rectangle size: 463 x 373"
526 = X | 233 = Y | 463 = W | 373 = H
So you can appy in gui.xml :
<CONTROL Local="Common" Id="FRIEND_WINDOW">
<WINDOW_POS X="0" Y="0" W="463" H="373" />
</CONTROL>
Why "X" and "Y" not apply in window gui?
Note : This does not matter if for window but if you want to change the position CUICONTROL texture "X" and "Y" you must include.
Why "X" and "Y" not apply in window gui?
Note : This does not matter if for window but if you want to change the position CUICONTROL texture "X" and "Y" you must include.
For video guide :
Thanks for your time and try it to get awesome interface.
JUST FOR FUN!!
No comments:
Post a Comment