summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordavemds <dave@gurumeditation.it>2014-08-08 02:30:18 +0200
committerdavemds <dave@gurumeditation.it>2014-08-08 02:30:33 +0200
commit34c75a29f6ac5a4cbb669e5b3b74f1ddb6ae8423 (patch)
treef141679c8d55fed48285f70c116ba0bef9cb6a8b
parenta8a71588014596bd6bb8988d40647f2641165d9b (diff)
Edcref: and finally apply a cool style
Now the edc ref is decently readable
-rw-r--r--doc/Doxyfile.in5
-rw-r--r--doc/e.css47
-rw-r--r--src/bin/edje/edje_cc_handlers.c12
3 files changed, 58 insertions, 6 deletions
diff --git a/doc/Doxyfile.in b/doc/Doxyfile.in
index a1b2c0c..f18cc4f 100644
--- a/doc/Doxyfile.in
+++ b/doc/Doxyfile.in
@@ -1709,15 +1709,16 @@ GENERATE_LEGEND = YES
1709DOT_CLEANUP = YES 1709DOT_CLEANUP = YES
1710 1710
1711# Aliases used by edcref 1711# Aliases used by edcref
1712
1712ALIASES = block="<tr><td class=\"block\"><b>" 1713ALIASES = block="<tr><td class=\"block\"><b>"
1713ALIASES += context="</b></td><td class=\"context\" colspan=2>\code" 1714ALIASES += context="</b></td><td class=\"context\" colspan=2>\code"
1714ALIASES += description="\endcode</td></tr><tr><td>&nbsp;</td><td class=\"description\" colspan=2>" 1715ALIASES += description="\endcode</td></tr><tr><td>&nbsp;</td><td class=\"description\" colspan=2>"
1715ALIASES += endblock="</td></tr>" 1716ALIASES += endblock="</td></tr>"
1716ALIASES += property="<tr><td>&nbsp;</td><td><table class=\"edcref\" border=\"0\"><tr><td class=\"property\"><tt>" 1717ALIASES += property="<tr><td>&nbsp;</td><td><table class=\"edcref_prop\" border=\"0\"><tr><td class=\"property\"><tt>"
1717ALIASES += parameters="</tt></td><td class=\"parameters\"><tt>" 1718ALIASES += parameters="</tt></td><td class=\"parameters\"><tt>"
1718ALIASES += effect="</tt></td></tr><tr><td>&nbsp;</td><td class=\"effect\">" 1719ALIASES += effect="</tt></td></tr><tr><td>&nbsp;</td><td class=\"effect\">"
1719ALIASES += endproperty="</td></tr></table></td></tr>" 1720ALIASES += endproperty="</td></tr></table></td></tr>"
1720ALIASES += edcsection{2}="<tr class=\"section\"><td class=\"section\" colspan=\"2\">\anchor sec_\1 \ref sec_quickaccess \"\2\"</td></tr>" 1721ALIASES += edcsection{2}="</table><table class=\"edcref\"><tr class=\"section\"><td class=\"section\" colspan=\"2\">\anchor sec_\1 \ref sec_quickaccess \"\2\"</td></tr>"
1721ALIASES += edcsubsection{2}="<tr class=\"subsection\"><td class=\"subsection\" colspan=\"2\">\anchor sec_\1 \ref sec_quickaccess \"\2\"</td></tr>" 1722ALIASES += edcsubsection{2}="<tr class=\"subsection\"><td class=\"subsection\" colspan=\"2\">\anchor sec_\1 \ref sec_quickaccess \"\2\"</td></tr>"
1722 1723
1723# Aliases used by luaref 1724# Aliases used by luaref
diff --git a/doc/e.css b/doc/e.css
index dd111c0..a34c7e7 100644
--- a/doc/e.css
+++ b/doc/e.css
@@ -954,16 +954,57 @@ dl.citelist dd {
954 text-shadow: 0px 1px 0px #cccccc; 954 text-shadow: 0px 1px 0px #cccccc;
955} 955}
956 956
957
957/* EdcRef page specific styles */ 958/* EdcRef page specific styles */
958 959
960table.edcref {
961 border-collapse:collapse;
962 border: 1px solid #AAAAAA;
963 margin-bottom: 30px;
964}
965
966table.edcref td.section a {
967 font-size: 2.0em;
968}
969
970table.edcref td.subsection {
971 background-color: #EEEEEE;
972 border: 1px solid #AAAAAA;
973}
974
975table.edcref td.subsection a {
976 font-size: 1.5em;
977}
978
959table.edcref td { 979table.edcref td {
960 vertical-align: top; 980 vertical-align: top;
961} 981}
962 982
963table.edcref td.property, table.edcref td.parameters { 983table.edcref .fragment {
964 font-weight: bold; 984 width: 90%;
985 padding-top: 10px;
986 padding-left: 3px;
987 margin-right: 100px;
988 border: 1px solid #AAAAAA;
989 margin-top: 10px;
990 margin-bottom: 10px;
991 background-color: #F6F6F6;
965} 992}
966 993
994table.edcref td.description {
995 padding-right: 95px;
996}
967 997
998table.edcref td.property, table.edcref td.parameters {
999 font-weight: bold;
1000 background-color: #DDDDDD;
1001 border-top: 1px solid #AAAAAA;
1002 padding: 2px;
1003}
968 1004
969 1005table.edcref_prop {
1006 width: 90%;
1007 border-collapse:collapse;
1008 border: 1px solid #AAAAAA;
1009 box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15);
1010}
diff --git a/src/bin/edje/edje_cc_handlers.c b/src/bin/edje/edje_cc_handlers.c
index ea98da3..f48f800 100644
--- a/src/bin/edje/edje_cc_handlers.c
+++ b/src/bin/edje/edje_cc_handlers.c
@@ -13,6 +13,7 @@
13 code sample of the block 13 code sample of the block
14 \@description 14 \@description
15 the block's description 15 the block's description
16 \@since X.X
16 \@endblock 17 \@endblock
17 18
18 \@property 19 \@property
@@ -21,6 +22,7 @@
21 property's parameter list 22 property's parameter list
22 \@effect 23 \@effect
23 the property description (lol) 24 the property description (lol)
25 \@since X.X
24 \@endproperty 26 \@endproperty
25*/ 27*/
26 28
@@ -758,6 +760,10 @@ New_Statement_Handler statement_handlers[] =
758}; 760};
759 761
760/** 762/**
763 @edcsection{lazedc,LazEDC}
764 */
765
766/**
761 @edcsubsection{lazedc,LazEDC} 767 @edcsubsection{lazedc,LazEDC}
762 */ 768 */
763 769
@@ -1492,7 +1498,7 @@ _edje_program_copy(Edje_Program *ep, Edje_Program *ep2)
1492 } 1498 }
1493 @description 1499 @description
1494 The "externals" block is used to list each external module file that will be used in others 1500 The "externals" block is used to list each external module file that will be used in others
1495 programs. 1501 programs.
1496 @endblock 1502 @endblock
1497 1503
1498 @property 1504 @property
@@ -2426,6 +2432,10 @@ st_styles_style_tag(void)
2426 */ 2432 */
2427 2433
2428/** 2434/**
2435 @edcsubsection{collections,Collections Blocks}
2436 */
2437
2438/**
2429 @page edcref 2439 @page edcref
2430 @block 2440 @block
2431 collections 2441 collections