1. configure.ac finally

2. add docsbuilding infra
3. fix list/genlist on code-based select.



SVN revision: 40667
This commit is contained in:
Carsten Haitzler 2009-05-15 11:45:14 +00:00
parent aafbdaea0e
commit f2a75b0f05
31 changed files with 45898 additions and 9 deletions

View File

@ -1,4 +1,4 @@
SUBDIRS = src data
SUBDIRS = src data doc
MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.guess \
config.h.in config.sub configure install-sh \
@ -12,3 +12,10 @@ pkgconfig_DATA = elementary.pc
installed_headersdir = $(prefix)/include/elementary
installed_headers_DATA = elementary_config.h
.PHONY: doc
doc:
@echo "entering doc/"
$(MAKE) -C doc doc

View File

@ -2,7 +2,6 @@
rm -rf autom4te.cache
rm -f aclocal.m4 ltmain.sh
rm -rf m4
mkdir m4

View File

@ -1,9 +1,9 @@
# get rid of that stupid cache mechanism
rm -f config.cache
AC_INIT(elementary, 0.3.0.0, enlightenment-devel@lists.sourceforge.net)
AC_INIT(elementary, 0.4.0.0, enlightenment-devel@lists.sourceforge.net)
AC_PREREQ(2.52)
AC_CONFIG_SRCDIR(configure.in)
AC_CONFIG_SRCDIR(configure.ac)
AC_CANONICAL_BUILD
AC_CANONICAL_HOST
@ -200,9 +200,13 @@ my_libs="-lm"
AC_SUBST(my_libs)
AC_SUBST(requirement_elm)
EFL_CHECK_DOXYGEN([build_doc="yes"], [build_doc="no"])
AC_OUTPUT([
Makefile
elementary.pc
doc/elementary.dox
doc/Makefile
src/Makefile
src/lib/Makefile
src/lib/Elementary.h

View File

@ -0,0 +1,3 @@
html
latex
man

View File

@ -0,0 +1,139 @@
PROJECT_NAME = Evas
PROJECT_NUMBER =
OUTPUT_DIRECTORY = .
INPUT = evas.dox ../src/lib
IMAGE_PATH = img
OUTPUT_LANGUAGE = English
GENERATE_HTML = YES
HTML_OUTPUT = html
HTML_FILE_EXTENSION = .html
HTML_HEADER = head.html
HTML_FOOTER = foot.html
HTML_STYLESHEET = e.css
HTML_ALIGN_MEMBERS = YES
ENUM_VALUES_PER_LINE = 1
GENERATE_HTMLHELP = NO
CHM_FILE =
HHC_LOCATION =
GENERATE_CHI = NO
BINARY_TOC = NO
TOC_EXPAND = NO
DISABLE_INDEX = YES
EXTRACT_ALL = NO
EXTRACT_PRIVATE = NO
EXTRACT_STATIC = NO
EXTRACT_LOCAL_CLASSES = NO
HIDE_UNDOC_MEMBERS = YES
HIDE_UNDOC_CLASSES = YES
HIDE_FRIEND_COMPOUNDS = YES
BRIEF_MEMBER_DESC = YES
REPEAT_BRIEF = YES
ALWAYS_DETAILED_SEC = NO
INLINE_INHERITED_MEMB = NO
FULL_PATH_NAMES = NO
STRIP_FROM_PATH =
INTERNAL_DOCS = NO
STRIP_CODE_COMMENTS = YES
CASE_SENSE_NAMES = YES
SHORT_NAMES = NO
HIDE_SCOPE_NAMES = NO
VERBATIM_HEADERS = NO
SHOW_INCLUDE_FILES = NO
JAVADOC_AUTOBRIEF = YES
MULTILINE_CPP_IS_BRIEF = NO
DETAILS_AT_TOP = NO
INHERIT_DOCS = YES
INLINE_INFO = YES
SORT_MEMBER_DOCS = YES
DISTRIBUTE_GROUP_DOC = NO
TAB_SIZE = 2
GENERATE_TODOLIST = YES
GENERATE_TESTLIST = YES
GENERATE_BUGLIST = YES
GENERATE_DEPRECATEDLIST= YES
ALIASES =
ENABLED_SECTIONS =
MAX_INITIALIZER_LINES = 30
OPTIMIZE_OUTPUT_FOR_C = YES
OPTIMIZE_OUTPUT_JAVA = NO
SHOW_USED_FILES = NO
QUIET = NO
WARNINGS = YES
WARN_IF_UNDOCUMENTED = YES
WARN_FORMAT = "$file:$line: $text"
WARN_LOGFILE =
FILE_PATTERNS =
RECURSIVE = YES
EXCLUDE =
EXCLUDE_SYMLINKS = NO
EXCLUDE_PATTERNS =
EXAMPLE_PATH =
EXAMPLE_PATTERNS =
EXAMPLE_RECURSIVE = NO
INPUT_FILTER =
FILTER_SOURCE_FILES = NO
SOURCE_BROWSER = NO
INLINE_SOURCES = NO
REFERENCED_BY_RELATION = YES
REFERENCES_RELATION = YES
ALPHABETICAL_INDEX = YES
COLS_IN_ALPHA_INDEX = 2
IGNORE_PREFIX =
GENERATE_TREEVIEW = NO
TREEVIEW_WIDTH = 250
GENERATE_LATEX = YES
LATEX_OUTPUT = latex
LATEX_CMD_NAME = latex
MAKEINDEX_CMD_NAME = makeindex
COMPACT_LATEX = NO
PAPER_TYPE = a4wide
EXTRA_PACKAGES =
LATEX_HEADER =
PDF_HYPERLINKS = YES
USE_PDFLATEX = NO
LATEX_BATCHMODE = NO
GENERATE_RTF = NO
RTF_OUTPUT = rtf
COMPACT_RTF = NO
RTF_HYPERLINKS = NO
RTF_STYLESHEET_FILE =
RTF_EXTENSIONS_FILE =
GENERATE_MAN = YES
MAN_OUTPUT = man
MAN_EXTENSION = .3
MAN_LINKS = YES
GENERATE_XML = NO
XML_SCHEMA =
XML_DTD =
GENERATE_AUTOGEN_DEF = NO
ENABLE_PREPROCESSING = YES
MACRO_EXPANSION = NO
EXPAND_ONLY_PREDEF = NO
SEARCH_INCLUDES = NO
INCLUDE_PATH =
INCLUDE_FILE_PATTERNS =
PREDEFINED =
EXPAND_AS_DEFINED =
SKIP_FUNCTION_MACROS = YES
TAGFILES =
GENERATE_TAGFILE =
ALLEXTERNALS = NO
EXTERNAL_GROUPS = YES
PERL_PATH = /usr/bin/perl
CLASS_DIAGRAMS = NO
HIDE_UNDOC_RELATIONS = YES
HAVE_DOT = NO
CLASS_GRAPH = NO
COLLABORATION_GRAPH = NO
TEMPLATE_RELATIONS = NO
INCLUDE_GRAPH = NO
INCLUDED_BY_GRAPH = NO
GRAPHICAL_HIERARCHY = NO
DOT_IMAGE_FORMAT = png
DOT_PATH =
DOTFILE_DIRS =
MAX_DOT_GRAPH_WIDTH = 512
MAX_DOT_GRAPH_HEIGHT = 512
GENERATE_LEGEND = YES
DOT_CLEANUP = YES
SEARCHENGINE = NO

View File

@ -0,0 +1,32 @@
MAINTAINERCLEANFILES = Makefile.in elementary.dox
.PHONY: doc
PACKAGE_DOCNAME = $(PACKAGE_TARNAME)-$(PACKAGE_VERSION)-doc
if EFL_BUILD_DOC
doc-clean:
rm -rf html/ latex/ man/ xml/ $(PACKAGE_DOCNAME).tar*
doc: all doc-clean
$(efl_doxygen)
cp img/* html/
rm -rf $(PACKAGE_DOCNAME).tar*
mkdir -p $(PACKAGE_DOCNAME)/doc
cp -R html/ latex/ man/ $(PACKAGE_DOCNAME)/doc
tar cf $(PACKAGE_DOCNAME).tar $(PACKAGE_DOCNAME)/
bzip2 -9 $(PACKAGE_DOCNAME).tar
rm -rf $(PACKAGE_DOCNAME)/
mv $(PACKAGE_DOCNAME).tar.bz2 $(top_srcdir)
clean-local: doc-clean
else
doc:
@echo "Documentation not built. Run ./configure --help"
endif
EXTRA_DIST = Doxyfile $(wildcard img/*.*) e.css head.html foot.html elementary.dox.in

161
legacy/elementary/doc/e.css Normal file
View File

@ -0,0 +1,161 @@
body {
background: url("b.png");
background-repeat: repeat-x;
background-position: top left;
background-color: #f4f4f4;
text-align: center;
font-family: sans-serif;
padding: 0;
margin: 0;
}
div.main {
margin: 1em auto;
vertical-align: top;
font-family: "Bitstream Vera", "Vera", "Trebuchet MS", Trebuchet, Tahoma, sans-serif;
color: #444444;
font-size: 0.8em;
text-align: justify;
width: 80%;
}
td.t { background-image:url("t.gif"); }
td.t[class] { background-image:url("t.png"); }
td.tl { background-image:url("tl.gif"); }
td.tl[class] { background-image:url("tl.png"); }
td.nav, td.lnav, td.rnav {
align: middle;
text-align: center;
vertical-align: middle;
width: 100px;
height: 25px;
font-family: "Bitstream Vera", "Vera", "Trebuchet MS", Trebuchet, Tahoma, sans-serif;
color: #000000;
font-size: 9px;
font-weight: bold;
white-space: no-wrap;
}
td.lnav[class] { background-image:url("n.png"); }
td.lnav[class] { background-image:url("n.png"); }
td.rnav { background-image:url("n.gif"); }
td.rnav[class] { background-image:url("n.png"); }
hr {
width: 200px;
height: 1px;
background: #dddddd;
border: 0;
}
p { color: #444444 ;}
p.tiny, small {
color: #888888;
font-size: 0.5em;
}
h1 {
text-align: center;
font-size: 1.3em;
}
h2 { font-size: 1.1em; }
h3 { font-size: 0.9em; }
span.keyword { color: #008000; }
span.keywordtype { color: #604020; }
span.keywordflow { color: #e08000; }
span.comment { color: #800000; }
span.preprocessor { color: #806020; }
span.stringliteral { color: #002080; }
span.charliteral { color: #008080; }
a:link {
color: #445566;
text-decoration: underline;
}
a:visited {
color: #667788;
text-decoration: underline;
}
a:active {
color: #88cccc;
text-decoration: none;
}
a:hover {
color: #112266;
text-decoration: underline;
}
a.nav {
text-decoration: none;
display: block;
}
a.nav:link, a.nav:visited { color: #888888; }
a.nav:active { color: #000000; }
a.nav:hover { color: #444444; }
a.code:link, a.code:visited { text-decoration: none; }
div.fragment {
font-size: 1em;
border: 1px dotted #cccccc;
background-color: #ffffff;
text-align: left;
vertical-align: middle;
padding: 2px;
margin-left: 25px;
margin-right: 25px;
overflow: auto;
}
td.indexkey {
font-weight: bold;
padding-left: 10px;
padding-right: 0;
padding-top: 2px;
padding-bottom: 0px;
margin: 0;
margin-top: 2px;
margin-bottom: 2px;
border: 1px dotted #cccccc;
border-right: 0px dotted #cccccc;
}
td.indexvalue {
font-style: italic;
padding-right: 10px;
padding-left: 0;
padding-top: 2px;
padding-bottom: 2px;
margin: 0;
margin-top: 2px;
margin-bottom: 2px;
border: 1px dotted #cccccc;
border-left: 0px dotted #cccccc;
}
.mdescRight { font-style: italic; }
.memitem {
padding-left: 2px;
padding-right: 2px;
border: 1px dotted #cccccc;
background-color: #ffffff;
}
.memname {
white-space: nowrap;
font-weight: bold;
}
.paramname { font-weight: normal; }
div.ah {
border: thin solid #888888;
font-weight: bold;
margin-bottom: 3px;
margin-top: 3px;
}

View File

@ -0,0 +1,20 @@
/**
@mainpage Elementary
@image latex evas_big.eps width=5cm
@image html evas.png
@version @PACKAGE_VERSION@
@author Carsten Haitzler <raster\@rasterman.com>
@author FIXME: get from Elementary.h
@date 2008-2009
@section intro What is Elementary?
BLAH BLAH Blah blah ...
@verbatim
Pants
@endverbatim
*/

View File

@ -0,0 +1,6 @@
</div>
<hr />
<p class="tiny">Copyright &copy; Enlightenment.org</p>
<p class="tiny">$projectname Documentation Generated: $datetime</p>
</body>
</html>

View File

@ -0,0 +1,46 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>$title</title>
<link href="e.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="t" width="50%" valign="top" align="left">
<table width="100px" height="100px" border="0" cellpadding="0" cellspacing="0">
<tr><td class="lnav"><a class="nav" href="http://web.enlightenment.org/p.php?p=index">Home</a></td></tr>
<tr><td class="lnav"><a class="nav" href="http://web.enlightenment.org/p.php?p=news">News</a></td></tr>
<tr><td class="lnav"><a class="nav" href="http://web.enlightenment.org/p.php?p=about">About</a></td></tr>
<tr><td class="rnav"><a class="nav" href="http://web.enlightenment.org/p.php?p=download">Download</a></td></tr>
</table>
</td>
<td class="tl" width="612" height="250" valign="bottom" align="center">
<img src="_.gif" width="612" height="1" />
<table border="0" cellpadding="0" cellspacing="4px">
<tr>
<td class='nav'><a class='nav' href="index.html">Main&nbsp;Page</a></td>
<td class='nav'><a class='nav' href="modules.html">Modules</a></td>
<td class='nav'><a class='nav' href="annotated.html">Data Structures</a></td>
<td class="nav"><a class="nav" href="Evas_8h.html">API Reference</a></td>
<td class="nav"><a class="nav" href="globals.html">Globals</a></td>
<td class="nav"><a class="nav" href="pages.html">Related Pages</a></td>
</tr>
</table>
<hr />
</td>
<td class="t" width="50%" valign="top" align="right">
<table width="100px" height="100px" border="0" cellpadding="0" cellspacing="0">
<tr><td class="rnav"><a class="nav" href="http://web.enlightenment.org/p.php?p=support">Support</a></td></tr>
<tr><td class="lnav"><a class="nav" href="http://web.enlightenment.org/p.php?p=contribute">Contribute</a></td></tr>
<tr><td class="lnav"><a class="nav" href="http://web.enlightenment.org/p.php?p=contact">Contact</a></td></tr>
<tr><td class="lnav"><a class="nav" href="http://trac.enlightenment.org/e">Tracker</a></td></tr>
</table>
</td>
</tr>
</table>
<div class="main">

Binary file not shown.

After

Width:  |  Height:  |  Size: 266 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

View File

@ -0,0 +1,149 @@
%!PS-Adobe-2.0 EPSF-2.0
%%Title: evas.eps
%%Creator: fig2dev Version 3.2 Patchlevel 3c
%%CreationDate: Wed Oct 23 16:18:00 2002
%%For: raster@dugong.fluffyspider.com.au (The Rasterman)
%%BoundingBox: 0 0 404 396
%%Magnification: 1.0000
%%EndComments
/$F2psDict 200 dict def
$F2psDict begin
$F2psDict /mtrx matrix put
/col-1 {0 setgray} bind def
/col0 {0.000 0.000 0.000 srgb} bind def
/col1 {0.000 0.000 1.000 srgb} bind def
/col2 {0.000 1.000 0.000 srgb} bind def
/col3 {0.000 1.000 1.000 srgb} bind def
/col4 {1.000 0.000 0.000 srgb} bind def
/col5 {1.000 0.000 1.000 srgb} bind def
/col6 {1.000 1.000 0.000 srgb} bind def
/col7 {1.000 1.000 1.000 srgb} bind def
/col8 {0.000 0.000 0.560 srgb} bind def
/col9 {0.000 0.000 0.690 srgb} bind def
/col10 {0.000 0.000 0.820 srgb} bind def
/col11 {0.530 0.810 1.000 srgb} bind def
/col12 {0.000 0.560 0.000 srgb} bind def
/col13 {0.000 0.690 0.000 srgb} bind def
/col14 {0.000 0.820 0.000 srgb} bind def
/col15 {0.000 0.560 0.560 srgb} bind def
/col16 {0.000 0.690 0.690 srgb} bind def
/col17 {0.000 0.820 0.820 srgb} bind def
/col18 {0.560 0.000 0.000 srgb} bind def
/col19 {0.690 0.000 0.000 srgb} bind def
/col20 {0.820 0.000 0.000 srgb} bind def
/col21 {0.560 0.000 0.560 srgb} bind def
/col22 {0.690 0.000 0.690 srgb} bind def
/col23 {0.820 0.000 0.820 srgb} bind def
/col24 {0.500 0.190 0.000 srgb} bind def
/col25 {0.630 0.250 0.000 srgb} bind def
/col26 {0.750 0.380 0.000 srgb} bind def
/col27 {1.000 0.500 0.500 srgb} bind def
/col28 {1.000 0.630 0.630 srgb} bind def
/col29 {1.000 0.750 0.750 srgb} bind def
/col30 {1.000 0.880 0.880 srgb} bind def
/col31 {1.000 0.840 0.000 srgb} bind def
end
save
newpath 0 396 moveto 0 0 lineto 404 0 lineto 404 396 lineto closepath clip newpath
-8.0 450.0 translate
1 -1 scale
/cp {closepath} bind def
/ef {eofill} bind def
/gr {grestore} bind def
/gs {gsave} bind def
/sa {save} bind def
/rs {restore} bind def
/l {lineto} bind def
/m {moveto} bind def
/rm {rmoveto} bind def
/n {newpath} bind def
/s {stroke} bind def
/sh {show} bind def
/slc {setlinecap} bind def
/slj {setlinejoin} bind def
/slw {setlinewidth} bind def
/srgb {setrgbcolor} bind def
/rot {rotate} bind def
/sc {scale} bind def
/sd {setdash} bind def
/ff {findfont} bind def
/sf {setfont} bind def
/scf {scalefont} bind def
/sw {stringwidth} bind def
/tr {translate} bind def
/tnt {dup dup currentrgbcolor
4 -2 roll dup 1 exch sub 3 -1 roll mul add
4 -2 roll dup 1 exch sub 3 -1 roll mul add
4 -2 roll dup 1 exch sub 3 -1 roll mul add srgb}
bind def
/shd {dup dup currentrgbcolor 4 -2 roll mul 4 -2 roll mul
4 -2 roll mul srgb} bind def
/DrawEllipse {
/endangle exch def
/startangle exch def
/yrad exch def
/xrad exch def
/y exch def
/x exch def
/savematrix mtrx currentmatrix def
x y tr xrad yrad sc 0 0 1 startangle endangle arc
closepath
savematrix setmatrix
} def
/$F2psBegin {$F2psDict begin /$F2psEnteredState save def} def
/$F2psEnd {$F2psEnteredState restore end} def
$F2psBegin
%%Page: 1 1
10 setmiterlimit
0.06000 0.06000 sc
%
% Fig objects follow
%
% Ellipse
n 3450 4200 3300 3300 0 360 DrawEllipse gs 0.00 setgray ef gr
% Ellipse
n 3825 4200 3000 3000 0 360 DrawEllipse gs col7 1.00 shd ef gr
% Ellipse
n 1725 4200 600 600 0 360 DrawEllipse gs 0.00 setgray ef gr
% Ellipse
n 6238 4200 600 600 0 360 DrawEllipse gs 0.00 setgray ef gr
% Rotated Ellipse
gs
3225 4200 tr
-90.000 rot
n 0 0 600 600 0 360 DrawEllipse 90.000 rot
gs 0.00 setgray ef gr gr
% Rotated Ellipse
gs
4725 4200 tr
-270.001 rot
n 0 0 600 600 0 360 DrawEllipse 270.001 rot
gs 0.00 setgray ef gr gr
% Rotated Ellipse
gs
3225 4132 tr
-90.000 rot
n 0 0 545 545 0 360 DrawEllipse 90.000 rot
gs col7 1.00 shd ef gr gr
% Rotated Ellipse
gs
4725 4268 tr
-270.001 rot
n 0 0 545 545 0 360 DrawEllipse 270.001 rot
gs col7 1.00 shd ef gr gr
% Arc
n 6306.0 4200.0 545.0 180.0 0.0 arc
6306.0 4200.0 l 5761.0 4200.0 l gs col7 1.00 shd ef gr
% Arc
n 6170.0 4200.0 545.0 180.0 0.0 arcn
6170.0 4200.0 l 5625.0 4200.0 l gs col7 1.00 shd ef gr
$F2psEnd
rs

View File

@ -0,0 +1,25 @@
#FIG 3.2
Landscape
Center
Inches
Letter
500.00
Single
-2
1200 2
6 150 900 6825 7500
1 4 0 0 0 0 48 0 20 0.000 1 0.0000 1725 4200 600 600 1125 4200 2325 4200
1 4 0 0 0 0 50 0 20 0.000 1 0.0000 3450 4200 3300 3300 150 4200 6750 4200
1 4 0 0 0 7 49 0 20 0.000 1 0.0000 3825 4200 3000 3000 825 4200 6825 4200
-6
6 5625 3600 6900 4800
6 5625 3600 6900 4800
5 2 0 0 0 7 30 0 20 0.000 0 0 0 0 6306.000 4200.000 5761 4200 6306 3655 6851 4200
5 2 0 0 0 7 30 0 20 0.000 0 1 0 0 6170.000 4200.000 5625 4200 6170 4745 6715 4200
-6
1 4 0 0 0 0 40 0 20 0.000 1 0.0000 6238 4200 600 600 5638 4200 6838 4200
-6
1 4 0 0 0 0 40 0 20 0.000 1 1.5708 3225 4200 600 600 3225 4800 3225 3600
1 4 0 0 0 7 39 0 20 0.000 1 1.5708 3225 4132 545 545 3225 4677 3225 3587
1 4 0 0 0 0 40 0 20 0.000 1 4.7124 4725 4200 600 600 4725 3600 4725 4800
1 4 0 0 0 7 39 0 20 0.000 1 4.7124 4725 4268 545 545 4725 3723 4725 4813

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 915 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 753 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 979 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 317 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

View File

@ -0,0 +1,98 @@
dnl Copyright (C) 2008 Vincent Torri <vtorri at univ-evry dot fr>
dnl That code is public domain and can be freely used or copied.
dnl Macro that check if doxygen is available or not.
dnl EFL_CHECK_DOXYGEN([ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
dnl Test for the doxygen program
dnl Defines efl_doxygen
dnl Defines the automake conditionnal EFL_BUILD_DOC
dnl
AC_DEFUN([EFL_CHECK_DOXYGEN],
[
dnl
dnl Disable the build of the documentation
dnl
AC_ARG_ENABLE([doc],
[AC_HELP_STRING(
[--disable-doc],
[Disable documentation build @<:@default=enabled@:>@])],
[
if test "x${enableval}" = "xyes" ; then
efl_enable_doc="yes"
else
efl_enable_doc="no"
fi
],
[efl_enable_doc="yes"]
)
if test "x${efl_enable_doc}" = "xyes" ; then
dnl
dnl Specify the full file name, with path
dnl
efl_doxygen="doxygen"
AC_ARG_WITH([doxygen],
[AC_HELP_STRING(
[--with-doxygen=FILE],
[doxygen program to use @<:@default=doxygen@:>@])],
dnl
dnl Check the given doxygen program.
dnl
[efl_doxygen=${withval}
AC_CHECK_PROG([efl_have_doxygen],
[${efl_doxygen}],
[yes],
[no])
if test "x${efl_have_doxygen}" = "xno" ; then
echo "WARNING:"
echo "The doxygen program you specified:"
echo "$efl_doxygen"
echo "was not found. Please check the path and make sure "
echo "the program exists and is executable."
AC_MSG_WARN([Warning: no doxygen detected. Documentation will not be built])
fi
],
[AC_CHECK_PROG([efl_have_doxygen],
[${efl_doxygen}],
[yes],
[no])
if test "x${efl_have_doxygen}" = "xno" ; then
echo "WARNING:"
echo "The doxygen program was not found in your execute"
echo "You may have doxygen installed somewhere not covered by your path."
echo ""
echo "If this is the case make sure you have the packages installed, AND"
echo "that the doxygen program is in your execute path (see your"
echo "shell manual page on setting the \$PATH environment variable), OR"
echo "alternatively, specify the program to use with --with-doxygen."
AC_MSG_WARN([Warning: no doxygen detected. Documentation will not be built])
fi
]
)
fi
dnl
dnl Substitution
dnl
AC_SUBST([efl_doxygen])
if ! test "x${efl_have_doxygen}" = "xyes" ; then
efl_enable_doc="no"
fi
AM_CONDITIONAL(EFL_BUILD_DOC, test "x${efl_enable_doc}" = "xyes")
if test "x${efl_enable_doc}" = "xyes" ; then
ifelse([$1], , :, [$1])
else
ifelse([$2], , :, [$2])
fi
])
dnl End of doxygen.m4

View File

@ -1621,11 +1621,20 @@ my_li2_clear(void *data, Evas_Object *obj, void *event_info)
elm_list_clear(data);
}
static void
my_li2_sel(void *data, Evas_Object *obj, void *event_info)
{
Elm_List_Item *it = elm_list_selected_item_get(obj);
elm_list_item_selected_set(it, 0);
// elm_list_item_selected_set(event_info, 0);
}
static void
my_bt_21(void *data, Evas_Object *obj, void *event_info)
{
Evas_Object *win, *bg, *li, *ic, *ic2, *bx, *bx2, *bt;
char buf[PATH_MAX];
Elm_List_Item *it;
win = elm_win_add(NULL, "list-2", ELM_WIN_BASIC);
elm_win_title_set(win, "List 2");
@ -1647,12 +1656,13 @@ my_bt_21(void *data, Evas_Object *obj, void *event_info)
evas_object_size_hint_align_set(li, -1.0, -1.0);
evas_object_size_hint_weight_set(li, 1.0, 1.0);
elm_list_horizontal_mode_set(li, ELM_LIST_LIMIT);
elm_list_multi_select_set(li, 1);
// elm_list_multi_select_set(li, 1);
ic = elm_icon_add(win);
snprintf(buf, sizeof(buf), "%s/images/logo_small.png", PACKAGE_DATA_DIR);
elm_icon_file_set(ic, buf, NULL);
elm_list_item_append(li, "Hello", ic, NULL, NULL, NULL);
it = elm_list_item_append(li, "Hello", ic, NULL, my_li2_sel, NULL);
elm_list_item_selected_set(it, 1);
ic = elm_icon_add(win);
snprintf(buf, sizeof(buf), "%s/images/logo_small.png", PACKAGE_DATA_DIR);
elm_icon_scale_set(ic, 0, 0);
@ -1689,7 +1699,7 @@ my_bt_21(void *data, Evas_Object *obj, void *event_info)
evas_object_size_hint_align_set(ic, 0.5, 0.0);
elm_box_pack_end(bx2, ic);
evas_object_show(ic);
elm_list_item_append(li, "are", bx2, NULL, NULL, NULL);
elm_list_item_append(li, "are", bx2, NULL, NULL, NULL);
elm_list_item_append(li, "you", NULL, NULL, NULL, NULL);
elm_list_item_append(li, "doing", NULL, NULL, NULL, NULL);

View File

@ -1333,6 +1333,7 @@ elm_genlist_item_selected_set(Elm_Genlist_Item *it, Evas_Bool selected)
while (wd->selected)
_item_unselect(wd->selected->data);
}
_item_hilight(it);
_item_select(it);
}
else

View File

@ -219,7 +219,7 @@ _mouse_up(void *data, Evas *evas, Evas_Object *obj, void *event_info)
if (!it->selected)
{
while (wd->selected)
_item_unselect(wd->selected->data);
_item_unselect(wd->selected->data);
_item_select(it);
}
else
@ -371,6 +371,16 @@ _fix_items(Evas_Object *obj)
evas_object_size_hint_min_set(it->base, mw, mh);
evas_object_show(it->base);
}
if ((it->selected) || (it->hilighted))
{
const char *selectraise;
edje_object_signal_emit(it->base, "elm,state,selected", "elm");
selectraise = edje_object_data_get(it->base, "selectraise");
if ((selectraise) && (!strcmp(selectraise, "on")))
evas_object_raise(it->base);
stacking = edje_object_data_get(it->base, "stacking");
}
it->fixed = 1;
it->is_even = it->even;
}
@ -552,8 +562,9 @@ elm_list_item_selected_set(Elm_List_Item *it, Evas_Bool selected)
if (!wd->multi)
{
while (wd->selected)
_item_unselect(wd->selected->data);
_item_unselect(wd->selected->data);
}
_item_hilight(it);
_item_select(it);
}
else