Jump to content
Sign in to follow this  
  • entries
  • comments
  • views

Improvements on the textbox

Sign in to follow this  


I've been working on the textbox control, and now it has the following features:

- now it uses a cursor that you can move with arrow keys/home/end (in future you will be able to reposition it with the mouse);
- selecting (with the shift+arrow keys/home/end, no mouse support for now), take a look:

- the text is written inside a surface, that gets clipped to the size of the textbox:

Planned features for the textbox:
- mouse interaction;
- cursor always visible (when navigating through a text longer than the textbox size);
- cut/copy/paste stuff;

And other features added on the gui framework:
- Windows-like alignment (left, top, bottom, right, center) for controls, relative to his parent control (eg: client area of the window, screen);
- side panel control (using alignment described above), that stays hidden until the user passes the mouse on the edge of the screen;

Well, that's all for now!

Sign in to follow this  


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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!