summaryrefslogtreecommitdiff
path: root/src/lib/elm_table_legacy.h
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-11-20 18:06:42 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-11-20 18:06:42 +0900
commitbf01751a1dd84702a5b18d2702f4bf6d7a5b2868 (patch)
treec837a99ada1aad86c668abecb56ef7c530e55865 /src/lib/elm_table_legacy.h
parentf86f394239a92983711f8a161b767f7231fad9d5 (diff)
elm - table - protect against invalid cell/row values (16bit overflow)
Diffstat (limited to '')
-rw-r--r--src/lib/elm_table_legacy.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/elm_table_legacy.h b/src/lib/elm_table_legacy.h
index 77dda3acc..27e06efd8 100644
--- a/src/lib/elm_table_legacy.h
+++ b/src/lib/elm_table_legacy.h
@@ -68,6 +68,12 @@ EAPI void elm_table_padding_get(const Evas_Object *obj, Evas_Coord *horizon
68 * a value of 0 for x and y, means the top left cell of the table, and a 68 * a value of 0 for x and y, means the top left cell of the table, and a
69 * value of 1 for w and h means @p subobj only takes that 1 cell. 69 * value of 1 for w and h means @p subobj only takes that 1 cell.
70 * 70 *
71 * Note that columns and rows only guarantee 16bit unsigned values at best.
72 * That means that col + colspan AND row + rowspan must fit inside 16bit
73 * unsigned values cleanly. You will be warned once values exceed 15bit
74 * storage, and attempting to use values not able to fit in 16bits will
75 * result in failure.
76 *
71 * @ingroup Table 77 * @ingroup Table
72 */ 78 */
73EAPI void elm_table_pack(Evas_Object *obj, Evas_Object *subobj, int col, int row, int colspan, int rowspan); 79EAPI void elm_table_pack(Evas_Object *obj, Evas_Object *subobj, int col, int row, int colspan, int rowspan);