ship_gui.c
changeset 1938 70baf462aff1
parent 1926 530480d14685
child 1962 8254df1b359b
equal deleted inserted replaced
1937:8497de87e4a2 1938:70baf462aff1
    62 	int image = GetShipImage(v, 6);
    62 	int image = GetShipImage(v, 6);
    63 	uint32 ormod = SPRITE_PALETTE(PLAYER_SPRITE_COLOR(v->owner));
    63 	uint32 ormod = SPRITE_PALETTE(PLAYER_SPRITE_COLOR(v->owner));
    64 	DrawSprite(image | ormod, x+32, y+10);
    64 	DrawSprite(image | ormod, x+32, y+10);
    65 
    65 
    66 	if (v->index == selection) {
    66 	if (v->index == selection) {
    67 		DrawFrameRect(x-5, y-1, x+67, y+21, 15, 0x10);
    67 		DrawFrameRect(x-5, y-1, x+67, y+21, 15, FR_BORDERONLY);
    68 	}
    68 	}
    69 }
    69 }
    70 
    70 
    71 static void ShipRefitWndProc(Window *w, WindowEvent *e)
    71 static void ShipRefitWndProc(Window *w, WindowEvent *e)
    72 {
    72 {