Compare commits

...

4 Commits

Author SHA1 Message Date
ChunEon Park e31b0eeb73 Revert "lib/enventor: Use correct Eolian namespace syntax."
This reverts commit d27216193e.
2015-06-24 16:02:42 +09:00
ChunEon Park 2bae53cbc5 Revert "lib/enventor: Use the new Eolian property syntax."
This reverts commit d66139a1aa.
2015-06-24 15:59:59 +09:00
ChunEon Park 7cf5c822ce Revert "eo: sync with eolian syntax changes."
This reverts commit a81a0d23ee.
2015-06-24 15:59:45 +09:00
ChunEon Park db63cc7736 updatd command line help message. 2015-06-24 15:50:47 +09:00
3 changed files with 247 additions and 247 deletions

View File

@ -7,12 +7,12 @@ typedef struct statusbar_s stats_data;
#define ENVENTOR_HELP_EXAMPLES \
"Examples of Enventor command line usage:\n \
$ enventor\n \
$ enventor --to\n \
$ enventor newfile.edc --to\n \
$ enventor sample.edc output.edj --id ./images --sd ./sounds\n"
$ enventor -t\n \
$ enventor newfile.edc -t\n \
$ enventor sample.edc output.edj -i ./images -s ./sounds\n"
#define ENVENTOR_USAGE \
"%prog [input file] [output file] [--to] [--id image path] [--sd sound path] [--fd font path] [--dd data path]"
"%prog [input file] [output file] [-t] [-i image path] [-s sound path] [-f font path] [-d data path]"
#define ENVENTOR_INFO \
"This is an EDC editor with some convenient functions.\n \

View File

@ -1,206 +1,208 @@
class Enventor.Object (Elm.Widget, Efl.File) {
class Enventor.Object (Elm_Widget, Efl.File) {
eo_prefix: enventor_obj;
properties {
part_highlight {
set {
/*@
@brief
@warning
@see
@ingroup Enventor */
}
get {
/*@
@brief
@return
@warning
@see
@ingroup Enventor */
}
values {
Eina_Bool part_highlight; /*@ ... */
}
}
live_view_scale {
set {
/*@
@brief
@warning
@see
@ingroup Enventor */
}
get {
/*@
@brief
@return
@warning
@see
@ingroup Enventor */
}
values {
double scale; /*@ ... */
}
}
dummy_swallow {
set {
/*@
@brief
@warning
@see
@ingroup Enventor */
}
get {
/*@
@brief
@return
@warning
@see
@ingroup Enventor */
}
values {
Eina_Bool dummy_swallow; /*@ ... */
}
}
auto_complete {
set {
/*@
@brief
@warning
@see
@ingroup Enventor */
}
get {
/*@
@brief
@return
@warning
@see
@ingroup Enventor */
}
values {
Eina_Bool auto_complete; /*@ ... */
}
}
auto_indent {
set {
/*@
@brief
@warning
@see
@ingroup Enventor */
}
get {
/*@
@brief
@return
@warning
@see
@ingroup Enventor */
}
values {
Eina_Bool auto_indent; /*@ ... */
}
}
ctxpopup {
set {
/*@
@brief
@warning
@see
@ingroup Enventor */
}
get {
/*@
@brief
@return
@warning
@see
@ingroup Enventor */
}
values {
Eina_Bool ctxpopup; /*@ ... */
}
}
focus {
set {
/*@
@brief
@warning
@see
@ingroup Enventor */
}
get {
/*@
@brief
@return
@warning
@see
@ingroup Enventor */
}
values {
Eina_Bool focus; /*@ ... */
}
}
modified {
set {
/*@
@brief
@warning
@see
@ingroup Enventor */
}
get {
/*@
@brief
@return
@warning
@see
@ingroup Enventor */
}
values {
Eina_Bool modified; /*@ ... */
}
}
font_scale {
set {
/*@
@brief
@warning
@see
@ingroup Enventor */
}
get {
/*@
@brief
@return
@warning
@see
@ingroup Enventor */
}
values {
double font_scale; /*@ ... */
}
}
linenumber {
set {
/*@
@brief
@warning
@see
@ingroup Enventor */
}
get {
/*@
@brief
@return
@warning
@see
@ingroup Enventor */
}
values {
bool linenumber; /*@ ... */
}
}
}
methods {
@property part_highlight {
set {
/*@
@brief
@warning
@see
@ingroup Enventor */
}
get {
/*@
@brief
@return
@warning
@see
@ingroup Enventor */
}
values {
part_highlight: bool; /*@ ... */
}
}
@property live_view_scale {
set {
/*@
@brief
@warning
@see
@ingroup Enventor */
}
get {
/*@
@brief
@return
@warning
@see
@ingroup Enventor */
}
values {
scale: double; /*@ ... */
}
}
@property dummy_swallow {
set {
/*@
@brief
@warning
@see
@ingroup Enventor */
}
get {
/*@
@brief
@return
@warning
@see
@ingroup Enventor */
}
values {
dummy_swallow: bool; /*@ ... */
}
}
@property auto_complete {
set {
/*@
@brief
@warning
@see
@ingroup Enventor */
}
get {
/*@
@brief
@return
@warning
@see
@ingroup Enventor */
}
values {
auto_complete: bool; /*@ ... */
}
}
@property auto_indent {
set {
/*@
@brief
@warning
@see
@ingroup Enventor */
}
get {
/*@
@brief
@return
@warning
@see
@ingroup Enventor */
}
values {
auto_indent: bool; /*@ ... */
}
}
@property ctxpopup {
set {
/*@
@brief
@warning
@see
@ingroup Enventor */
}
get {
/*@
@brief
@return
@warning
@see
@ingroup Enventor */
}
values {
ctxpopup: bool; /*@ ... */
}
}
@property focus {
set {
/*@
@brief
@warning
@see
@ingroup Enventor */
}
get {
/*@
@brief
@return
@warning
@see
@ingroup Enventor */
}
values {
focus: bool; /*@ ... */
}
}
@property modified {
set {
/*@
@brief
@warning
@see
@ingroup Enventor */
}
get {
/*@
@brief
@return
@warning
@see
@ingroup Enventor */
}
values {
modified: bool; /*@ ... */
}
}
@property font_scale {
set {
/*@
@brief
@warning
@see
@ingroup Enventor */
}
get {
/*@
@brief
@return
@warning
@see
@ingroup Enventor */
}
values {
font_scale: double; /*@ ... */
}
}
@property linenumber {
set {
/*@
@brief
@warning
@see
@ingroup Enventor */
}
get {
/*@
@brief
@return
@warning
@see
@ingroup Enventor */
}
values {
linenumber: bool; /*@ ... */
}
}
path_set {
/*@
@brief
@ -210,8 +212,8 @@ class Enventor.Object (Elm.Widget, Efl.File) {
@ingroup Enventor */
return: Eina_Bool;
params {
@in type: Enventor_Path_Type; /*@ ... */
@in pathes: const(Eina_List) *; /*@ ... */
@in Enventor_Path_Type type; /*@ ... */
@in const(Eina_List) *pathes; /*@ ... */
}
}
path_get {
@ -223,7 +225,7 @@ class Enventor.Object (Elm.Widget, Efl.File) {
@ingroup Enventor */
return: const(Eina_List) *;
params {
@in type: Enventor_Path_Type; /*@ ... */
@in Enventor_Path_Type type; /*@ ... */
}
}
max_line_get {
@ -251,7 +253,7 @@ class Enventor.Object (Elm.Widget, Efl.File) {
@see
@ingroup Enventor */
params {
@in text: const(char) *; /*@ ... */
@in const(char) *text; /*@ ... */
}
}
selection_get {
@ -280,7 +282,7 @@ class Enventor.Object (Elm.Widget, Efl.File) {
@see
@ingroup Enventor */
params {
@in position: int; /*@ ... */
@in int position; /*@ ... */
}
}
select_none {
@ -297,8 +299,8 @@ class Enventor.Object (Elm.Widget, Efl.File) {
@see
@ingroup Enventor */
params {
@in start: int; /*@ ... */
@in end: int; /*@ ... */
@in int start; /*@ ... */
@in int end; /*@ ... */
}
}
line_delete {
@ -315,9 +317,9 @@ class Enventor.Object (Elm.Widget, Efl.File) {
@warning
@see
@ingroup Enventor */
return: bool;
return: Eina_Bool;
params {
@in file: const(char) *; /*@ ... */
@in const(char) *file; /*@ ... */
}
}
live_view_get {
@ -335,7 +337,7 @@ class Enventor.Object (Elm.Widget, Efl.File) {
@see
@ingroup Enventor */
params {
@in line: int; /*@ ... */
@in int line; /*@ ... */
}
}
syntax_color_set {
@ -345,8 +347,8 @@ class Enventor.Object (Elm.Widget, Efl.File) {
@see
@ingroup Enventor */
params {
@in color_type: Enventor_Syntax_Color_Type; /*@ ... */
@in val: const(char) *; /*@ ... */
@in Enventor_Syntax_Color_Type color_type; /*@ ... */
@in const(char) *val; /*@ ... */
}
}
syntax_color_get {
@ -358,7 +360,7 @@ class Enventor.Object (Elm.Widget, Efl.File) {
@ingroup Enventor */
return: const(char) *;
params {
@in color_type: Enventor_Syntax_Color_Type; /*@ ... */
@in Enventor_Syntax_Color_Type color_type; /*@ ... */
}
}
syntax_color_full_apply {
@ -368,7 +370,7 @@ class Enventor.Object (Elm.Widget, Efl.File) {
@see
@ingroup Enventor */
params {
@in force: bool; /*@ ... */
@in Eina_Bool force; /*@ ... */
}
}
syntax_color_partial_apply {
@ -378,7 +380,7 @@ class Enventor.Object (Elm.Widget, Efl.File) {
@see
@ingroup Enventor */
params {
@in interval: double; /*@ ... */
@in double interval; /*@ ... */
}
}
template_insert {
@ -390,9 +392,9 @@ class Enventor.Object (Elm.Widget, Efl.File) {
@ingroup Enventor */
return: Eina_Bool;
params {
@in insert_type: Enventor_Template_Insert_Type; /*@ ... */
@in syntax: char *; /*@ ... */
@in n: size_t;
@in Enventor_Template_Insert_Type insert_type; /*@ ... */
@in char *syntax; /*@ ... */
@in size_t n;
}
}
template_part_insert {
@ -404,14 +406,14 @@ class Enventor.Object (Elm.Widget, Efl.File) {
@ingroup Enventor */
return: Eina_Bool;
params {
@in type: Edje_Part_Type; /*@ ... */
@in insert_type: Enventor_Template_Insert_Type; /*@ ... */
@in rel1_x: float; /*@ ... */
@in rel1_y: float; /*@ ... */
@in rel2_x: float; /*@ ... */
@in rel2_y: float; /*@ ... */
@in syntax: char *; /*@ ... */
@in n: size_t;
@in Edje_Part_Type type; /*@ ... */
@in Enventor_Template_Insert_Type insert_type; /*@ ... */
@in float rel1_x; /*@ ... */
@in float rel1_y; /*@ ... */
@in float rel2_x; /*@ ... */
@in float rel2_y; /*@ ... */
@in char *syntax; /*@ ... */
@in size_t n;
}
}
ctxpopup_visible_get {
@ -420,7 +422,7 @@ class Enventor.Object (Elm.Widget, Efl.File) {
@warning
@see
@ingroup Enventor */
return: bool;
return: Eina_Bool;
}
ctxpopup_dismiss {
/*@
@ -436,7 +438,7 @@ class Enventor.Object (Elm.Widget, Efl.File) {
@see
@ingroup Enventor */
params {
@in disabled: bool; /*@ ... */
@in Eina_Bool disabled; /*@ ... */
}
}
live_view_size_set {
@ -446,8 +448,8 @@ class Enventor.Object (Elm.Widget, Efl.File) {
@see
@ingroup Enventor */
params {
@in w: Evas_Coord; /*@ ... */
@in h: Evas_Coord; /*@ ... */
@in Evas_Coord w; /*@ ... */
@in Evas_Coord h; /*@ ... */
}
}
live_view_size_get {
@ -457,8 +459,8 @@ class Enventor.Object (Elm.Widget, Efl.File) {
@see
@ingroup Enventor */
params {
@in w: Evas_Coord *; /*@ ... */
@in h: Evas_Coord *; /*@ ... */
@in Evas_Coord *w; /*@ ... */
@in Evas_Coord *h; /*@ ... */
}
}
redo {
@ -468,7 +470,7 @@ class Enventor.Object (Elm.Widget, Efl.File) {
@warning
@see
@ingroup Enventor */
return: bool;
return: Eina_Bool;
}
undo {
/*@
@ -477,7 +479,7 @@ class Enventor.Object (Elm.Widget, Efl.File) {
@warning
@see
@ingroup Enventor */
return: bool;
return: Eina_Bool;
}
font_set {
/*@
@ -486,8 +488,8 @@ class Enventor.Object (Elm.Widget, Efl.File) {
@see
@ingroup Enventor */
params {
@in font_name: const(char) *; /*@ ... */
@in font_style: const(char) *; /*@ ... */
@in const(char) *font_name; /*@ ... */
@in const(char) *font_style; /*@ ... */
}
}
font_get {
@ -497,8 +499,8 @@ class Enventor.Object (Elm.Widget, Efl.File) {
@see
@ingroup Enventor */
params {
@in font_name: const(char) **; /*@ ... */
@in font_style: const(char) **; /*@ ... */
@in const(char) **font_name; /*@ ... */
@in const(char) **font_style; /*@ ... */
}
}
auto_complete_list_show {

View File

@ -223,16 +223,14 @@ _enventor_object_evas_object_smart_clip_unset(Evas_Object *obj EINA_UNUSED, Enve
evas_object_clip_unset(o);
}
EOLIAN static Eo *
EOLIAN static void
_enventor_object_eo_base_constructor(Eo *obj,
Enventor_Object_Data *pd EINA_UNUSED)
{
obj = eo_do_super_ret(obj, MY_CLASS, obj, eo_constructor());
eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME_LEGACY),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks));
return obj;
}
EOLIAN static Eina_Bool