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

Pages: 1 [2] 3 4 ... 6
16
General discussions / New graphics API ready
« on: December 04, 2011, 09:13:59 pm »
Wow SFML is amazing!
Question though....how will this affect existing code? Will most of it work?

17
SFML projects / SFGUI
« on: November 28, 2011, 07:52:28 pm »
yayyyyyy!
still waiting for radiobuttons and dropboxes though.....

18
SFML projects / SFGUI
« on: November 14, 2011, 07:52:20 pm »
niiiiice, what about a radiobutton widget?

19
SFML projects / SFGUI
« on: November 11, 2011, 04:34:33 pm »
my app is using an sfgui window, and i want to be able to move it anywhere. Unfortunatly, this means that even when the gui is clicked, my program registers  it as a click, so both the gui is affected, and the thying underneath it. Is there a way to cancel out the Event is sfgui does something with it?

20
SFML projects / SFGUI
« on: November 09, 2011, 02:40:54 pm »
lol I thought you were using a theme on Windows, and the theme looked goog, so I asked what it was

21
SFML projects / SFGUI
« on: November 08, 2011, 11:36:40 pm »
Quote from: "binary1248"
Quote from: "asdatapel"
Quote from: "Tank"

Yes, I am using windows in the screenshot. It's the default theme of BREW (Basic Rendering Engine for Widgets), which utilizes shapes only.
;)

no I meant the Windows window theme


lol no.. he is using Linux in the screenshot.

but he just said hes using windows in the screenshot...

22
SFML projects / SFGUI
« on: November 08, 2011, 07:46:36 pm »
Quote from: "Tank"

Yes, I am using windows in the screenshot. It's the default theme of BREW (Basic Rendering Engine for Widgets), which utilizes shapes only.
;)

no I meant the Windows window theme

23
SFML projects / SFGUI
« on: November 07, 2011, 08:19:37 pm »
niiiiiice Question: How do you make a theme? Do you like make an iomage for each wigdet. Also how do u switch themes? Oh yeah, and are you using windows in that screenshot? If so, what theme is that?

24
SFML projects / SFGUI
« on: November 07, 2011, 05:51:39 am »
alright i just compiled the new version and it works properly now. Thanks alot though

25
SFML projects / SFGUI
« on: November 06, 2011, 10:15:54 pm »
Also, is there a checkbox or a dropdown box widget?

26
SFML projects / SFGUI
« on: November 06, 2011, 08:20:37 pm »
Quote from: "binary1248"
Quote from: "asdatapel"

First I tried everything with a window, but i got the black screen so started commenting out lines of code. Even when I have nothing besides the Create() function the screen stays black. I dont even try to render.


If you don't render anything, it is expected that the screen stays black. When you call sf::Window::Clear() it clears the screen to the background color (Black by default). Merely Create()ing a button or any widget for that matter will not result in you seeing it on screen. You have to render it to the screen to see it.

SFML renders everything in immediate mode meaning that if you don't explicitly render an object you have created every frame you won't see it. Because SFGUI builds on SFML it too renders everything in immediate mode meaning that you have to call Expose() yourself every frame to render any widget to the screen.

You may think that SFGUI retains a list of Widgets that you created and renders them automatically every frame, but this is not the case.

If you don't render anything yourself, you also won't see anything.

LOL no I tried rendering it with exposed and even changed the windoe.Clear() color, but id jusst stays black. It works properly in Release however

27
SFML projects / SFGUI
« on: November 06, 2011, 06:50:57 pm »
Quote from: "binary1248"

Could you describe your problem a bit more? You said all you did was Create() a button. How did you render it? Did you try to render it directly to the screen?

First I tried everything with a window, but i got the black screen so started commenting out lines of code. Even when I have nothing besides the Create() function the screen stays black. I dont even try to render.

28
SFML projects / SFGUI
« on: November 06, 2011, 01:11:29 am »
So what about the black screen with a button in debug mode?

29
SFML projects / SFGUI
« on: November 05, 2011, 09:20:52 pm »
Now adding the button the window works, but the
Code: [Select]

Button->OnClick.Connect(&function)

gives me a
Code: [Select]

undefined reference to `sfg::Signal::Connect(sfg::Delegate)

30
SFML projects / SFGUI
« on: November 05, 2011, 08:08:27 pm »
Alright I did that, but the black screens still there

Pages: 1 [2] 3 4 ... 6