1
Window / [Solved] Mouse and keyboard using.
« on: November 11, 2010, 11:27:06 am »
Thanks for help!
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
newX = 300
newY = 500
MouseMoveTo(newX,newY)
newKey = "F3"
Keypress(newKey)
Title.SetText("ü, ß, ä, ö");
Title.SetText("ł, ź, ń, ś, ó");
Uint32 MyCharset[] = {0x4E16, 0x754C, 0x60A8, 0x597D, 0x0}; // a set of unicode chinese characters
What is exactly your problem (how this mouse over function is called?...) ? What have you done so far ?
bool MouseOver(sf::Test &Test)
{
// Do something
}
If mouse is over object and I click left mouse button
// Do something
bool MouseOver(sf::Test &Test)
{
if (App.GetInput().IsMouseButtonDown(sf::Mouse::Left)) /*Do something*/();
}