Theme System

07/09/2015 06:34 trashee09#1
someone please give me some tips on how can i load the v15 and v19 taskbar?
im just confused with taskbar, but the rest i can handle it.

btw im using two resdata.inc/resdatav15.inc
i set it from neuz.ini
if Theme is set to 0 the client loads the v15 theme and if theme is set to 1 client loads v19 theme

Gallery
07/09/2015 06:58 trashee09#2
yes
07/09/2015 21:05 TrøublêMakêr#3
How do you render the buttons from v15?
07/09/2015 21:19 alfredico#4
Quote:
Originally Posted by TrøublêMakêr View Post
How do you render the buttons from v15?
He renders by using two restada, the v15 loads image buttons and the v19 renders button background and loads the text.
07/10/2015 06:34 trashee09#5
Quote:
Originally Posted by alfredico View Post
He renders by using two restada, the v15 loads image buttons and the v19 renders button background and loads the text.
yes. this is correct, i separate the files into default folder and english folder, if its set to v15 client loads the resdatav15 and default folder

btw anyone can help me on taskbar?
07/10/2015 08:39 alfredico#6
Quote:
Originally Posted by trashee09 View Post
yes. this is correct, i separate the files into default folder and english folder, if its set to v15 client loads the resdatav15 and default folder

btw anyone can help me on taskbar?
You can use the v15 taskbar code for the v19. Check WndManager.cpp, and when client loads open the one you need. And for buttons CWndMgr::Process()

The v15 taskbar is CWndTaskBar class in WndTaskbar.cpp, no idea how you made it, but it should be easy if you make new classes for each taskbar.

Btw, I'm sleepy, forget my grammar.
03/18/2017 08:17 istratOr16#7
trashee09, how did you do that? Kindly explain it here clearly or upload it . Thanks :)