mirror of
https://github.com/reactos/reactos.git
synced 2024-06-09 05:55:36 +00:00
bbce6c3fdf
Also, make the (T)uiSave/RestoreScreen() helpers manage themselves the temporary memory buffer used to store the temporary screen snapshot.
125 lines
2.5 KiB
C
125 lines
2.5 KiB
C
/*
|
|
* FreeLoader
|
|
* Copyright (C) 1998-2003 Brian Palmer <brianp@sginet.com>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License along
|
|
* with this program; if not, write to the Free Software Foundation, Inc.,
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
*/
|
|
|
|
#include <freeldr.h>
|
|
|
|
VOID GuiDrawBackdrop(VOID)
|
|
{
|
|
}
|
|
|
|
VOID GuiFillArea(ULONG Left, ULONG Top, ULONG Right, ULONG Bottom, UCHAR FillChar, UCHAR Attr /* Color Attributes */)
|
|
{
|
|
}
|
|
|
|
VOID GuiDrawShadow(ULONG Left, ULONG Top, ULONG Right, ULONG Bottom)
|
|
{
|
|
}
|
|
|
|
VOID GuiDrawBox(ULONG Left, ULONG Top, ULONG Right, ULONG Bottom, UCHAR VertStyle, UCHAR HorzStyle, BOOLEAN Fill, BOOLEAN Shadow, UCHAR Attr)
|
|
{
|
|
}
|
|
|
|
VOID GuiDrawText(ULONG X, ULONG Y, PUCHAR Text, UCHAR Attr)
|
|
{
|
|
}
|
|
|
|
VOID GuiDrawText2(ULONG X, ULONG Y, ULONG MaxNumChars, PUCHAR Text, UCHAR Attr)
|
|
{
|
|
}
|
|
|
|
VOID GuiDrawStatusText(PCSTR StatusText)
|
|
{
|
|
}
|
|
|
|
VOID GuiUpdateDateTime(VOID)
|
|
{
|
|
}
|
|
|
|
_Ret_maybenull_
|
|
__drv_allocatesMem(Mem)
|
|
PUCHAR
|
|
GuiSaveScreen(VOID)
|
|
{
|
|
return NULL;
|
|
}
|
|
|
|
VOID
|
|
GuiRestoreScreen(
|
|
_In_opt_ __drv_freesMem(Mem) PUCHAR Buffer)
|
|
{
|
|
}
|
|
|
|
VOID
|
|
GuiMessageBox(
|
|
_In_ PCSTR MessageText)
|
|
{
|
|
}
|
|
|
|
VOID
|
|
GuiMessageBoxCritical(
|
|
_In_ PCSTR MessageText)
|
|
{
|
|
}
|
|
|
|
VOID GuiDrawProgressBar(ULONG Position, ULONG Range)
|
|
{
|
|
}
|
|
|
|
UCHAR GuiTextToColor(PCSTR ColorText)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
UCHAR GuiTextToFillStyle(PCSTR FillStyleText)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
const UIVTBL GuiVtbl =
|
|
{
|
|
/*
|
|
GuiInitialize,
|
|
GuiUnInitialize,
|
|
GuiDrawBackdrop,
|
|
GuiFillArea,
|
|
GuiDrawShadow,
|
|
GuiDrawBox,
|
|
GuiDrawText,
|
|
GuiDrawText2,
|
|
GuiDrawCenteredText,
|
|
GuiDrawStatusText,
|
|
GuiUpdateDateTime,
|
|
GuiMessageBox,
|
|
GuiMessageBoxCritical,
|
|
GuiDrawProgressBarCenter,
|
|
GuiDrawProgressBar,
|
|
GuiEditBox,
|
|
GuiTextToColor,
|
|
GuiTextToFillStyle,
|
|
GuiFadeInBackdrop,
|
|
GuiFadeOut,
|
|
GuiDisplayMenu,
|
|
GuiDrawMenu,
|
|
*/
|
|
NULL, NULL, NULL, NULL, NULL, NULL, NULL,
|
|
NULL, NULL, NULL, NULL, NULL, NULL, NULL,
|
|
NULL, NULL, NULL, NULL, NULL, NULL, NULL,
|
|
NULL
|
|
};
|