Jump to content

On screen keyboard support


madhu

Recommended Posts

µGFX already has a virtual on-screen keyboard widget that is known to work very well. It's highly customizable as it supports custom layouts (eg. you can arrange the buttons however you like).

API-Reference: http://api.ugfx.org/group___virtual_keyboard.html
Demo 1: /demos/modules/gwin/keyboard
Demo 2: /demos/modules/gwin/textedit_virtual_keyboard

 

Link to comment
Share on other sites

22 minutes ago, madhu said:

What is the final foot print size of ugfx..?

That question can't really be answered. It depends on so many different things:

  • The underlying system that you're using
    • Whenever possible uGFX uses infrastructures from the underlying system
  • Which features you are using (configuration file!)
    • Each module can be enabled/disabled individually
    • Each module has sub-features that can be enabled/disabled individually
    • Each of those configurations pulls a different set of dependencies
  • Images
    • Each image format comes with different memory requirements
  • Fonts
    • You can enable and disable sub-features like kerning, anti-aliasing and unicode. Each of those has an impact on the binary size.
    • Fonts are usually stored in the linked binary. Therefore each font will have an impact on the binary size.
    • Fonts can be filtered, this way unused characters don't end up consuming any memory
  • Styles & Renderings
    • Each widget style and custom rendering routine will have an individual impact on the binary size
  • ...

The list could go on and on - The point is that it not only depends on the platform you're working with but also which features you have enabled, what kind of resources you're using and so on. In general you definitely want to disable anything in the configuration file that is not explicitly needed/used.
Never the less it's worth while to note that µGFX has been designed to be as small as possible. This is also one of the reasons why the source of µGFX is completely open: Many other competitive products only provide pre-compiled libraries. This is not only a pain in the butt but also means that unused features become part of the linked binary. When you don't enable something in the µGFX configuration file, the linker will never ever see the code as it gets removed by the pre-processor even before compilation.

 

22 minutes ago, madhu said:

Sorry for asking so many questions..

You're not ;)
We're happy to answer any question we can.

Link to comment
Share on other sites

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
×
×
  • Create New...