summaryrefslogtreecommitdiffstats
path: root/logo/README
blob: 932e836829c2590aa657fd54175557b6a900d117 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Developper's corner

1) To add a language
- class Logo
   Update translationLanguage 
   			new String[10]
   			generateLanguage()
   			
   Update englishLanguage
   Update locales
   Update getLocale()

- Config.java public static LANGUAGE_.... 

- Image Flag: 
	size:150x100 
	destination xlogo/Utils/

- GPL licence

- Update language properties files

2) To add a new primitives
- xlogo/kernel/genericPrimitive
	Add the generic name for the primitive, the number of arguments
	If this primitive allow a general form --> example: (sum 1 2 3 4) 
	add a + at the end of the line.
- xlogo/kernel/LaunchPrimitive: add the primitive instruction
If it's a Drawing primitive --> Use DrawPanel.java
If it's a control primitive (loop, break, return ...) ---> use Primitive.java