nvm guys. I found a solution. Here it is if anyone is interested
Code:
var arrowHeight = 25;
var viewportHeight = 200;
var contentHeight = 600;
var viewableRatio = viewportHeight / contentHeight; // 1/3 or 0.333333333n
var...
I'm not sure what your mean. I used XNA and C# to write the code.
The scroll bar works perfectly. However the grip has a fixed size. and I want to make it resizable just like windows.
Hello,
I'm making my own custom UI system for my game, and I have a small problem with scroll bars. I don't know what is the equation to calculate the grip size of the scroll bar.
So let's say I have a panel that is 200x200 px. and an...
Hello,
So I read that mysql_real_escape_string() is deprecated in php 5 and will be removed completely in php6. I also read that I should use pdo to prevent sql injection. is that true?
if so can you guys give me an example on how to...
Quote:Originally Posted by tompsonn Did we have this discussion already?
yah we did. lol. I just didn't know that if I obfuscate my software then I can't debug it.
that sucks.