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 - Deadpool18

Pages: [1]
1
Window / Textbox in Window
« on: March 19, 2016, 10:24:44 pm »
Hello, i am trying to create a Textbox (rectangle shape in which i can type text DIRECTLY in the window), and i keep trying to use window.getinput() yet in version 2.3 i seem to either using it wrong OR it doesn't exist... Can you please help me create this TextBox?
I already have the mouse detection (i know IF i am in the rectangle on the screen) i simply need the while () loop to create it... please i have been at it all day

2
General / Mouse isButtonReleased
« on: March 18, 2016, 11:54:31 pm »
I need to use the mouse to launch certain events and animation in my school project using SFML 2.3. In the sf::Mouse class documnentation you mention the MouseButtonReleased in this exact context :
"Compared to the MouseMoved, MouseButtonPressed and MouseButtonReleased events, sf::Mouse can retrieve the state of the cursor and the buttons at any time (you don't need to store and update a boolean on your side in order to know if a button is pressed or released), and you always get the real state of the mouse, even if it is moved, pressed or released when your window is out of focus and no event is triggered."

BUT there doesn't exist a method isButtonReleased like there is a isButtonPressed...... WHY ? I need that method !

Pages: [1]