Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

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.


Topics - Crash47

Pages: [1]
1
Window / [Solved] Mouse and keyboard using.
« on: November 10, 2010, 10:08:58 pm »
Hello.
Can anyone tell me the easiest way to use:

1. Mouse motion simulation.

For example:

Quote
newX = 300
newY = 500

MouseMoveTo(newX,newY)


2. Keyboard presses simulation.

For example:
Quote

newKey = "F3"

Keypress(newKey)

2
Graphics / Polish characters
« on: October 19, 2010, 05:14:24 pm »
Hi!

I don't know how to use Polish characters for SFML.

German characters are working:
Code: [Select]
Title.SetText("ü, ß, ä, ö");

But if I use Polish font and characters they don't work.
Code: [Select]
Title.SetText("ł, ź, ń, ś, ó");

How can I use Polish characters with Polish words, not 0x...?
Code: [Select]
Uint32 MyCharset[] = {0x4E16, 0x754C, 0x60A8, 0x597D, 0x0}; // a set of unicode chinese characters

3
Window / MouseOver
« on: October 08, 2010, 08:24:39 am »
Hi!

I'm having problem with MouseOver function.

I want to make:
Quote
If mouse is over object and I click left mouse button
// Do something


Code:
Code: [Select]
bool MouseOver(sf::Test  &Test)
{
if (App.GetInput().IsMouseButtonDown(sf::Mouse::Left)) /*Do something*/();
}

Pages: [1]