Commit 951aebfc authored by Bruno Coudoin's avatar Bruno Coudoin

Some more bar adaptation

svn path=/branches/gcomprixogoo/; revision=3534
parent 0269c5d4
......@@ -215,9 +215,9 @@ static void start_board (GcomprisBoard *agcomprisBoard) {
gcomprisBoard->sublevel=1;
gcomprisBoard->number_of_sublevel=NUMBER_OF_SUBLEVELS; /* Go to next level after this number of 'play' */
gc_score_start(SCORESTYLE_NOTE,
50,
BOARDHEIGHT - 50,
gcomprisBoard->number_of_sublevel);
BOARDWIDTH - 195,
BOARDHEIGHT - 30,
gcomprisBoard->number_of_sublevel);
gc_bar_set(GC_BAR_LEVEL);
algebra_guesscount_next_level();
......
......@@ -407,7 +407,7 @@ static GooCanvasItem *enumerate_create_item(GooCanvasItem *parent)
guint x, y;
x = g_random_int_range(0, ANSWER_X-gdk_pixbuf_get_width(pixmap)-ANSWER_WIDTH);
y = g_random_int_range(0, BOARDHEIGHT-gdk_pixbuf_get_height(pixmap));
y = g_random_int_range(0, BOARDHEIGHT-BARHEIGHT-10-gdk_pixbuf_get_height(pixmap));
item = goo_canvas_image_new (boardRootItem,
pixmap,
......
......@@ -305,8 +305,8 @@ static void planegame_next_level()
else
{
gc_score_start(SCORESTYLE_NOTE,
BOARDWIDTH - 220,
BOARDHEIGHT - 50,
BOARDWIDTH - 195,
BOARDHEIGHT - 30,
gcomprisBoard->number_of_sublevel);
gc_score_set(gcomprisBoard->sublevel);
}
......
......@@ -532,7 +532,7 @@ static void process_ok()
static void request_score()
{
GdkPixbuf *button_pixmap = NULL;
double y_offset = 160;
double y_offset = 130;
double x_offset = 245;
gchar *tmpstr;
......
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