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

Pages: 1 ... 89 90 [91] 92 93
1351
SFML projects / SFGUI
« on: January 27, 2012, 12:39:17 am »
Quote from: "BlueMagic"
So there's no way to eliminate that error since it's pretty much caused by SFML, right? Or does linking statically eliminate it completely?


As Laurent indirectly implied in his post, there are 3 options.

    1. Make sure your program never runs on an AMD card. (Unrealistic)
    2. Don't use the default font. (Unrealistic unless you have your own font you want to use as the default anyway)
    3. Static link SFML. (This is what I myself always do)
    ?. I don't know if this counts but... you could try your best to convince Laurent to invest more time into looking into the bug ;).

1352
SFML projects / SFGUI
« on: January 26, 2012, 07:00:53 pm »
Look in the event you passed to HandleEvent? It is the same one that fires OnKeyPress.

1353
SFML projects / SFGUI
« on: January 26, 2012, 04:26:06 pm »
Quote from: "Elgan"
Entry.onkeyPress?

this is nice, very immature right now though.  Does it not exist, or do I need to add it?


http://sfgui.sfml-dev.de/doxygen/classsfg_1_1Entry-members.html

I stress once again, it is worthwhile reading the documentation when working with SFGUI. It can be found at the website: http://sfgui.sfml-dev.de

1354
Window / Window Not Opening
« on: January 26, 2012, 10:12:30 am »
Quote from: "Tex Killer"
AMD is a processor maker.

Radeon HD is an ATI video card.

SFML 1.6 have a problem with ATI cards, so I think you would have to change to SFML 2.0


I don't know in which alternate timeline you live but in this one ATI got acquired by AMD in 2007 (5 years ago) see: here. As such all ATI graphics products are now marketed under the AMD brand name. They are still however the same card and are probably designed and manufactured by the same people doing so by ATI. Saying AMD doesn't manufacture graphics products is like saying GM doesn't manufacture automobiles in Europe, which hopefully everyone here knows isn't true. And by the way, AMD produces way more things besides processors. The correct term for them would be chip manufacturer.

My two cents

1355
SFML projects / SFGUI
« on: January 25, 2012, 01:14:31 pm »
Internally sfg::Image stores both a copy of the sf::Image and the sf::Texture associated with that Image due to the fact that if you wanted to retrieve the sf::Image used by the sfg::Image it would have to construct a new sf::Image from the sf::Texture anyway. Sure this copying takes up more memory, but the idea is that you can create an sf::Image, use it in an sfg::Image and let it go out of scope so the only copy of it resides in the sfg::Image. What you could do in your case is create temporary sf::Images from your sf::Sprite by getting it's sf::Texture and TextureRect and passing it to the sfg::Image constructor. It will make a copy of it and you can forget about the temporary. This behavior will change in the next version of SFGUI anyway for performance reasons so I wouldn't invest time in trying to make Widgets work with arbitrary SFML objects.

Hope I could help.

1356
SFML projects / SFGUI
« on: January 23, 2012, 10:22:09 pm »
Quote from: "victorlevasseur"
The SFML ATI bug is already fixed, isn't it ?


http://www.sfml-dev.org/forum/viewtopic.php?t=4741

1357
SFML projects / SFGUI
« on: January 23, 2012, 01:25:39 pm »
Quote from: "BlueMagic"
Everytime that I leave an example, it crashes. Is that normal?


Let me try to practice my fortune telling skills...

mmm...

You have an AMD/ATI graphics card?

And... you link to SFML dynamically?

1358
SFML projects / SFGUI
« on: January 08, 2012, 04:46:25 pm »
Tank updated the Hello World code on the website. Try compiling that. It shouldn't crash like it did before anymore.

1359
SFML projects / SFGUI
« on: January 08, 2012, 03:47:40 am »
Check this post.

1360
SFML projects / SFGUI
« on: January 08, 2012, 12:28:42 am »
Quote from: "Elgan"

whats this cmakeconfig.cmake? where , what, how is this made, found, discovered?


Never heard of such a file before.

1361
SFML projects / SFGUI
« on: January 07, 2012, 10:16:28 pm »
Can you run it in debug mode and post the callstack/backtrace when it crashes? It's easier to tell where the exception was thrown that way.

Edit: Just so I don't forget to check this out when I have time, you might want to add this to our issue tracker on GitHub.

1362
SFML projects / SFGUI
« on: January 07, 2012, 09:17:42 pm »
Try creating the Label without passing a string to Create() and setting the text with SetText() after that. This might be related to another quirk I discovered recently.

Quote from: "Elgan"
I get access violation errors for
I would use the SF forums...but I cant register...I just cant get the captcha right...(I am nearly blind, PS the sound ones are horrible always,)...I can use magnifier, but the captcha is soo faded.


This is the sad result of being visited by a massive amount of spammers. Sadly if we make the Captcha any easier they will start showing up en masse again. Maybe Tank can figure something out...

1363
SFML projects / SFGUI
« on: January 05, 2012, 10:42:33 pm »
Quote from: "xethm55"
Linking to the debug libs appears to be a misdirection as I still have problems in other parts of SFGUI - specifically the Entry::GetPositionFromMouseX causes a segfault on line 70, where the m_visible_string is checked (this internally fails at the _Compare() function since the _Ptr points to 0xFFFFFFFF).

All my searches for the problems I am having indicate that the variables are not initialized.


GetPositionFromMouseX can't be called before all the members of Entry (including m_visible_string) are properly initialized in Entry's constructor. We also do periodic checks with valgrind to eliminate such programming errors. If m_visible_string isn't constructed properly the only reason would be because SFML didn't do it properly when told by SFGUI. Posting a minimal example as you did before to reproduce this error would be helpful. To reduce the clutter you might want to resort to using http://pastebin.com/ for that.

You said you link to the debug libs. I take it you also build your app in debug mode? If so run the app in your debugger and cause it to crash. Then you can post the full callstack/backtrace here for us to analyze. It is the most helpful piece of information to solve errors such as these.

1364
SFML projects / SFGUI
« on: November 14, 2011, 08:18:57 pm »
Quote from: "asdatapel"
niiiiice, what about a radiobutton widget?


https://github.com/TankOs/SFGUI/wiki/TODO-List

Coming soon.

1365
SFML projects / SFGUI
« on: November 14, 2011, 03:45:15 am »
Tank's the one in charge of the design/creative side of the library so it's better if I let him answer himself. :wink:

Pages: 1 ... 89 90 [91] 92 93
anything