Jump to content

Recommended Posts

Posted

This shows what I've got working so far. It's creating a GUI directly on the Window and uses GDI+ for rendering. Notice there's no shaders, textures, etc. included because no 3D rendering context is needed.

 

It works well on Intel graphics but I am getting a lot of flashing when I scroll the listbox. There's also a lot of flashing when the window is resized.

 

I'd be interested to hear your feedback.

 

gui.zip

  • Upvote 3

Let's build cool stuff and have fun. :)

Posted

Looking pretty good. I am getting a lot of flashing as well on various things:

- When the checkbox is checked/unchecked, the text "Checkbox" flashes - I assume its redrawing everything associated with the checkbox?

- The list is flashing when scrolling

- The textbox flashes when adding new letters

- Everything flashes when window resizes

Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590

LE / 3DWS / BMX / Hexagon

macklebee's channel

Posted

I updated the demo above with a second exe that adds double buffering. There is a mem leak and the window will go black if you make it redraw enough times, but it's fast and flicker-free.

  • Upvote 3

Let's build cool stuff and have fun. :)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...