| 79 | | === Error === |
| 80 | | The Eina error module provides a way to manage errors in a simple but powerful way in libraries and modules. |
| 81 | | |
| 82 | | You can register your own error messages, and so get the last error message ocurred too. |
| 83 | | |
| 84 | | {{{ |
| 85 | | #!C |
| 86 | | Eina_Error MY_ERROR_NEGATIVE; |
| 87 | | |
| 88 | | void *data_new() |
| 89 | | { |
| 90 | | eina_error_set(MY_ERROR_NEGATIVE); |
| 91 | | return; |
| 92 | | } |
| 93 | | |
| 94 | | int main(void) |
| 95 | | { |
| 96 | | Eina_Error err; |
| 97 | | void *data; |
| 98 | | |
| 99 | | MY_ERROR_NEGATIVE = eina_error_msg_register("Your data is Negative!"); |
| 100 | | |
| 101 | | if (err) |
| 102 | | printf ("Error is: %s\n", eina_error_msg_get(err)); |
| 103 | | |
| 104 | | data = data_new(); // We set the state of an error |
| 105 | | err = eina_error_get(); // We get the message for the ID of the error |
| 106 | | |
| 107 | | if (err) |
| 108 | | printf ("Error is: %s\n", eina_error_msg_get(err)); |
| 109 | | } |
| 110 | | }}} |
| 111 | | |
| | 131 | |
| | 132 | |
| | 133 | |
| | 134 | |
| | 135 | |
| | 136 | == Evas == |
| | 137 | * Freeze events |
| | 138 | * Check if mouse is inside an object |
| | 139 | * events add/remove/repeat/check/propagate(to_parent)/etc |
| | 140 | * Clip objects |
| | 141 | * Layer levels, raise/lower, etc |
| | 142 | * Name get/set/find |
| | 143 | * Position move/resize/geometry/min/max/aspect/align |
| | 144 | * Visible hide/show/visible |
| | 145 | * Color Get/Set to an evas object |
| | 146 | * Anti_alias |
| | 147 | * Scale |
| | 148 | * Retrieves: position, which object in pointer, which on rectangle, number (which) of objects in a rectangle (zone), |
| | 149 | * Precise (collision detection?) |
| | 150 | * Stack |
| | 151 | * Get object in a relative way, like: above of, lowest object (position), below of, etc |
| | 152 | * Font: Path/List/Append |
| | 153 | * norender: Update objects but not render anything |
| | 154 | * Image: add/filled/border_no_scale/border_fill/tiling_fill/size_get|set/alpha/smooth/preload(in_background)/reload/scale/size/dpi |
| | 155 | * Map: transformation of evas objects |
| | 156 | * rotation |
| | 157 | * distortion |
| | 158 | * zoom |
| | 159 | * smooth set/unset |
| | 160 | * alpha |
| | 161 | * dup |
| | 162 | * coordinates |
| | 163 | * UV texture |
| | 164 | * vertext color |
| | 165 | |
| | 166 | === Smart Evas Objects === |
| | 167 | Smart Evas object can be defined as the hability to create one or more evas objects with default states/values/capabilities, you can create then your own type of objects with your desired function calls on it, Smart Evas Objects are a container for child objects |
| | 168 | * Retrieve evas_smart from objects, retrieve data from evas_smart, etc |
| | 169 | * Members: add/del member objects to a smart object |
| | 170 | * Callbacks assign to events for smart objects |
| | 171 | * Recalculation need lags |
| | 172 | * Move children objects relative to a given offset |
| | 173 | * Clip |
| | 174 | * Box |
| | 175 | * Table |
| | 176 | |
| | 177 | |
| | 178 | === Object Functions === |
| | 179 | * Gradients: Color stop, angle, colors, fill, offset, direction, type |
| | 180 | * Lines |
| | 181 | * Poligons |
| | 182 | * Rectangles |
| | 183 | * Text |
| | 184 | * Font set, get, source |
| | 185 | * Styles |
| | 186 | * Shadow |
| | 187 | * Glow |
| | 188 | * Outline |
| | 189 | * !TextBlock |
| | 190 | * Styles |
| | 191 | * string_range_get |
| | 192 | * markups |
| | 193 | * cursor new/get/free/node/char_next|last|first/pos_get|set/compare/text_append/format/node/char_del/range_del/ |
| 375 | | |
| 376 | | |
| 377 | | == Evas == |
| 378 | | * Freeze events |
| 379 | | * Check if mouse is inside an object |
| 380 | | * events add/remove/repeat/check/propagate(to_parent)/etc |
| 381 | | * Clip objects |
| 382 | | * Layer levels, raise/lower, etc |
| 383 | | * Name get/set/find |
| 384 | | * Position move/resize/geometry/min/max/aspect/align |
| 385 | | * Visible hide/show/visible |
| 386 | | * Color Get/Set to an evas object |
| 387 | | * Anti_alias |
| 388 | | * Scale |
| 389 | | * Retrieves: position, which object in pointer, which on rectangle, number (which) of objects in a rectangle (zone), |
| 390 | | * Precise (collision detection?) |
| 391 | | * Stack |
| 392 | | * Get object in a relative way, like: above of, lowest object (position), below of, etc |
| 393 | | * Font: Path/List/Append |
| 394 | | * norender: Update objects but not render anything |
| 395 | | * Image: add/filled/border_no_scale/border_fill/tiling_fill/size_get|set/alpha/smooth/preload(in_background)/reload/scale/size/dpi |
| 396 | | * Map: transformation of evas objects |
| 397 | | * rotation |
| 398 | | * distortion |
| 399 | | * zoom |
| 400 | | * smooth set/unset |
| 401 | | * alpha |
| 402 | | * dup |
| 403 | | * coordinates |
| 404 | | * UV texture |
| 405 | | * vertext color |
| 406 | | |
| 407 | | === Smart Evas Objects === |
| 408 | | Smart Evas object can be defined as the hability to create one or more evas objects with default states/values/capabilities, you can create then your own type of objects with your desired function calls on it, Smart Evas Objects are a container for child objects |
| 409 | | * Retrieve evas_smart from objects, retrieve data from evas_smart, etc |
| 410 | | * Members: add/del member objects to a smart object |
| 411 | | * Callbacks assign to events for smart objects |
| 412 | | * Recalculation need lags |
| 413 | | * Move children objects relative to a given offset |
| 414 | | * Clip |
| 415 | | * Box |
| 416 | | * Table |
| 417 | | |
| 418 | | |
| 419 | | === Object Functions === |
| 420 | | * Gradients: Color stop, angle, colors, fill, offset, direction, type |
| 421 | | * Lines |
| 422 | | * Poligons |
| 423 | | * Rectangles |
| 424 | | * Text |
| 425 | | * Font set, get, source |
| 426 | | * Styles |
| 427 | | * Shadow |
| 428 | | * Glow |
| 429 | | * Outline |
| 430 | | * !TextBlock |
| 431 | | * Styles |
| 432 | | * string_range_get |
| 433 | | * markups |
| 434 | | * cursor new/get/free/node/char_next|last|first/pos_get|set/compare/text_append/format/node/char_del/range_del/ |