mirror of
https://github.com/reactos/reactos.git
synced 2024-11-17 12:27:17 +00:00
975b7d427d
Congratulations Hermès! You just earned yourself full maintainership of the 1st stage setup. It's yours now. I'm out!
88 lines
2 KiB
C
88 lines
2 KiB
C
/*
|
|
* ReactOS kernel
|
|
* Copyright (C) 2004 ReactOS Team
|
|
*
|
|
* 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.
|
|
*/
|
|
/*
|
|
* COPYRIGHT: See COPYING in the top level directory
|
|
* PROJECT: ReactOS text-mode setup
|
|
* FILE: base/setup/usetup/genlist.h
|
|
* PURPOSE: Generic list functions
|
|
* PROGRAMMER:
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "../lib/genlist.h"
|
|
|
|
typedef struct _GENERIC_LIST_UI
|
|
{
|
|
PGENERIC_LIST List;
|
|
|
|
PLIST_ENTRY FirstShown;
|
|
PLIST_ENTRY LastShown;
|
|
|
|
SHORT Left;
|
|
SHORT Top;
|
|
SHORT Right;
|
|
SHORT Bottom;
|
|
BOOL Redraw;
|
|
} GENERIC_LIST_UI, *PGENERIC_LIST_UI;
|
|
|
|
VOID
|
|
InitGenericListUi(
|
|
IN OUT PGENERIC_LIST_UI ListUi,
|
|
IN PGENERIC_LIST List);
|
|
|
|
VOID
|
|
DrawGenericList(
|
|
IN PGENERIC_LIST_UI ListUi,
|
|
IN SHORT Left,
|
|
IN SHORT Top,
|
|
IN SHORT Right,
|
|
IN SHORT Bottom);
|
|
|
|
VOID
|
|
ScrollDownGenericList(
|
|
IN PGENERIC_LIST_UI ListUi);
|
|
|
|
VOID
|
|
ScrollUpGenericList(
|
|
IN PGENERIC_LIST_UI ListUi);
|
|
|
|
VOID
|
|
ScrollPageDownGenericList(
|
|
IN PGENERIC_LIST_UI ListUi);
|
|
|
|
VOID
|
|
ScrollPageUpGenericList(
|
|
IN PGENERIC_LIST_UI ListUi);
|
|
|
|
VOID
|
|
ScrollToPositionGenericList(
|
|
IN PGENERIC_LIST_UI ListUi,
|
|
IN ULONG uIndex);
|
|
|
|
VOID
|
|
RedrawGenericList(
|
|
IN PGENERIC_LIST_UI ListUi);
|
|
|
|
VOID
|
|
GenericListKeyPress(
|
|
IN PGENERIC_LIST_UI ListUi,
|
|
IN CHAR AsciiChar);
|
|
|
|
/* EOF */
|