1 /* 2 * ReactOS kernel 3 * Copyright (C) 2002 ReactOS Team 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation; either version 2 of the License, or 8 * (at your option) any later version. 9 * 10 * This program is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 * GNU General Public License for more details. 14 * 15 * You should have received a copy of the GNU General Public License along 16 * with this program; if not, write to the Free Software Foundation, Inc., 17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 18 */ 19 /* $Id$ 20 * COPYRIGHT: See COPYING in the top level directory 21 * PROJECT: ReactOS text-mode setup 22 * FILE: subsys/system/usetup/partlist.h 23 * PURPOSE: Partition list functions 24 * PROGRAMMER: Eric Kohl 25 */ 26 27 #ifndef __PROGRESS_H__ 28 #define __PROGRESS_H__ 29 30 31 typedef struct _PROGRESS 32 { 33 SHORT Left; 34 SHORT Top; 35 SHORT Right; 36 SHORT Bottom; 37 SHORT TextTop; 38 SHORT TextRight; 39 40 SHORT Width; 41 42 ULONG Percent; 43 ULONG Pos; 44 45 ULONG StepCount; 46 ULONG CurrentStep; 47 48 BOOLEAN Double; 49 CHAR *Text; 50 } PROGRESSBAR, *PPROGRESSBAR; 51 52 /* FUNCTIONS ****************************************************************/ 53 54 PPROGRESSBAR 55 CreateProgressBar(SHORT Left, 56 SHORT Top, 57 SHORT Right, 58 SHORT Bottom, 59 SHORT TextTop, 60 SHORT TextRight, 61 BOOLEAN DoubleEdge, 62 char* Text); 63 64 VOID 65 DestroyProgressBar(PPROGRESSBAR Bar); 66 67 VOID 68 ProgressSetStepCount(PPROGRESSBAR Bar, 69 ULONG StepCount); 70 71 VOID 72 ProgressNextStep(PPROGRESSBAR Bar); 73 74 VOID 75 ProgressSetStep (PPROGRESSBAR Bar, 76 ULONG Step); 77 78 #endif /* __PROGRESS_H__ */ 79 80 /* EOF */ 81