menu_data.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  1. /*
  2. * BURG - Brand-new Universal loadeR from GRUB
  3. * Copyright 2009 Bean Lee - All Rights Reserved
  4. *
  5. * BURG 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 3 of the License, or
  8. * (at your option) any later version.
  9. *
  10. * BURG 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
  16. * along with BURG. If not, see <http://www.gnu.org/licenses/>.
  17. */
  18. #ifndef GRUB_MENU_DATA_HEADER
  19. #define GRUB_MENU_DATA_HEADER 1
  20. #include <grub/menu_region.h>
  21. grub_video_color_t grub_menu_parse_color (const char *str, grub_uint32_t *fill,
  22. grub_video_color_t *color_selected,
  23. grub_uint32_t *fill_selected);
  24. grub_menu_region_common_t
  25. grub_menu_parse_bitmap (const char *str, grub_uint32_t def_fill,
  26. grub_menu_region_common_t *bitmap_selected);
  27. long grub_menu_parse_size (const char *str, int parent_size, int horizontal);
  28. char *grub_menu_next_field (char *name, char c);
  29. void grub_menu_restore_field (char *name, char c);
  30. #endif