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.


Messages - Phanoo

Pages: 1 2 3 [4] 5 6
46
Feature requests / Re: File drop
« on: September 20, 2017, 03:13:08 pm »
I didnt managed to get filedrop working only with SFML's getWindowHandle + windows API functions. I'm able to get the drop icon when a file is dragged into the window but the callbacks doesn't work despite my attempts. I'm not sure if it's possible without modifying SFML code to handle the windows filedrop messages. (please note i'm not familiar with windows API, I just messed with some code found here and there)


For the way it should work, getting the files paths and drop position is really all everyone needs IMO, + something to enable/disable it (so the developer can use it to create specific drop zones).

47
General discussions / Re: SFML 3 - What is your vision?
« on: September 19, 2017, 11:41:08 am »
Very nice ! I think i'll get the development version to start using it.

48
General discussions / Re: SFML 3 - What is your vision?
« on: September 18, 2017, 04:38:04 pm »
- Automatic batching of draw calls that use the same texture
- More powerful Text class : set line height, letter spacing, align releative to user defined bounds, automatic wrapping...
- Drag & drop support
- Clipboard support

49
Feature requests / Re: File drop
« on: September 18, 2017, 04:11:49 pm »
I completely agree, and that's why i often make fun and cynical answers to Laurent's posts. His work is great no problem. BUT. Tooooo much thoughtfulness, endless useless debates instead of implementing the damn functionnality that would take less time than talking about it (well ok, not all of them are easy to implement, but some ARE)

I've also asked for a way to set Line Height attribute for Texts, first answer i got is something like "why would you need that", "just edit the font itself"...

I'm making a (free) software that aims for professional quality with SFML, and i just can't forget the drag&drop for my users, wake up we are in 2017 lulz

Dunno why we have to justify the evidence

50
Feature requests / Show window maximized
« on: September 08, 2017, 12:29:07 am »
Seems this doesnt exist yet, this feature would be quite useful.

Can be done easily with this line of code on windows:

ShowWindow(window->getSystemHandle(), SW_MAXIMIZE);

But not portable, sfml would make it portable...

51
SFML development / Re: Clipboard Support
« on: September 02, 2017, 04:29:25 pm »
When this will be available ? I'm making a program, and this feature is lacking since Years, it would be very nice to have it

52
Window / Re: Maximize Window
« on: August 31, 2017, 10:16:50 am »
I know, but it should be added, window minimizing/maximizing are basic functions for any lib that does  windowing, nothing that advanced... doing it os-specific breaks the purpose of using sfml

53
General / Re: Best way to make tiles not have borders in between them?
« on: August 31, 2017, 10:08:24 am »
Never use SetTexture in loops it's very costly. Store the texture pointer (and maybe the subRect if u have multiple sprites per texture) directly into your block when you load your level

54
Feature requests / Re: addColor method
« on: August 31, 2017, 10:01:16 am »
Ideally, Laurent would like to remove everything until SFML isn't useable anymore  ;D ;D ;D

55
Feature requests / Re: cross platform clipboard support?
« on: July 19, 2017, 10:41:01 am »
don't bother with Laurent he's just lazy. Implementing the clipboard would take less time than arguing in this thread like he did. SDL has it (and is also a "simple multimedia library") so i suggest you just switch to SDL  ;D

56
Window / Re: Maximize Window
« on: July 11, 2017, 07:43:54 pm »
still not done what a surprise

57
Feature requests / Re: Stroke text using FreeType capabilities
« on: August 26, 2016, 05:10:57 pm »
does substring coloration will be supported someday ?

58
Feature requests / Re: File drop
« on: August 26, 2016, 05:05:27 pm »

59
Feature requests / Re: Fill method for Image ?
« on: August 26, 2016, 04:55:30 pm »
SFML had those SetX/SetY but they were removed in version 2 or something

SetX is enough self explaining since you use it on a Sprite object...

I just like when things are simple and not overly verbose. That's probably why i prefer C over C++

60
Feature requests / Re: Fill method for Image ?
« on: August 26, 2016, 10:06:34 am »
It depends.
I prefer direct member access if you let me choose (for actions that are safe to set an arbitrary value). But if i'm forced to go with setters/getters, i want them to be flexible so they don't annoy me with thinks like :

s.SetPosition(10, s.GetPosition().y)

while the same thing could be achieved by :

s.SetX(10)

Pages: 1 2 3 [4] 5 6