Improvements on the textbox

Published February 06, 2008
Advertisement
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!

Cheers,
Leandro
Previous Entry new GUI skin!
0 likes 0 comments

Comments

Nobody has left a comment. You can be the first!
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Profile
Author
Advertisement

Latest Entries

Advertisement