mirror of
https://github.com/AppleWin/AppleWin.git
synced 2025-02-26 21:30:36 +00:00
Fix position of disk status in 2x Windowed-mode
This commit is contained in:
parent
86f56a9a49
commit
49465d0182
@ -795,7 +795,7 @@ void FrameDrawDiskStatus( HDC passdc )
|
||||
HDC dc = (passdc ? passdc : GetDC(g_hFrameWindow));
|
||||
|
||||
int x = buttonx;
|
||||
int y = buttony+BUTTONS*BUTTONCY+1;
|
||||
int y = buttony+BUTTONS*BUTTONCY+4;
|
||||
|
||||
SelectObject(dc,smallfont);
|
||||
SetBkMode(dc,OPAQUE);
|
||||
@ -841,12 +841,12 @@ void FrameDrawDiskStatus( HDC passdc )
|
||||
SetBkMode(dc,TRANSPARENT);
|
||||
|
||||
sprintf( text, "T%s", g_sTrackDrive1 );
|
||||
TextOut(dc,x+6 ,y+32,text, strlen(text) );
|
||||
TextOut(dc,x+6, y+32, text, strlen(text) );
|
||||
sprintf( text, "S%s", g_sSectorDrive1 );
|
||||
TextOut(dc,x+ 6,y+42, text, strlen(text) );
|
||||
TextOut(dc,x+6, y+42, text, strlen(text) );
|
||||
|
||||
sprintf( text, "T%s", g_sTrackDrive2 );
|
||||
TextOut(dc,x+26,y+32,text, strlen(text) );
|
||||
TextOut(dc,x+26,y+32, text, strlen(text) );
|
||||
sprintf( text, "S%s", g_sSectorDrive2 );
|
||||
TextOut(dc,x+26,y+42, text, strlen(text) );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user