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

Pages: [1]
SFML wiki / [tutorials] Cursor
« on: November 01, 2010, 11:19:35 am »
Hi, I've written a Cursor class, however there seem to be a problem with SFML's wiki :

The first part is in a whole block even when I make a new line. Why ? Can someone Edit that ?

I've tested the functions on linux, however, I didn't test the whole program (I haven't got linux). Would someone mind testing it ?

If anyone wants to make remarks (const correctness for example), ... do it.

Please tell me if there are any english mistakes (I'm not english).

The link is here.

Feature requests / Window improvement
« on: October 30, 2010, 04:43:07 pm »
Hi all, I would like to propose one more Function for sf::Window and a few more Event :

It would be nice to be able to change the style without recreating the window : to have something like :

void sf::Window::ChangeStyle(sf::Style);

Furthermore, it would also be appreciated to have something like system specific events.

Would it be possible to improve ResizeEvent and have a function EnableResizeRepeat(bool); ?

This function would enable Resize Event to be emitted even when the window is not already completely resized.
I've already talked about that on a other forum and it seemed there were technical difficulties but thanks to threads they might be avoidable :

Laurent told me that windows blocks the process when the window is sizing.

Would it be possible to have these features for SFML2 ?

General discussions / Dealing with English and French languages
« on: October 03, 2010, 04:39:34 pm »
Hi, personaly, I can speak english sufficiently well to write/understand what happens on the french and english forums. However, each time I write a new topic, I wonder if a should post it on the french, english or both forums.
Would it be possible to have an option saying "link these two subjects" which would say to any user who went on it :

"There is an equivalent subject on the French forum, please visit it if you want to see all the arguments." with a link to the French subject.

This would make it possible to know wether we are missing arguments.
Furthermore, for the project and source-code part of the wiki, I think they should be shown in both wikis because projects and source-code can be understood even if the language isn't the right one.

Thank you, please give me your opinions.

Window / SFML interferes with SETCursor(win32 func)
« on: October 03, 2010, 02:48:50 pm »
Hi, I've decided to use directly windows to deal with Cursors by doing this :

Code: [Select]
      std::cout<<"no cursor";

However, it works fine until an event (Keypress and Textentered don't cause any problem) is emitted. My question : How can I keep my cursor the way it is without having SFML changing it back just after ?

Thank you.

[EDIT] Found the problem : when a WM_SETCURSOR event is emitted, I must return true. However, this can't work because SFML hides the window events. Is there a way to make it so that SFML return true ?.

General discussions / Retro compatibility
« on: October 03, 2010, 01:57:26 pm »
Hi, after looking a bit, I couldn't find a list of non retro compatible things between SFML1 and SFML2. It would be very appreciated to have a link that would give us that information. Thank you.

Graphics / sf::String and size errors
« on: October 03, 2010, 11:45:36 am »
Hi everyone, I've recently decided to do a kind of textbox, and I'm encoutering a few problems :
-First of all, if a Set the cusor position at the same place as the sf::String, the cursor seems to high. Where should I place it ?
-Secondly, when typping a 'É' with a 'j' just above it for example they "hit" each other.

I am using the default font and SFML 1.6. I've tried with "block note" and I get the same Result. However, with Word, the characters don't overlap. Is there the same problem with SFML 2.0 ? Can this problem be corected ?


[EDIT] Since it's still about strings and unicode characters, i'll add it here :
Is the default font not able to display € ? because I receive the event TextEntered with 8364 which is right but I can't display it. If so, how can I know what characters a font can draw ?

Feature requests / SetCursor in sf::Window
« on: September 28, 2010, 07:55:06 pm »
Hi everyone, as some people might know, a poll is circulating on the french forum about wether a SetCursor function should be added in SFML.
I'll try to translate the different arguments given so far :

-It is usefull because this function will be able to load a OS cursor (such as the "waiting cursor" which is a whereas it is a kind of blue circular thing on seven). This means no need to manage the different cursors for each OS : it would be included in SFML.

-every game/application needs to change cursors.

-Other API of the same "level" have this kind of function (SDL, allegro).

-Users can make there own function.

-It is to High level for SFML

-Not many users will use it


I would like to have your point of views. If you answer another reason, please post an answer to say why.

Sorry for my english (im french).

Thank you.

Pages: [1]