indent some .h files

`indent shapes.h sounds.h tip_tux.h titles.h tools.h`, resulted
in some changes to shapes.h, sounds.h, and tools.h
This commit is contained in:
Bill Kendrick 2017-10-15 11:07:09 -07:00
parent c7c5a53324
commit 4aabc2da43
3 changed files with 167 additions and 173 deletions

View file

@ -78,12 +78,12 @@ const int shape_sides[NUM_SHAPES] = {
4, /* Rhombus */ 4, /* Rhombus */
8, /* Octagon */ 8, /* Octagon */
8, /* Octagon */ 8, /* Octagon */
3, /* 3 points star*/ 3, /* 3 points star */
3, /* 3 points star*/ 3, /* 3 points star */
4, /* 4 points star*/ 4, /* 4 points star */
4, /* 4 points star*/ 4, /* 4 points star */
5, /* 5 points star*/ 5, /* 5 points star */
5 /* 5 points star*/ 5 /* 5 points star */
}; };
@ -106,12 +106,12 @@ const int shape_locked[NUM_SHAPES] = {
0, /* Rhombus */ 0, /* Rhombus */
1, /* Octagon */ 1, /* Octagon */
1, /* Octagon */ 1, /* Octagon */
0, /* 3 points star*/ 0, /* 3 points star */
0, /* 3 points star*/ 0, /* 3 points star */
0, /* 4 points star*/ 0, /* 4 points star */
0, /* 4 points star*/ 0, /* 4 points star */
0, /* 5 points star*/ 0, /* 5 points star */
0 /* 5 points star*/ 0 /* 5 points star */
}; };
@ -134,12 +134,12 @@ const int shape_filled[NUM_SHAPES] = {
1, /* Rhombus */ 1, /* Rhombus */
0, /* Octagon */ 0, /* Octagon */
1, /* Octagon */ 1, /* Octagon */
0, /* 3 points star*/ 0, /* 3 points star */
1, /* 3 points star*/ 1, /* 3 points star */
0, /* 4 points star*/ 0, /* 4 points star */
1, /* 4 points star*/ 1, /* 4 points star */
0, /* 5 points star*/ 0, /* 5 points star */
1 /* 5 points star*/ 1 /* 5 points star */
}; };
@ -163,10 +163,10 @@ const int shape_init_ang[NUM_SHAPES] = {
0, /* Rhombus */ 0, /* Rhombus */
22, /* Octagon */ 22, /* Octagon */
22, /* Octagon */ 22, /* Octagon */
210, /* 3 points star*/ 210, /* 3 points star */
210, /* 3 points star*/ 210, /* 3 points star */
0, /* 4 points star*/ 0, /* 4 points star */
0, /* 4 points star*/ 0, /* 4 points star */
162, /* 5 points star */ 162, /* 5 points star */
162 /* 5 points star */ 162 /* 5 points star */
}; };
@ -279,7 +279,6 @@ const char *const shape_names[NUM_SHAPES] = {
// Pentagone star (5 points star) // Pentagone star (5 points star)
gettext_noop("Star") gettext_noop("Star")
}; };
@ -295,10 +294,8 @@ const char *const shape_tips[NUM_SHAPES] = {
gettext_noop("A rectangle has four sides and four right angles."), gettext_noop("A rectangle has four sides and four right angles."),
// Description of a circle // Description of a circle
gettext_noop gettext_noop("A circle is a curve where all points have the same distance from the center."),
("A circle is a curve where all points have the same distance from the center."), gettext_noop("A circle is a curve where all points have the same distance from the center."),
gettext_noop
("A circle is a curve where all points have the same distance from the center."),
// Description of an ellipse // Description of an ellipse
gettext_noop("An ellipse is a stretched circle."), gettext_noop("An ellipse is a stretched circle."),
@ -313,16 +310,12 @@ const char *const shape_tips[NUM_SHAPES] = {
gettext_noop("A pentagon has five sides."), gettext_noop("A pentagon has five sides."),
// Description of a rhombus // Description of a rhombus
gettext_noop gettext_noop("A rhombus has four equal sides, and opposite sides are parallel."),
("A rhombus has four equal sides, and opposite sides are parallel."), gettext_noop("A rhombus has four equal sides, and opposite sides are parallel."),
gettext_noop
("A rhombus has four equal sides, and opposite sides are parallel."),
// Description of an octagon // Description of an octagon
gettext_noop gettext_noop("An octagon has eight equal sides."),
("An octagon has eight equal sides."), gettext_noop("An octagon has eight equal sides."),
gettext_noop
("An octagon has eight equal sides."),
gettext_noop("A star with 3 points."), gettext_noop("A star with 3 points."),
gettext_noop("A star with 3 points."), gettext_noop("A star with 3 points."),
@ -330,7 +323,6 @@ const char *const shape_tips[NUM_SHAPES] = {
gettext_noop("A star with 4 points."), gettext_noop("A star with 4 points."),
gettext_noop("A star with 5 points."), gettext_noop("A star with 5 points."),
gettext_noop("A star with 5 points.") gettext_noop("A star with 5 points.")
}; };
@ -359,5 +351,4 @@ const char *const shape_img_fnames[NUM_SHAPES] = {
DATA_PREFIX "images/shapes/star4p_f.png", DATA_PREFIX "images/shapes/star4p_f.png",
DATA_PREFIX "images/shapes/star5p.png", DATA_PREFIX "images/shapes/star5p.png",
DATA_PREFIX "images/shapes/star5p_f.png" DATA_PREFIX "images/shapes/star5p_f.png"
}; };

View file

@ -121,13 +121,16 @@ const char *const tool_tips[NUM_TOOLS] = {
gettext_noop("Click to start drawing a line. Let go to complete it."), gettext_noop("Click to start drawing a line. Let go to complete it."),
// Shape tool instructions // Shape tool instructions
gettext_noop("Pick a shape. Click to pick the center, drag, then let go when it is the size you want. Move around to rotate it, and click to draw it."), gettext_noop
("Pick a shape. Click to pick the center, drag, then let go when it is the size you want. Move around to rotate it, and click to draw it."),
// Text tool instructions // Text tool instructions
gettext_noop("Choose a style of text. Click on your drawing and you can start typing. Press [Enter] or [Tab] to complete the text."), gettext_noop
("Choose a style of text. Click on your drawing and you can start typing. Press [Enter] or [Tab] to complete the text."),
// Label tool instructions // Label tool instructions
gettext_noop("Choose a style of text. Click on your drawing and you can start typing. Press [Enter] or [Tab] to complete the text. By using the selector button and clicking an existing label, you can move it, edit it and change its text style."), gettext_noop
("Choose a style of text. Click on your drawing and you can start typing. Press [Enter] or [Tab] to complete the text. By using the selector button and clicking an existing label, you can move it, edit it and change its text style."),
// Reserved... // Reserved...
" ", " ",