Jump to content
Site Stability Read more... ×
  • Advertisement
  • entries
    359
  • comments
    237
  • views
    190067

Progress Report

Sign in to follow this  
Telastyn

128 views

After the dog awoke me for his 4:30 am pee, I couldn't get back to sleep, so I spent two hours coding up that Connect dialog as mentioned previously. Here's the results, with a little shadowrect to show the actual dialog size since I've put off making background textures and borders:



The devart buttons work, as does esc to close, tabbing between entry elements, and enter on host goes to port, and enter on port tries to connect. Clicking on the [rather nondescript] textentry boxes will also activate them.

Currently there's still a quirk. The cursor (yes, it blinks) doesn't start where it should because of how it positions itself in the text and how the rectangles are updated. Once anything is done to a textentry field it then functions as expected. I need to track down a quick solid fix for it, but the fix is likely to be in the textgrabber code not the cursor, making a solution trickier than it perhaps aught to be.

[edit:]

After a good nap, I tracked down the cursor bug, and fixed it. One line and an anonymous delegate later and it's fixed (trigger a cursor update when a rect-change message is recieved, not just on movement or re-rect). Glad that went well and easily.
Sign in to follow this  


0 Comments


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!