}
/**
+ * Get the global scaling factor
+ *
+ * This gets the globally configured scaling factor that is applied to all
+ * objects.
+ *
+ * @return The scaling factor
+ * @ingroup Scaling
+ */
+EAPI double
+elm_scale_get(void)
+{
+ return _elm_config->scale;
+}
+
+/**
+ * Set the global scaling factor
+ *
+ * This sets the globally configured scaling factor that is applied to all
+ * objects.
+ *
+ * @param scale The scaling factor to set
+ * @ingroup Scaling
+ */
+EAPI void
+elm_scale_set(double scale)
+{
+ if (_elm_config->scale == scale) return;
+ _elm_config->scale = scale;
+ _elm_rescale();
+}
+
+/**
+ * Set the global scaling factor for all applications on the display
+ *
+ * This sets the globally configured scaling factor that is applied to all
+ * objects for all applications.
+ * @param scale The scaling factor to set
+ * @ingroup Scaling
+ */
+EAPI void
+elm_scale_all_set(double scale)
+{
+#ifdef HAVE_ELEMENTARY_X
+ static Ecore_X_Atom atom = 0;
+ unsigned int scale_i = (unsigned int)(scale * 1000.0);
+
+ if (!atom) atom = ecore_x_atom_get("ENLIGHTENMENT_SCALE");
+ ecore_x_window_prop_card32_set(ecore_x_window_root_first_get(),
+ atom, &scale_i, 1);
+#endif
+}
+
+/**
* @defgroup Styles Styles
*
* Widgets can have different styles of look. These generic API's set
}
/**
- * Get the global scaling factor
- *
- * This gets the globally configured scaling factor that is applied to all
- * objects.
- *
- * @return The scaling factor
- * @ingroup Scaling
- */
-EAPI double
-elm_scale_get(void)
-{
- return _elm_config->scale;
-}
-
-/**
- * Set the global scaling factor
- *
- * This sets the globally configured scaling factor that is applied to all
- * objects.
- *
- * @param scale The scaling factor to set
- * @ingroup Scaling
- */
-EAPI void
-elm_scale_set(double scale)
-{
- if (_elm_config->scale == scale) return;
- _elm_config->scale = scale;
- _elm_rescale();
-}
-
-/**
- * Set the global scaling factor for all applications on the display
- *
- * This sets the globally configured scaling factor that is applied to all
- * objects for all applications.
- * @param scale The scaling factor to set
- * @ingroup Scaling
- */
-EAPI void
-elm_scale_all_set(double scale)
-{
-#ifdef HAVE_ELEMENTARY_X
- static Ecore_X_Atom atom = 0;
- unsigned int scale_i = (unsigned int)(scale * 1000.0);
-
- if (!atom) atom = ecore_x_atom_get("ENLIGHTENMENT_SCALE");
- ecore_x_window_prop_card32_set(ecore_x_window_root_first_get(),
- atom, &scale_i, 1);
-#endif
-}
-
-/**
* @defgroup Config Elementary Config
*
* Elementary configuration is formed by a set options bounded to a
}
/**
+ * 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 accommodate finger. On return the w and h
+ * sizes poiner do by these parameters will be modified.
+ *
+ * @param times_w How many fingers should fit horizontally
+ * @param w Pointer to the width size to adjust
+ * @param times_h How many fingers should fit vertically
+ * @param h Pointer to the height size to adjust
+ * @ingroup Fingers
+ */
+EAPI void
+elm_coords_finger_size_adjust(int times_w,
+ Evas_Coord *w,
+ int times_h,
+ Evas_Coord *h)
+{
+ if ((w) && (*w < (_elm_config->finger_size * times_w)))
+ *w = _elm_config->finger_size * times_w;
+ if ((h) && (*h < (_elm_config->finger_size * times_h)))
+ *h = _elm_config->finger_size * times_h;
+}
+
+/**
* @defgroup Caches Caches
*
* These are functions which let one fine-tune some cache values for
}
/**
- * 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 accommodate finger. On return the w and h
- * sizes poiner do by these parameters will be modified.
- *
- * @param times_w How many fingers should fit horizontally
- * @param w Pointer to the width size to adjust
- * @param times_h How many fingers should fit vertically
- * @param h Pointer to the height size to adjust
- * @ingroup Fingers
- */
-EAPI void
-elm_coords_finger_size_adjust(int times_w,
- Evas_Coord *w,
- int times_h,
- Evas_Coord *h)
-{
- if ((w) && (*w < (_elm_config->finger_size * times_w)))
- *w = _elm_config->finger_size * times_w;
- if ((h) && (*h < (_elm_config->finger_size * times_h)))
- *h = _elm_config->finger_size * times_h;
-}
-
-/**
* @defgroup Focus Focus
*
* Objects have focus. This is what determines where the keyboard input goes to