428 lines
13 KiB
Plaintext
428 lines
13 KiB
Plaintext
# format=pipe
|
|
#
|
|
# Edje EDC tags for autocomplate & help-tooltip for Geany
|
|
#
|
|
# Note: actually the properties help string only show when you type "("
|
|
# so you need to type "image(" to show the help
|
|
#
|
|
# Usage: copy this file to "~/.config/geany/tags/" folder (or just link it).
|
|
#
|
|
# Format:
|
|
# tag_name||: [param1] [param2]... |
|
|
# or:
|
|
# tag_name||disambiguation: [param1] [param2]... |
|
|
#
|
|
#
|
|
# Strangness:
|
|
# * "alias" help do not work
|
|
# * "limits" autocomp do not work
|
|
# * "params" autocomp do not work
|
|
# * "params.bool" help do not work
|
|
# * "map.center" autocomp do not work
|
|
# * "part.type" autocomp/help do not work
|
|
# * "item.position" autocomp/help do not work
|
|
# * "part.repeat_events" autocomp is strange
|
|
#
|
|
###############################################################################
|
|
########### BLOCKS ##########################################################
|
|
collections
|
|
###############################################################################
|
|
########### EXTERNALS #######################################################
|
|
externals
|
|
external||: "ext name"|
|
|
###############################################################################
|
|
########### fonts ###########################################################
|
|
fonts
|
|
font||fonts.font: "font file" "font alias"|
|
|
###############################################################################
|
|
########### DATA ############################################################
|
|
data
|
|
item||: "key" "value"|
|
|
file||: "key" "filename.ext"|
|
|
###############################################################################
|
|
########### COLLECTIONS #####################################################
|
|
base_scale||: [scale val]|
|
|
###############################################################################
|
|
########### images.image ####################################################
|
|
images
|
|
image||: [file name] [ RAW / COMP / LOSSY / LOSSY_ETC1 / LOSSY_ETC2 / USER ] (comp level)|
|
|
RAW
|
|
COMP
|
|
LOSSY
|
|
LOSSY_ETC1
|
|
LOSSY_ETC2
|
|
USER
|
|
border||: [left] [right] [top [bottom]|
|
|
border_scale_by||: [0.0 or bigger]
|
|
size||: [minw] [minh] [maxw] [maxh]|
|
|
###############################################################################
|
|
########### COLORS ##########################################################
|
|
color_class
|
|
color_classes
|
|
color||: [red] [green] [blue] [alpha]|
|
|
color2||: [red] [green] [blue] [alpha]|
|
|
color3||: [red] [green] [blue] [alpha]|
|
|
###############################################################################
|
|
########### TEXT STYLES #####################################################
|
|
styles
|
|
style
|
|
base||: [style properties string]|
|
|
tag||: [tag name] [style properties string]|
|
|
###############################################################################
|
|
########### SOUNDS ##########################################################
|
|
sounds
|
|
vibrations
|
|
sample
|
|
tone||: [tone name] [frequency]|
|
|
name||sounds.sample.name: [sample name] [compression type] (quality)
|
|
###############################################################################
|
|
########### GROUP ###########################################################
|
|
inherit||group.inherit: [parent group name]|
|
|
inherit_only||: [1 or 0]|
|
|
target_group||: [name] [part/program1] [part/program2] ...|
|
|
script_only||: [on/off]|
|
|
script_recursion||: [1/0]
|
|
alias||: [additional name]|
|
|
min||: [width] [height]|
|
|
max||: [width] [height]|
|
|
broadcast_signal||: [on/off]|
|
|
orientation||: [ AUTO / LTR / RTL ]|
|
|
AUTO
|
|
LTR
|
|
RTL
|
|
program_source||: [source name]|
|
|
###############################################################################
|
|
########### GROUP.LIMITS ####################################################
|
|
limits
|
|
vertical||: [name] [height barrier]|
|
|
horizontal||: [name] [width barrier]|
|
|
###############################################################################
|
|
########### PART ############################################################
|
|
parts
|
|
part
|
|
name||part.name: [part name]|
|
|
type||: [ RECT / TEXT / IMAGE / SWALLOW / TEXTBLOCK / GROUP / BOX / TABLE / EXTERNAL / PROXY / SPACER ]|
|
|
NONE
|
|
RECT
|
|
TEXT
|
|
IMAGE
|
|
SWALLOW
|
|
TEXTBLOCK
|
|
GROUP
|
|
BOX
|
|
TABLE
|
|
EXTERNAL
|
|
PROXY
|
|
SPACER
|
|
mouse_events||: [1 or 0]|
|
|
repeat_events||: [1 or 0]|
|
|
scale||: [1 or 0]|
|
|
inherit||part.inherit: [part name]|
|
|
pointer_mode||: [ AUTOGRAB / NOGRAB ]|
|
|
AUTOGRAB
|
|
NOGRAB
|
|
precise_is_inside||: [1 or 0]|
|
|
use_alternate_font_metrics||: [1 or 0]|
|
|
program_remove||: [program name] [program name] [program name] ...|
|
|
part_remove||: [part name] [part name] [part name] ...|
|
|
physics_body||: [ NONE / RIGID_BOX / RIGID_SPHERE / RIGID_CYLINDER / SOFT_BOX / SOFT_SPHERE / SOFT_CYLINDER / CLOTH / BOUNDARY_TOP / BOUNDARY_BOTTOM / BOUNDARY_RIGHT / BOUNDARY_LEFT / BOUNDARY_FRONT / BOUNDARY_BACK ]
|
|
NONE
|
|
RIGID_BOX
|
|
RIGID_SPHERE
|
|
RIGID_CYLINDER
|
|
SOFT_BOX
|
|
SOFT_SPHERE
|
|
SOFT_CYLINDER
|
|
CLOTH
|
|
BOUNDARY_TOP
|
|
BOUNDARY_BOTTOM
|
|
BOUNDARY_RIGHT
|
|
BOUNDARY_LEFT
|
|
BOUNDARY_FRONT
|
|
BOUNDARY_BACK
|
|
insert_before||: [another part's name]|
|
|
insert_after||: [another part's name]|
|
|
ignore_flags||: [FLAG] ... (flag can be NONE or ON_HOLD)|
|
|
NONE
|
|
ON_HOLD
|
|
clip_to||: [another part's name]|
|
|
source||: [another group's name]|
|
|
source2||: [another group's name]|
|
|
source3||: [another group's name]|
|
|
source4||: [another group's name]|
|
|
source5||: [another group's name]|
|
|
source6||: [another group's name]|
|
|
effect||: [ PLAIN / OUTLINE / SOFT_OUTLINE / SHADOW / SOFT_SHADOW / OUTLINE_SHADOW / OUTLINE_SOFT_SHADOW / FAR_SHADOW / FAR_SOFT_SHADOW / GLOW ] (DIRECTION)
|
|
NONE
|
|
PLAIN
|
|
OUTLINE
|
|
SOFT_OUTLINE
|
|
SHADOW
|
|
SOFT_SHADOW
|
|
OUTLINE_SHADOW
|
|
OUTLINE_SOFT_SHADOW
|
|
FAR_SHADOW
|
|
FAR_SOFT_SHADOW
|
|
GLOW
|
|
#part_effect (param2)
|
|
BOTTOM_RIGHT
|
|
BOTTOM
|
|
BOTTOM_LEFT
|
|
LEFT
|
|
TOP_LEFT
|
|
TOP
|
|
TOP_RIGHT
|
|
RIGHT
|
|
entry_mode||: [ NONE / PLAIN / EDITABLE / PASSWORD ]|ù
|
|
NONE
|
|
PLAIN
|
|
EDITABLE
|
|
PASSWORD
|
|
select_mode||: [ DEFAULT / EXPLICIT ]|
|
|
DEFAULT
|
|
EXPLICIT
|
|
cursor_mode||: [ UNDER / BEFORE ]|
|
|
UNDER
|
|
BEFORE
|
|
multiline||: [1 or 0]|
|
|
access||: [1 or 0]|
|
|
###############################################################################
|
|
########### DESCRIPTION #####################################################
|
|
description
|
|
inherit||description.inherit: [another desc name] [another desc index]|
|
|
state||: [name] [index]|
|
|
visible||: [0 or 1]|
|
|
limit||: [ NONE / WIDTH / HEIGHT / BOTH ]|
|
|
NONE
|
|
WIDTH
|
|
HEIGHT
|
|
BOTH
|
|
align||: [X axis] [Y axis]|
|
|
fixed||: [width] [height]|
|
|
color_class||description.color_class: [color class name]|
|
|
minmul||: [width multipler] [height multiplier]|
|
|
step||: step [width] [height]|
|
|
aspect||: [min] [max]|
|
|
aspect_preference||: [ NONE / BOTH / VERTICAL / HORIZONTAL / SOURCE ]|
|
|
NONE
|
|
VERTICAL
|
|
HORIZONTAL
|
|
BOTH
|
|
SOURCE
|
|
rel1
|
|
rel2
|
|
relative||: [X axis] [Y axis]|
|
|
offset||: [X axis] [Y axis]|
|
|
to||: [another part name]|
|
|
to_x||: [another part name]|
|
|
to_y||: [another part name]|
|
|
############# DESCRIPTION.IMAGE #############################################
|
|
normal||: [image filename]
|
|
tween||: [image filename]
|
|
border||image.border: [left] [right] [top] [bottom]|
|
|
middle||: [ NONE / DEFAULT / SOLID ]|
|
|
NONE
|
|
DEFAULT
|
|
SOLID
|
|
border_scale||: [ 1 / 0 ]|
|
|
border_scale_by||: [value]|
|
|
scale_hint||: [ 0 / NONE / DYNAMIC / STATIC ]|
|
|
NONE
|
|
DYNAMIC
|
|
STATIC
|
|
smooth||: [0 or 1]|
|
|
############# DESCRIPTION.TEXT ###############################################
|
|
text||text.text: [a string of text]|
|
|
font||text.font: [font alias]|
|
|
size||text.size: [font size in pt]|
|
|
size_range||: [font min size in points (pt)] [font max size in points (pt)]|
|
|
fit||: [horizontal] [vertical]|
|
|
min||text.min: [horizontal] [vertical]|
|
|
max||text.min: [horizontal] [vertical]|
|
|
align||text.align: [horizontal] [vertical]|
|
|
source||text.source: [another TEXT part's name]|
|
|
text_source||: [another TEXT part's name]|
|
|
ellipsis||: [point of balance]|
|
|
filter||: [filter program as a string]|
|
|
text_class||: [class name]|
|
|
color_class||part.color_class:
|
|
repch||: [the replacement character string]|
|
|
type||image.fill.type: [ SCALE / TILE ]
|
|
SCALE
|
|
TILE
|
|
###############################################################################
|
|
########### DRAGABLE ########################################################
|
|
dragable
|
|
x||: [enable/disable] [step] [count]|
|
|
y||: [enable/disable] [step] [count]|
|
|
confine||: [another part's name]|
|
|
threshold||: [another part's name]|
|
|
events||: [another dragable part's name]|
|
|
###############################################################################
|
|
########### BOX/TABLE #######################################################
|
|
layout||: [ horizontal / vertical / horizontal_homogeneous / vertical_homogeneou / horizontal_max / vertical_max / horizontal_flow / vertical_flow / stack / custom ]|
|
|
homogeneous||: [ NONE / TABLE / ITEM ]|
|
|
NONE
|
|
TABLE
|
|
ITEM
|
|
padding||box.pagging: [horizontal] [vertical]|
|
|
###############################################################################
|
|
########### BOX / TABLE ITEMS ###############################################
|
|
type||: [ GROUP ]|
|
|
GROUP
|
|
name||group.name: [name for the object]|
|
|
source||: [a group name]|
|
|
min||: [width] [height]|
|
|
max||: [width] [height]|
|
|
spread||: [width] [height]|
|
|
prefer||: [width] [height]|
|
|
padding||box.item.padding: [left] [right] [top] [bottom]|
|
|
align||box.item.align: [x] [y]
|
|
weight||: [x] [y]|
|
|
position||: [col] [row]|
|
|
span||: [col] [row]|
|
|
aspect||box.item.aspect: [w] [h]|
|
|
aspect_mode||: [NONE / NEITHER / HORIZONTAL / VERTICAL / BOTH ]|
|
|
NONE
|
|
NEITHER
|
|
HORIZONTAL
|
|
VERTICAL
|
|
BOTH
|
|
options||: [extra options]|
|
|
###############################################################################
|
|
########### PHYSICS #########################################################
|
|
physics
|
|
|
|
mass||: [body's mass in kilograms]|
|
|
restitution||: [body's restitution]|
|
|
friction||: [body's friction]|
|
|
ignore_part_pos||: [1 or 0]|
|
|
damping||: [linear damping] [angular damping]|
|
|
sleep||: [linear sleeping threshold] [angular sleeping threshold]|
|
|
material||: [ CUSTOM / CONCRETE / IRON / PLASTIC / POLYSTYRENE / RUBBER / WOOD ]|
|
|
CUSTOM
|
|
CONCRETE
|
|
IRON
|
|
PLASTIC
|
|
POLYSTYRENE
|
|
RUBBER
|
|
WOOD
|
|
density||: [body's material density]|
|
|
hardness||: [ 0.0 - 1.0 ]|
|
|
light_on||: [1 or 0]|
|
|
z||: [body position in z axis]|
|
|
depth||: [body's depth]|
|
|
backface_cull||: [1 or 0]|
|
|
movement_freedom
|
|
linear||: [x-axis (1/0)] [y-axis (1/0)] [z-axis (1/0)]
|
|
angular||: [x-axis (1/0)] [y-axis (1/0)] [z-axis (1/0)]
|
|
faces
|
|
face
|
|
type||physics.face.type: [ BOX_MIDDLE_FRONT / BOX_MIDDLE_BACK / BOX_FRONT / BOX_BACK / BOX_LEFT / BOX_RIGHT / BOX_TOP / BOX_BOTTOM / CLOTH_FRONT / CLOTH_BACK / CYLINDER_MIDDLE_FRONT / CYLINDER_MIDDLE_BACK / CYLINDER_FRONT / CYLINDER_BACK / CYLINDER_CURVED / SPHERE_FRONT / SPHERE_BACK ]|
|
|
BOX_MIDDLE_FRONT
|
|
BOX_MIDDLE_BACK
|
|
BOX_FRONT
|
|
BOX_BACK
|
|
BOX_LEFT
|
|
BOX_RIGHT
|
|
BOX_TOP
|
|
BOX_BOTTOM
|
|
CLOTH_FRONT
|
|
CLOTH_BACK
|
|
CYLINDER_MIDDLE_FRONT
|
|
CYLINDER_MIDDLE_BACK
|
|
CYLINDER_FRONT
|
|
CYLINDER_BACK
|
|
CYLINDER_CURVED
|
|
SPHERE_FRONT
|
|
SPHERE_BACK
|
|
###############################################################################
|
|
########### PHYSICS (WORLD) #################################################
|
|
gravity||: [x-axis] [y-axis] [z-axis]|
|
|
rate||: [rate pixels / meter]|
|
|
depth||: [depth in pixels]|
|
|
z||: [world's front border position]|
|
|
###############################################################################
|
|
########### MAP #############################################################
|
|
map
|
|
perspective||: [another part's name]|
|
|
light||: [another part's name]|
|
|
on||: [1 or 0]|
|
|
smooth||: [1 or 0]|
|
|
alpha||: [1 or 0]|
|
|
backface_cull||: [1 or 0]|
|
|
perspective_on||: [1 or 0]|
|
|
color||: [point] [red] [green] [blue] [alpha]|
|
|
rotation
|
|
center||: [another part's name]|
|
|
x||: [X degrees]|
|
|
y||: [Y degrees]|
|
|
z||: [Z degrees]|
|
|
zplane||: [unscaled Z value]|
|
|
focal||: [distance]|
|
|
###############################################################################
|
|
########### EXTENAL PARAMS ##################################################
|
|
params
|
|
int||: [param_name] [int_value]|
|
|
double||: [param_name] [double_value]|
|
|
string||: [param_name] [string_value]|
|
|
bool||: [param_name] [bool_value]|
|
|
choice||: [param_name] [choice_string]|
|
|
###############################################################################
|
|
########### PROGRAMS ########################################################
|
|
programs
|
|
program
|
|
name||program.name: [program name]|
|
|
signal||: [signal name]|
|
|
source||: [source name]|
|
|
filter||: [part] [state]|
|
|
in||: [from] [range]|
|
|
action||: [ STATE_SET / ACTION_STOP / SIGNAL_EMIT / ... ] (param1) (param2) (param3) (param4)|
|
|
STATE_SET
|
|
ACTION_STOP
|
|
SIGNAL_EMIT
|
|
DRAG_VAL_SET
|
|
DRAG_VAL_STEP
|
|
DRAG_VAL_PAGE
|
|
SCRIPT
|
|
FOCUS_SET
|
|
FOCUS_OBJECT
|
|
PARAM_COPY
|
|
PARAM_SET
|
|
PLAY_SAMPLE
|
|
PLAY_TONE
|
|
PHYSICS_IMPULSE
|
|
PHYSICS_TORQUE_IMPULSE
|
|
PHYSICS_FORCE
|
|
PHYSICS_TORQUE
|
|
PHYSICS_FORCES_CLEAR
|
|
PHYSICS_VEL_SET
|
|
PHYSICS_ANG_VEL_SET
|
|
PHYSICS_STOP
|
|
PHYSICS_ROT_SET
|
|
PLAY_VIBRATION
|
|
#### PLAY_SAMPLE channel
|
|
EFFECT
|
|
BACKGROUND
|
|
MUSIC
|
|
FOREGROUND
|
|
INTERFACE
|
|
INPUT
|
|
ALERT
|
|
transition||: [ LIN / SIN / SIN_FAC / ACCEL / DECEL / ACCEL_FAC / DECEL_FAC / DIVIS / BOUNCE / SPRING ] [length] (interp val 1) (interp val 2) (CURRENT)|
|
|
LINEAR
|
|
SINUSOIDAL
|
|
CUBIC_BEZIER
|
|
ACCELERATE
|
|
DECELERATE
|
|
ACCELERATE_FACTOR
|
|
DECELERATE_FACTOR
|
|
SINUSOIDAL_FACTOR
|
|
DIVISOR_INTERP
|
|
BOUNCE
|
|
SPRING
|
|
target||: [target part or program]|
|
|
target_groups||: [group] (group) (group)|
|
|
after||: [ another program ]|
|
|
api||: [name] [description]|
|