summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas M. Gastal <jgastal@profusion.mobi>2012-11-30 13:48:56 +0000
committerJonas M. Gastal <jgastal@profusion.mobi>2012-11-30 13:48:56 +0000
commite95cb8f58419970c95a22e4d2971f3d4b0fbc13c (patch)
tree99e90c187320a483dc5fac8253c208c3ea01780d
parentf9e04d392ad2cfab2713372d3272d49baf53d9c1 (diff)
Edje: Improve EDC reference doc index
Author: Ricardo de Almeida Gonzaga <ricardo@profusion.mobi> SVN revision: 79906
-rw-r--r--legacy/edje/doc/Doxyfile.in1
-rw-r--r--legacy/edje/doc/e.css12
-rw-r--r--legacy/edje/src/bin/edje_cc_handlers.c185
3 files changed, 180 insertions, 18 deletions
diff --git a/legacy/edje/doc/Doxyfile.in b/legacy/edje/doc/Doxyfile.in
index e788cbf1cd..3567ff6790 100644
--- a/legacy/edje/doc/Doxyfile.in
+++ b/legacy/edje/doc/Doxyfile.in
@@ -189,6 +189,7 @@ ALIASES += parameters="</tt></td><td class=\"parameters\"><tt>"
189ALIASES += effect="</tt></td></tr><tr><td>&nbsp;</td><td class=\"effect\">" 189ALIASES += effect="</tt></td></tr><tr><td>&nbsp;</td><td class=\"effect\">"
190ALIASES += endproperty="</td></tr></table></td></tr>" 190ALIASES += endproperty="</td></tr></table></td></tr>"
191ALIASES += edcsection{2}="<tr class=\"section\"><td class=\"section\" colspan=\"2\">\anchor sec_\1 \ref sec_quickaccess \"\2\"</td></tr>" 191ALIASES += edcsection{2}="<tr class=\"section\"><td class=\"section\" colspan=\"2\">\anchor sec_\1 \ref sec_quickaccess \"\2\"</td></tr>"
192ALIASES += edcsubsection{2}="<tr class=\"subsection\"><td class=\"subsection\" colspan=\"2\">\anchor sec_\1 \ref sec_quickaccess \"\2\"</td></tr>"
192 193
193# Aliases used by luaref 194# Aliases used by luaref
194ALIASES += luaclass{2}="\anchor \1 \n<div class=\"luaclass\">\2</div>" 195ALIASES += luaclass{2}="\anchor \1 \n<div class=\"luaclass\">\2</div>"
diff --git a/legacy/edje/doc/e.css b/legacy/edje/doc/e.css
index 44a9f254db..2418ac917f 100644
--- a/legacy/edje/doc/e.css
+++ b/legacy/edje/doc/e.css
@@ -289,6 +289,18 @@ table.edcref tr.section td.section a {
289 text-decoration: none; 289 text-decoration: none;
290} 290}
291 291
292table.edcref tr.subsection td.subsection, div.luaclass {
293 color: #888;
294 font-size: 11pt;
295 padding: 1px;
296 text-align: center;
297}
298
299table.edcref tr.subsection td.subsection a {
300 color: #888;
301 text-decoration: none;
302}
303
292div.luaattrib { 304div.luaattrib {
293 color: #888; 305 color: #888;
294 border: 1px solid #ccc; 306 border: 1px solid #ccc;
diff --git a/legacy/edje/src/bin/edje_cc_handlers.c b/legacy/edje/src/bin/edje_cc_handlers.c
index 2b8cdd710a..620e37787c 100644
--- a/legacy/edje/src/bin/edje_cc_handlers.c
+++ b/legacy/edje/src/bin/edje_cc_handlers.c
@@ -48,16 +48,69 @@
48 * @anchor sec_quickaccess Quick access to block descriptions: 48 * @anchor sec_quickaccess Quick access to block descriptions:
49 * <ul> 49 * <ul>
50 * <li>@ref sec_toplevel "Top-Level"</li> 50 * <li>@ref sec_toplevel "Top-Level"</li>
51 * <li>@ref sec_group "Group"</li>
52 * <li>@ref sec_description "State description"</li>
53 * <ul> 51 * <ul>
54 * <li>@ref sec_description_image "Image"</li> 52 * <li>@ref sec_toplevel_externals "Externals"</li>
55 * <li>@ref sec_description_text "Text"</li> 53 * <li>@ref sec_toplevel_images "Images"</li>
56 * <li>@ref sec_description_box "Box"</li> 54 * <ul>
57 * <li>@ref sec_description_table "Table"</li> 55 * <li>@ref sec_toplevel_images_set "Set"</li>
58 * <li>@ref sec_description_map "Map (3d/transformations)"</li> 56 * <ul>
57 * <li>@ref sec_toplevel_images_image "Image"</li>
58 * </ul>
59 * </ul>
60 * <li>@ref sec_toplevel_fonts "Fonts"</li>
61 * <li>@ref sec_toplevel_data "Data"</li>
62 * <li>@ref sec_toplevel_color_classes "Color Classes"</li>
63 * <li>@ref sec_toplevel_styles "Styles"</li>
64 * </ul>
65 * <li>@ref sec_collections "Collections"</li>
66 * <ul>
67 * <li>@ref sec_collections_sounds "Sounds"</li>
68 * <ul>
69 * <li>@ref sec_collections_sounds_sample "Sample"</li>
70 * </ul>
71 * <li>@ref sec_collections_group "Group"</li>
72 * <ul>
73 * <li>@ref sec_collections_group_script "Script"</li>
74 * <li>@ref sec_collections_group_limits "Limits"</li>
75 * <li>@ref sec_toplevel_data "Data"</li>
76 * <li>@ref sec_collections_group_parts "Parts"</li>
77 * <ul>
78 * <li>@ref sec_collections_group_parts_part "Part"</li>
79 * <ul>
80 * <li>@ref sec_collections_group_parts_dragable "Dragable"</li>
81 * <li>@ref sec_collections_group_parts_items "Items"</li>
82 * <li>@ref sec_collections_group_parts_description "Description"</li>
83 * <ul>
84 * <li>@ref sec_collections_group_parts_description_relatives "Relatives (rel1/rel2)"</li>
85 * <li>@ref sec_collections_group_parts_description_image "Image"</li>
86 * <ul>
87 * <li>@ref sec_collections_group_parts_description_image_fill "Fill"</li>
88 * <ul>
89 * <li>@ref sec_collections_group_parts_description_image_fill_origin "Origin"</li>
90 * <li>@ref sec_collections_group_parts_description_image_fill_size "Size"</li>
91 * </ul>
92 * </ul>
93 * <li>@ref sec_collections_group_parts_description_text "Text"</li>
94 * <li>@ref sec_collections_group_parts_description_box "Box"</li>
95 * <ul>
96 * <li>@ref sec_collections_group_parts_items "Items"</li>
97 * </ul>
98 * <li>@ref sec_collections_group_parts_description_table "Table"</li>
99 * <li>@ref sec_collections_group_parts_description_map "Map (3d/transformations)"</li>
100 * <ul>
101 * <li>@ref sec_collections_group_parts_description_map_rotation "Rotation"</li>
102 * </ul>
103 * <li>@ref sec_collections_group_parts_description_perspective "Perspective"</li>
104 * <li>@ref sec_collections_group_parts_descriptions_params "Params"</li>
105 * </ul>
106 * </ul>
107 * </ul>
108 * <li>@ref sec_collections_group_programs "Programs"</li>
109 * <ul>
110 * <li>@ref sec_collections_group_script "Script"</li>
111 * </ul>
112 * </ul>
59 * </ul> 113 * </ul>
60 * <li>@ref sec_program "Program block"</li>
61 * </ul> 114 * </ul>
62 * 115 *
63 * @author Andres Blanc (dresb) andresblanc@gmail.com 116 * @author Andres Blanc (dresb) andresblanc@gmail.com
@@ -1151,6 +1204,10 @@ _edje_program_copy(Edje_Program *ep, Edje_Program *ep2)
1151 */ 1204 */
1152 1205
1153/** 1206/**
1207 @edcsubsection{toplevel_externals,Externals}
1208 */
1209
1210/**
1154 @page edcref 1211 @page edcref
1155 1212
1156 @block 1213 @block
@@ -1218,6 +1275,10 @@ st_externals_external(void)
1218} 1275}
1219 1276
1220/** 1277/**
1278 @edcsubsection{toplevel_images,Images}
1279 */
1280
1281/**
1221 @page edcref 1282 @page edcref
1222 1283
1223 @block 1284 @block
@@ -1343,6 +1404,10 @@ st_images_image(void)
1343} 1404}
1344 1405
1345/** 1406/**
1407 @edcsubsection{toplevel_images_set,Set}
1408 */
1409
1410/**
1346 @page edcref 1411 @page edcref
1347 1412
1348 @block 1413 @block
@@ -1414,6 +1479,10 @@ st_images_set_name(void)
1414} 1479}
1415 1480
1416/** 1481/**
1482 @edcsubsection{toplevel_images_image,Image}
1483 */
1484
1485/**
1417 @page edcref 1486 @page edcref
1418 1487
1419 @block 1488 @block
@@ -1513,6 +1582,10 @@ st_images_set_image_size(void)
1513} 1582}
1514 1583
1515/** 1584/**
1585 @edcsubsection{toplevel_fonts,Fonts}
1586 */
1587
1588/**
1516 @page edcref 1589 @page edcref
1517 1590
1518 @block 1591 @block
@@ -1564,6 +1637,10 @@ st_fonts_font(void)
1564} 1637}
1565 1638
1566/** 1639/**
1640 @edcsubsection{toplevel_data,Data}
1641 */
1642
1643/**
1567 @page edcref 1644 @page edcref
1568 @block 1645 @block
1569 data 1646 data
@@ -1685,6 +1762,10 @@ st_data_file(void)
1685} 1762}
1686 1763
1687/** 1764/**
1765 @edcsubsection{toplevel_color_classes,Color Classes}
1766 */
1767
1768/**
1688 @page edcref 1769 @page edcref
1689 @block 1770 @block
1690 color_classes 1771 color_classes
@@ -1831,6 +1912,10 @@ st_color_class_color3(void)
1831} 1912}
1832 1913
1833/** 1914/**
1915 @edcsubsection{toplevel_styles,Styles}
1916 */
1917
1918/**
1834 @page edcref 1919 @page edcref
1835 @block 1920 @block
1836 styles 1921 styles
@@ -1946,6 +2031,10 @@ st_styles_style_tag(void)
1946} 2031}
1947 2032
1948/** 2033/**
2034 @edcsection{collections,Collections Blocks}
2035 */
2036
2037/**
1949 @page edcref 2038 @page edcref
1950 @block 2039 @block
1951 collections 2040 collections
@@ -1974,6 +2063,10 @@ ob_collections(void)
1974} 2063}
1975 2064
1976/** 2065/**
2066 @edcsubsection{collections_sounds,Sounds}
2067 */
2068
2069/**
1977 @page edcref 2070 @page edcref
1978 @block 2071 @block
1979 sounds 2072 sounds
@@ -1993,6 +2086,14 @@ ob_collections(void)
1993 @description 2086 @description
1994 The "sounds" block contains a list of one or more sound sample and tones items. 2087 The "sounds" block contains a list of one or more sound sample and tones items.
1995 @endblock 2088 @endblock
2089*/
2090
2091/**
2092 @edcsubsection{collections_sounds_sample,Sample}
2093 */
2094
2095/**
2096 @page edcref
1996 @block 2097 @block
1997 sample 2098 sample
1998 @context 2099 @context
@@ -2187,7 +2288,7 @@ st_collections_group_sound_tone(void)
2187} 2288}
2188 2289
2189/** 2290/**
2190 @edcsection{group,Group sub blocks} 2291 @edcsubsection{collections_group,Group}
2191 */ 2292 */
2192 2293
2193/** 2294/**
@@ -2706,6 +2807,10 @@ st_collections_group_broadcast_signal(void)
2706} 2807}
2707 2808
2708/** 2809/**
2810 @edcsubsection{collections_group_script,Script}
2811 */
2812
2813/**
2709 @page edcref 2814 @page edcref
2710 @block 2815 @block
2711 script 2816 script
@@ -2849,6 +2954,10 @@ st_collections_group_orientation(void)
2849} 2954}
2850 2955
2851/** 2956/**
2957 @edcsubsection{collections_group_limits,Limits}
2958 */
2959
2960/**
2852 @page edcref 2961 @page edcref
2853 @block 2962 @block
2854 limits 2963 limits
@@ -2942,6 +3051,10 @@ st_collections_group_limits_horizontal(void)
2942} 3051}
2943 3052
2944/** 3053/**
3054 @edcsubsection{collections_group_parts,Parts}
3055 */
3056
3057/**
2945 @page edcref 3058 @page edcref
2946 @block 3059 @block
2947 parts 3060 parts
@@ -2978,6 +3091,9 @@ st_collections_group_parts_alias(void)
2978 eina_hash_add(pc->aliased, aliased, alias); 3091 eina_hash_add(pc->aliased, aliased, alias);
2979} 3092}
2980 3093
3094/**
3095 @edcsubsection{collections_group_parts_part,Part}
3096 */
2981 3097
2982/** 3098/**
2983 @page edcref 3099 @page edcref
@@ -3858,6 +3974,10 @@ st_collections_group_parts_part_access(void)
3858} 3974}
3859 3975
3860/** 3976/**
3977 @edcsubsection{collections_group_parts_dragable,Dragable}
3978 */
3979
3980/**
3861 @page edcref 3981 @page edcref
3862 @block 3982 @block
3863 dragable 3983 dragable
@@ -3987,6 +4107,10 @@ st_collections_group_parts_part_dragable_events(void)
3987} 4107}
3988 4108
3989/** 4109/**
4110 @edcsubsection{collections_group_parts_items,Items}
4111 */
4112
4113/**
3990 @page edcref 4114 @page edcref
3991 @block 4115 @block
3992 items 4116 items
@@ -4390,7 +4514,7 @@ static void st_collections_group_parts_part_table_items_item_span(void)
4390} 4514}
4391 4515
4392/** 4516/**
4393 @edcsection{description,State description sub blocks} 4517 @edcsubsection{collections_group_parts_description,Description}
4394 */ 4518 */
4395 4519
4396/** 4520/**
@@ -5241,6 +5365,10 @@ st_collections_group_parts_part_description_color3(void)
5241} 5365}
5242 5366
5243/** 5367/**
5368 @edcsubsection{collections_group_parts_description_relatives,Relatives (rel1/rel2)}
5369 */
5370
5371/**
5244 @page edcref 5372 @page edcref
5245 @block 5373 @block
5246 rel1/rel2 5374 rel1/rel2
@@ -5473,7 +5601,7 @@ st_collections_group_parts_part_description_rel2_to_y(void)
5473} 5601}
5474 5602
5475/** 5603/**
5476 @edcsection{description_image,Image state description sub blocks} 5604 @edcsubsection{collections_group_parts_description_image,Image}
5477 */ 5605 */
5478 5606
5479/** 5607/**
@@ -5754,6 +5882,10 @@ st_collections_group_parts_part_description_image_scale_hint(void)
5754} 5882}
5755 5883
5756/** 5884/**
5885 @edcsubsection{collections_group_parts_description_image_fill,Fill}
5886 */
5887
5888/**
5757 @page edcref 5889 @page edcref
5758 @block 5890 @block
5759 fill 5891 fill
@@ -5931,6 +6063,10 @@ st_collections_group_parts_part_description_fill_type(void)
5931} 6063}
5932 6064
5933/** 6065/**
6066 @edcsubsection{collections_group_parts_description_image_fill_origin,Origin}
6067 */
6068
6069/**
5934 @page edcref 6070 @page edcref
5935 @block 6071 @block
5936 origin 6072 origin
@@ -6052,6 +6188,10 @@ st_collections_group_parts_part_description_fill_origin_offset(void)
6052} 6188}
6053 6189
6054/** 6190/**
6191 @edcsubsection{collections_group_parts_description_image_fill_size,Size}
6192 */
6193
6194/**
6055 @page edcref 6195 @page edcref
6056 @block 6196 @block
6057 size 6197 size
@@ -6176,7 +6316,7 @@ st_collections_group_parts_part_description_fill_size_offset(void)
6176 6316
6177 6317
6178/** 6318/**
6179 @edcsection{description_text,Text state description sub blocks} 6319 @edcsubsection{collections_group_parts_description_text,Text}
6180 */ 6320 */
6181 6321
6182/** 6322/**
@@ -6703,7 +6843,7 @@ st_collections_group_parts_part_description_text_elipsis(void)
6703 6843
6704 6844
6705/** 6845/**
6706 @edcsection{description_box,Box state description sub blocks} 6846 @edcsubsection{collections_group_parts_description_box,Box}
6707 */ 6847 */
6708 6848
6709/** 6849/**
@@ -6858,7 +6998,7 @@ st_collections_group_parts_part_description_box_min(void)
6858 6998
6859 6999
6860/** 7000/**
6861 @edcsection{description_table,Table state description sub blocks} 7001 @edcsubsection{collections_group_parts_description_table,Table}
6862 */ 7002 */
6863 7003
6864/** 7004/**
@@ -7004,7 +7144,7 @@ st_collections_group_parts_part_description_table_min(void)
7004} 7144}
7005 7145
7006/** 7146/**
7007 @edcsection{description_map,Map state description sub blocks} 7147 @edcsubsection{collections_group_parts_description_map,Map}
7008 */ 7148 */
7009 7149
7010/** 7150/**
@@ -7200,6 +7340,11 @@ st_collections_group_parts_part_description_map_perspective_on(void)
7200 7340
7201 current_desc->map.persp_on = parse_bool(0); 7341 current_desc->map.persp_on = parse_bool(0);
7202} 7342}
7343
7344/**
7345 @edcsubsection{collections_group_parts_description_map_rotation,Rotation}
7346 */
7347
7203/** 7348/**
7204 @page edcref 7349 @page edcref
7205 @block 7350 @block
@@ -7307,6 +7452,10 @@ st_collections_group_parts_part_description_map_rotation_z(void)
7307} 7452}
7308 7453
7309/** 7454/**
7455 @edcsubsection{collections_group_parts_description_perspective,Perspective}
7456 */
7457
7458/**
7310 @page edcref 7459 @page edcref
7311 @block 7460 @block
7312 perspective 7461 perspective
@@ -7363,7 +7512,7 @@ st_collections_group_parts_part_description_perspective_focal(void)
7363 7512
7364 7513
7365/** 7514/**
7366 @edcsection{description_params,Params state description sub blocks} 7515 @edcsubsection{collections_group_parts_descriptions_params,Params}
7367 */ 7516 */
7368 7517
7369/** 7518/**
@@ -7537,13 +7686,13 @@ st_collections_group_parts_part_description_params_choice(void)
7537 7686
7538 7687
7539/** 7688/**
7540 @edcsection{program, Program block} 7689 @edcsubsection{collections_group_programs,Programs}
7541 */ 7690 */
7542 7691
7543/** 7692/**
7544 @page edcref 7693 @page edcref
7545 @block 7694 @block
7546 program 7695 programs
7547 @context 7696 @context
7548 group { 7697 group {
7549 programs { 7698 programs {