- context.draw_filled_rect(Vector(125, 50), Vector(550, 120),
- Color(0.6, 0.7, 0.8, 0.5), LAYER_GUI-50);
+ float width = 500;
+ float height = 70;
+ Vector spos = pos + get_anchor_pos(Rect(0, 0, SCREEN_WIDTH, SCREEN_HEIGHT),
+ width, height, anchor);
+
+ context.draw_filled_rect(spos, Vector(width, height),
+ Color(0.6f, 0.7f, 0.8f, 0.5f), LAYER_GUI-50);