...
 
Commits (2)
......@@ -9,9 +9,13 @@ commit will..."
## Coding Style
The program is written in Godot's scripting language GDScript. We follow here
the
[style guide](https://docs.godotengine.org/en/latest/getting_started/\scripting/gdscript/gdscript_styleguide.html)
described in Godot Documentation.
the [style guide] described in Godot Documentation.
When creating a class or a function, describe it in the API chapter of the documentation
The API follows the same style as [Godot API](https://docs.godotengine.org/en/latest/classes/index.html)
## API
When creating a class or a function, describe it in the API chapter of the
documentation. Use the object description directives. If you are doing a scene
prefix the name with `class-` and use lowercase and separate words with `-`.
Do not forget to indicate signals.
[style guide]: https://docs.godotengine.org/en/latest/getting_started/scripting/gdscript/gdscript_styleguide.html
.. _WorkSpace:
===========
WorkSpace
===========
Inherits from the Container class.
-----------------
Brief Description
-----------------
Container used to prompt the speech in a text-editor way.
----------
Properties
----------
.. class:: WorkSpace
.. _class_WorkSpace_prop_sep:
A WorkSpace, to display and edit signed speech.
.. attribute:: sep(Vector2)
* Vector2 **sep**
The size of the horizontal and vertical separators between signs.
This attribute is a script variable.
The sizes in pixel of the horizontal and vertical separators between two
words.
.. attribute:: text(signs Array)
The signed speech, stored in one single array (like strings).
.. _class_WorkSpace_prop_text:
.. todo:: Should be accessed through functions.
* Array **text**
.. function:: dispose_childs()
The signs of the speech in a big "string".
Draw all signs in the speech
......@@ -7,5 +7,8 @@
margin_right = 620.0
margin_bottom = 480.0
script = ExtResource( 1 )
__meta__ = {
"_edit_group_": true
}
SignSymb = ExtResource( 2 )