From: davemds Date: Fri, 8 Aug 2014 00:30:18 +0000 (+0200) Subject: Edcref: and finally apply a cool style X-Git-Tag: v1.11.0-beta2~22 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=34c75a29f6ac5a4cbb669e5b3b74f1ddb6ae8423;p=platform%2Fupstream%2Fefl.git Edcref: and finally apply a cool style Now the edc ref is decently readable --- 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 DOT_CLEANUP = YES # Aliases used by edcref + ALIASES = block="" ALIASES += context="\code" ALIASES += description="\endcode " ALIASES += endblock="" -ALIASES += property=" " -ALIASES += edcsection{2}="" +ALIASES += edcsection{2}="
" +ALIASES += property="
 
" ALIASES += parameters="" ALIASES += effect="
 " ALIASES += endproperty="
\anchor sec_\1 \ref sec_quickaccess \"\2\"
" ALIASES += edcsubsection{2}="" # 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 { text-shadow: 0px 1px 0px #cccccc; } + /* EdcRef page specific styles */ +table.edcref { + border-collapse:collapse; + border: 1px solid #AAAAAA; + margin-bottom: 30px; +} + +table.edcref td.section a { + font-size: 2.0em; +} + +table.edcref td.subsection { + background-color: #EEEEEE; + border: 1px solid #AAAAAA; +} + +table.edcref td.subsection a { + font-size: 1.5em; +} + table.edcref td { vertical-align: top; } -table.edcref td.property, table.edcref td.parameters { - font-weight: bold; +table.edcref .fragment { + width: 90%; + padding-top: 10px; + padding-left: 3px; + margin-right: 100px; + border: 1px solid #AAAAAA; + margin-top: 10px; + margin-bottom: 10px; + background-color: #F6F6F6; } +table.edcref td.description { + padding-right: 95px; +} +table.edcref td.property, table.edcref td.parameters { + font-weight: bold; + background-color: #DDDDDD; + border-top: 1px solid #AAAAAA; + padding: 2px; +} - +table.edcref_prop { + width: 90%; + border-collapse:collapse; + border: 1px solid #AAAAAA; + box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); +} 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 @@ code sample of the block \@description the block's description + \@since X.X \@endblock \@property @@ -21,6 +22,7 @@ property's parameter list \@effect the property description (lol) + \@since X.X \@endproperty */ @@ -758,6 +760,10 @@ New_Statement_Handler statement_handlers[] = }; /** + @edcsection{lazedc,LazEDC} + */ + +/** @edcsubsection{lazedc,LazEDC} */ @@ -1492,7 +1498,7 @@ _edje_program_copy(Edje_Program *ep, Edje_Program *ep2) } @description The "externals" block is used to list each external module file that will be used in others - programs. + programs. @endblock @property @@ -2426,6 +2432,10 @@ st_styles_style_tag(void) */ /** + @edcsubsection{collections,Collections Blocks} + */ + +/** @page edcref @block collections
\anchor sec_\1 \ref sec_quickaccess \"\2\"
\anchor sec_\1 \ref sec_quickaccess \"\2\"