Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygengui.h
Go to the documentation of this file.
00001 /* 00002 * FreeLoader 00003 * Copyright (C) 1998-2003 Brian Palmer <brianp@sginet.com> 00004 * 00005 * This program is free software; you can redistribute it and/or modify 00006 * it under the terms of the GNU General Public License as published by 00007 * the Free Software Foundation; either version 2 of the License, or 00008 * (at your option) any later version. 00009 * 00010 * This program is distributed in the hope that it will be useful, 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 * GNU General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU General Public License along 00016 * with this program; if not, write to the Free Software Foundation, Inc., 00017 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 00018 */ 00019 00020 #pragma once 00021 00022 #define TUI_SCREEN_MEM 0xB8000 00023 #define TITLE_BOX_CHAR_HEIGHT 5 00024 00026 // 00027 // Graphical User Interface Functions 00028 // 00030 VOID GuiDrawBackdrop(VOID); // Fills the entire screen with a backdrop 00031 VOID GuiFillArea(ULONG Left, ULONG Top, ULONG Right, ULONG Bottom, UCHAR FillChar, UCHAR Attr /* Color Attributes */); // Fills the area specified with FillChar and Attr 00032 VOID GuiDrawShadow(ULONG Left, ULONG Top, ULONG Right, ULONG Bottom); // Draws a shadow on the bottom and right sides of the area specified 00033 VOID GuiDrawBox(ULONG Left, ULONG Top, ULONG Right, ULONG Bottom, UCHAR VertStyle, UCHAR HorzStyle, BOOLEAN Fill, BOOLEAN Shadow, UCHAR Attr); // Draws a box around the area specified 00034 VOID GuiDrawText(ULONG X, ULONG Y, PUCHAR Text, UCHAR Attr); // Draws text at coordinates specified 00035 VOID GuiDrawStatusText(PCSTR StatusText); // Draws text at the very bottom line on the screen 00036 VOID GuiUpdateDateTime(VOID); // Updates the date and time 00037 VOID GuiSaveScreen(PUCHAR Buffer); // Saves the screen so that it can be restored later 00038 VOID GuiRestoreScreen(PUCHAR Buffer); // Restores the screen from a previous save 00039 VOID GuiMessageBox(PCSTR MessageText); // Displays a message box on the screen with an ok button 00040 VOID GuiMessageBoxCritical(PCSTR MessageText); // Displays a message box on the screen with an ok button using no system resources 00041 VOID GuiDrawProgressBar(ULONG Position, ULONG Range); // Draws the progress bar showing nPos percent filled 00042 00043 UCHAR GuiTextToColor(PCSTR ColorText); // Converts the text color into it's equivalent color value 00044 UCHAR GuiTextToFillStyle(PCSTR FillStyleText); // Converts the text fill into it's equivalent fill value 00045 00047 // 00048 // Menu Functions 00049 // 00051 BOOLEAN GuiDisplayMenu(PCSTR MenuItemList[], ULONG MenuItemCount, ULONG DefaultMenuItem, LONG MenuTimeOut, ULONG* SelectedMenuItem); 00052 00053 extern const UIVTBL GuiVtbl; Generated on Sun May 27 2012 04:19:15 for ReactOS by
1.7.6.1
|