Jump to content
  • Advertisement
Sign in to follow this  
  • entries
    5
  • comments
    2
  • views
    2986

Improvements on the textbox

Sign in to follow this  
leandro81

173 views

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
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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!