Fingers
Elementary is designed to be finger-friendly for touchscreens, and so in addition to scaling for display resolution, it can also scale based on finger "resoltion" (or size). More...
Functions | |
EAPI Evas_Coord | elm_finger_size_get (void) |
Get the configured finger size. | |
EAPI void | elm_finger_size_set (Evas_Coord size) |
Set the configured finger size. | |
EAPI void | elm_coords_finger_size_adjust (int times_w, Evas_Coord *w, int times_h, Evas_Coord *h) |
Adjust size of an element for finger usage. |
Detailed Description
Elementary is designed to be finger-friendly for touchscreens, and so in addition to scaling for display resolution, it can also scale based on finger "resoltion" (or size).Function Documentation
EAPI void elm_coords_finger_size_adjust | ( | int | times_w, | |
Evas_Coord * | w, | |||
int | times_h, | |||
Evas_Coord * | h | |||
) |
Adjust size of an element for finger usage.
This takes width and height sizes (in pixels) as input and a size multiple (which is how many fingers you want to place within the area), and adjusts the size tobe large enough to accomodate finger. On return the w and h sizes poiner do by these parameters will be modified.
- Parameters:
-
times_w How many fingers should fit horizontally w Pointer to the width size to adjust times_h How many fingers should fit vertically h Pointer to the height size to adjust
EAPI Evas_Coord elm_finger_size_get | ( | void | ) |
Get the configured finger size.
This gets the globally configured finger size in pixels
- Returns:
- The finger size
EAPI void elm_finger_size_set | ( | Evas_Coord | size | ) |
Set the configured finger size.
This sets the globally configured finger size in pixels
The finger size