mirror of https://github.com/OpenRCT2/OpenRCT2.git
Fixed textbox carot color
This commit is contained in:
parent
e673a8ab80
commit
6e57291e2d
|
@ -249,7 +249,11 @@ static void window_text_input_paint(){
|
||||||
}
|
}
|
||||||
|
|
||||||
if (w->frame_no > 15){
|
if (w->frame_no > 15){
|
||||||
gfx_fill_rect(dpi, cur_x, y + 9, cur_x + width, y + 9, w->colours[1]);
|
uint8 eax;
|
||||||
|
eax = RCT2_ADDRESS(0x0141FC4A, uint8)[w->colours[1] * 8];
|
||||||
|
eax = eax << 16;
|
||||||
|
eax = eax | RCT2_ADDRESS(0x0141FC48, uint8)[w->colours[1] * 8];
|
||||||
|
gfx_fill_rect(dpi, cur_x, y + 9, cur_x + width, y + 9, (eax & 0xFF) + 5);
|
||||||
}
|
}
|
||||||
|
|
||||||
cur_drawn++;
|
cur_drawn++;
|
||||||
|
|
Loading…
Reference in New Issue