vaseboot/include/VasEBoot/icon_manager.h

42 lines
1.8 KiB
C

/* icon_manager.h - gfxmenu icon manager. */
/*
* VAS_EBOOT -- GRand Unified Bootloader
* Copyright (C) 2008 Free Software Foundation, Inc.
*
* VAS_EBOOT 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 3 of the License, or
* (at your option) any later version.
*
* VAS_EBOOT 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 VAS_EBOOT. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef VAS_EBOOT_ICON_MANAGER_HEADER
#define VAS_EBOOT_ICON_MANAGER_HEADER 1
#include <VasEBoot/menu.h>
#include <VasEBoot/bitmap.h>
/* Forward declaration of opaque structure handle type. */
typedef struct VasEBoot_gfxmenu_icon_manager *VasEBoot_gfxmenu_icon_manager_t;
VasEBoot_gfxmenu_icon_manager_t VasEBoot_gfxmenu_icon_manager_new (void);
void VasEBoot_gfxmenu_icon_manager_destroy (VasEBoot_gfxmenu_icon_manager_t mgr);
void VasEBoot_gfxmenu_icon_manager_clear_cache (VasEBoot_gfxmenu_icon_manager_t mgr);
void VasEBoot_gfxmenu_icon_manager_set_theme_path (VasEBoot_gfxmenu_icon_manager_t mgr,
const char *path);
void VasEBoot_gfxmenu_icon_manager_set_icon_size (VasEBoot_gfxmenu_icon_manager_t mgr,
int width, int height);
struct VasEBoot_video_bitmap *
VasEBoot_gfxmenu_icon_manager_get_icon (VasEBoot_gfxmenu_icon_manager_t mgr,
VasEBoot_menu_entry_t entry);
#endif /* VAS_EBOOT_ICON_MANAGER_HEADER */