Peonso
Godly Member
- Joined
- Jan 14, 2008
- Messages
- 1,750
- Solutions
- 30
- Reaction score
- 1,534
There is no otui file for gamemap, could I add a border over it with a texture with transparency in the middle and border? How to do so? GameMapPanel is the entire panel the game area rests on, not actually the playable area.
I can expand the size a bit here otclient/src/client/uimap.cpp at 8df836671a4985e468472535028c2d922c4a8052 · mehah/otclient (https://github.com/mehah/otclient/blob/8df836671a4985e468472535028c2d922c4a8052/src/client/uimap.cpp#L55) but it stills only have 1 pixel colored border. Since its hardcoded on c++ it makes me think a solution would be nowhere near simple.
In the image you can see the extra border I added by adding a line in the uimap.cpp, what I want is to draw a border like the one used in the chat or the right panels, from an image in the data folder.
I can expand the size a bit here otclient/src/client/uimap.cpp at 8df836671a4985e468472535028c2d922c4a8052 · mehah/otclient (https://github.com/mehah/otclient/blob/8df836671a4985e468472535028c2d922c4a8052/src/client/uimap.cpp#L55) but it stills only have 1 pixel colored border. Since its hardcoded on c++ it makes me think a solution would be nowhere near simple.
In the image you can see the extra border I added by adding a line in the uimap.cpp, what I want is to draw a border like the one used in the chat or the right panels, from an image in the data folder.