Commit 19d7404e authored by adud's avatar adud

added some instructions for Nodes

parent 7e812cfb
......@@ -4,6 +4,37 @@ Godot Nodes organization for the sign editor
The most important node, contains the whole text, shown as a signSymb list.
Its role is to organize signSymbs in a grid to handle with line breaks.
It must also have a scroll, for too long texts.
** Attributes:
*** margins
*** Style
*** Text: signSymb array
*** Cursor
*** Marker
*** Clipboard
** Methods:
*** Update: Keep data sync with picture
*** Classic array operations, but at the place of the cursor (WIP)
*** Align: convert x,y coordinates into index in sheet.
*** MoveElement: (principally for Cursor) convert Index into x,y
* Node: Control panel
Top-bar, to control text
** Node: action button
A simple button, for doing a simple task (save, undo...), or start a
more complex one (save as, search...)
* Node: menus (is it really a node ?)
The menubar of the application
* Node: SheetElements
** Attributes:
*** fontSize (depends on the font size)
*** pos (x,y)
*** textPos: int index in the Text
** Methods:
*** getters, setters, to help the workSpace being sync in whole text
** Node: signSymb
a symbol that represents a sign, to recall the user what it has written into
this sign. This symbol can have many styles. A style can include a shot and
......@@ -15,19 +46,5 @@ Godot Nodes organization for the sign editor
Special nodes, don't contain a sign, but indicates a break between two
entities. eg. a point, to pull 2 sentences apart, or a paragraph break. Note
that this one don't need to be a node, and can be invisible (¶).
** Node: marker
A second cursor in text, used to cut-copy.
** Node: cursor
Used to navigate between signs without the mouse.
** Requirements:
*** How to handle arbitrarily large number of subnodes in Godot?
*** How to modify "on the fly" (while running the app) values of all instances
(eg. modifying the size of the nodes, modifying their style)
* Node: Control panel
Top-bar, to control text
** Node: action button
A simple button, for doing a simple task (save, undo...), or start a
more complex one (save as, search...)
* Node: menus (is it really a node ?)
The menubar of the application
Used to navigate between signs without mouse & keyboard
......@@ -22,7 +22,7 @@
**** Virtual Keyboard
Actually working on it in the interface, we also need to determine a
mapping (ideally this mapping could be modified by the user, but let's
do it simply first)
do it simply first). See `keymap.txt`
* Input
** Be consistent with `parameters.tex`
It is important that neither I (Antonin) nor Chloé do this, this will be a
......@@ -32,7 +32,7 @@
*** Delete Body_reference_part
*** Do something with `Type`
*** Orientation changed a lot
*** Renaming, to have concise name
*** DONE Renaming, to have concise name
*** place is lowercase
* Hands
** Redo the rotation of hands
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment