diff options
-rw-r--r-- | ChangeLog | 11 | ||||
-rw-r--r-- | doc/Coding_style | 12 |
2 files changed, 15 insertions, 8 deletions
@@ -1,6 +1,7 @@ | |||
1 | Changes for 0.1.6: | 1 | Changes for 0.1.6: |
2 | *02/01/06: | 2 | *02/01/06: |
3 | * Changed toolbar placement enums to uppercase letters (Claes Nästén) | 3 | * Changed toolbar placement enums to uppercase letters (Claes Nästén) |
4 | * Created StringUtil and DrawUtil and moved all functions from Misc to them | ||
4 | *02/01/05: | 5 | *02/01/05: |
5 | * Changed placement/alignment enums to uppercase letters (Claes Nästén) | 6 | * Changed placement/alignment enums to uppercase letters (Claes Nästén) |
6 | * Fixed tab/iconbar resource bug (Claes Nästén) | 7 | * Fixed tab/iconbar resource bug (Claes Nästén) |
@@ -9,7 +10,7 @@ Changes for 0.1.6: | |||
9 | * Fixed shade bug in Windowmenu | 10 | * Fixed shade bug in Windowmenu |
10 | * Fixed error in nls/it_IT/Makefile.am | 11 | * Fixed error in nls/it_IT/Makefile.am |
11 | * Updated french translation (Thanks Fabien Devaux) | 12 | * Updated french translation (Thanks Fabien Devaux) |
12 | * Fixed Focus Configmenu bug | 13 | * Fixed focus Configmenu bug |
13 | *02/01/04: | 14 | *02/01/04: |
14 | * Fixed keybinding bug (Thanks Devaux Fabien) | 15 | * Fixed keybinding bug (Thanks Devaux Fabien) |
15 | *02/01/01: | 16 | *02/01/01: |
@@ -24,14 +25,14 @@ Changes for 0.1.6: | |||
24 | *01/12/27: | 25 | *01/12/27: |
25 | * Fixed grabVertMax and grabHorizMax + 1 pixel maximise bug. (Claes Nästén) | 26 | * Fixed grabVertMax and grabHorizMax + 1 pixel maximise bug. (Claes Nästén) |
26 | * Now relative and vertical tabs gets textures rendered ok, still | 27 | * Now relative and vertical tabs gets textures rendered ok, still |
27 | interlaced and gradients aren't rendered in right direction. (Claes Nästén) | 28 | interlaced and gradients aren't rendered in right direction. (Claes Nästén) |
28 | *01/12/26: | 29 | *01/12/26: |
29 | * Fixed tab and iconbar uppdating so that tab and iconbar labels will have | 30 | * Fixed tab and iconbar uppdating so that tab and iconbar labels will have |
30 | the right text. (Claes Nästén) | 31 | the right text. (Claes Nästén) |
31 | *01/12/23: | 32 | *01/12/23: |
32 | * Fixed a bug in Tab::buttonReleaseEvent and added sloppyWindowGrouping | 33 | * Fixed a bug in Tab::buttonReleaseEvent and added sloppyWindowGrouping |
33 | wich lets you release windows tabs on other windows and not only other | 34 | wich lets you release windows tabs on other windows and not only other |
34 | tabs to group them (Claes Nästén) | 35 | tabs to group them (Claes Nästén) |
35 | *01/12/19: | 36 | *01/12/19: |
36 | * Moved some structs from file scope of BaseDisplay.hh in to class BaseDisplay | 37 | * Moved some structs from file scope of BaseDisplay.hh in to class BaseDisplay |
37 | * Fixed redraw bug when changing workspace | 38 | * Fixed redraw bug when changing workspace |
diff --git a/doc/Coding_style b/doc/Coding_style index d0eba0d..df5e398 100644 --- a/doc/Coding_style +++ b/doc/Coding_style | |||
@@ -4,7 +4,7 @@ It might look strange now in some places, that is because | |||
4 | the code hasnt been "translated" to tab 100% yet. | 4 | the code hasnt been "translated" to tab 100% yet. |
5 | Use a tab size of 2 and you will be fine. | 5 | Use a tab size of 2 and you will be fine. |
6 | 6 | ||
7 | note if-statement: | 7 | if-statements: |
8 | 8 | ||
9 | if ( stuff ) | 9 | if ( stuff ) |
10 | function(stuff, more stuff, | 10 | function(stuff, more stuff, |
@@ -15,7 +15,7 @@ note if-statement: | |||
15 | stuff, | 15 | stuff, |
16 | stuff); | 16 | stuff); |
17 | 17 | ||
18 | if the functionline needs to be split up, like above, right after a if-statement | 18 | if the functionline needs to be split up, like above, right after an if-statement |
19 | use { and }, so its clear when the if-statement ends. | 19 | use { and }, so its clear when the if-statement ends. |
20 | It should look like this | 20 | It should look like this |
21 | 21 | ||
@@ -29,7 +29,8 @@ It should look like this | |||
29 | stuff); | 29 | stuff); |
30 | } | 30 | } |
31 | 31 | ||
32 | The includeguards: | 32 | |
33 | The include guards: | ||
33 | _FILENAME_HH_ | 34 | _FILENAME_HH_ |
34 | 35 | ||
35 | 36 | ||
@@ -43,3 +44,8 @@ Function comments: | |||
43 | type classname::function(...) { | 44 | type classname::function(...) { |
44 | 45 | ||
45 | } | 46 | } |
47 | |||
48 | |||
49 | enums must be in uppercase letters: | ||
50 | enum {WHITE, RED, BLUE}; | ||
51 | |||