Jump to content

GUi demo


Josh
 Share

Recommended Posts

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

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

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.

 Share

×
×
  • Create New...