edubart / otclient

An alternative tibia client for otserv written in C++11 and Lua, made with a modular system that uses lua scripts for ingame interface and functionality, making otclient flexible and easy to customize
Other
652 stars 399 forks source link

Keep miniwindows only in right panel. #589

Closed Anastaciaa closed 10 years ago

Anastaciaa commented 10 years ago

Hello there, What fix would be best idea to keep miniwindows only in right panel like in cipsoft client?

I've created something like this but not fits this 100% and works for every windows not only miniwindows.

http://pastebin.com/ktBy2cFn

Tandloze commented 10 years ago

Yes, I want to know this aswell. Hopefully people from otclient are so generous to help me and you out.

cymruu commented 10 years ago

Simply put draggable: false in data/styles/30-minwindow.otui edit: ouh that prevents window to be draggable inside the panel too :/

BenDol commented 10 years ago

imo, why would you want to do that? Give players freedom! :D Anyway you would have to make the check in onDragMove ensure the x is within the width of the right panel. Meaning x will never move only y.

Please stop posting questions here in the issues. This is not a forum, it's where you post bugs and suggest features/enhancements to otclient. Post these on otclient forum board on otland.

Anastaciaa commented 10 years ago

BenDol are you able to create some codes to solve this? I know it's not support board sorry but you guys are masters of otclient and it's easy for you.