forked from KolibriOS/kolibrios
icons16.png: small colors tweak to bring them into the common gamma
eng/settings/menu.dat: general update, sunc with rus /data/rus/pipetka: remove as it is closed-source and replace by pipet: add to IMG/develop/pipet (open-source, copy to clipboard function) cmm/lib/io.h: fix library function ircc: add 'x' to the close button, update tab colors to fix low contrast on some skins git-svn-id: svn://kolibrios.org@7889 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
@@ -64,7 +64,7 @@ void DrawBufer::DrawBar(dword x, y, w, h, color)
|
||||
}
|
||||
}
|
||||
|
||||
void DrawBufer::WriteText(dword x, y, byte fontType, dword color, str_offset)
|
||||
void DrawBufer::WriteText(dword x, y, byte fontType, dword color, str_offset, strlen)
|
||||
{
|
||||
#define BUGFIX_32000 32000
|
||||
dword ydiv=0;
|
||||
@@ -72,6 +72,7 @@ void DrawBufer::WriteText(dword x, y, byte fontType, dword color, str_offset)
|
||||
dword new_buf_offset;
|
||||
if (y + 30 >= bufh) IncreaseBufSize();
|
||||
if (y < BUGFIX_32000) {
|
||||
ESI = strlen;
|
||||
WriteBufText(x, y, fontType, color, str_offset, buf_data);
|
||||
}
|
||||
else {
|
||||
@@ -84,6 +85,7 @@ void DrawBufer::WriteText(dword x, y, byte fontType, dword color, str_offset)
|
||||
|
||||
ESDWORD[new_buf_offset] = bufw;
|
||||
ESDWORD[new_buf_offset+4] = bufh - y;
|
||||
ESI = strlen;
|
||||
WriteBufText(x, y, fontType, color, str_offset, new_buf_offset);
|
||||
|
||||
ESDWORD[new_buf_offset] = reserve_data_1;
|
||||
|
Reference in New Issue
Block a user