# MultiSystem GRUB2 theme
#
# Copyright (C) 2017 MultiSystem <liveusb@gmail.com>
#
# 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 3 of
# the License or any later version accepted by the membership of 
# KDE e.V. (or its successor approved by the membership of KDE
# e.V.), which shall act as a proxy defined in Section 14 of
# version 3 of the license.
#
# 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, see <http://www.gnu.org/licenses/>.

# Documentations ...
#https://drive.google.com/file/d/0B82343FTJphIbElHUGVac1hBZnc/view?pli=1
#http://grub.gibibit.com/Theme_format
#http://wiki.rosalab.ru/en/index.php/Grub2_theme_tutorial

#Pour ajouter une icone au menu il vous suffit d'ajouter son nom, exemple pour avoir icone ms modifiez grub.cfg comme ci-dessous
#menuentry "MultiSystem live French (toram)" --class ms --class linux --class os {
#Pour ajouter une icone au menu il vous suffit d'ajouter son nom, exemple pour avoir icone ubuntu modifiez grub.cfg comme ci-dessous
#menuentry "MultiSystem live French (toram)" --class ubuntu --class linux --class os {
#mettez les icones dans le dossier de votre clé USB: /boot/grub/themes/multisystem/icons

#Pour activer le thème  multisystem ajoutez dans votre fichier grub.cfg les 4 lignes ci-dessous
#set gfxmode=640x480
#set theme=($root)/boot/grub/themes/multisystem/theme.txt
#export theme
#loadfont /boot/grub/themes/multisystem/fonts/Helvetica-8.pf2

# general settings
title-text: "MultiSystem LiveUSB MultiBoot"
title-color: "white"
title-font: "Helvetica 8"
message-font: "Helvetica 8"
message-color: "black"
message-bg-color: "#4d4d4d"
desktop-image: "ms-splash.png"
desktop-color: "#3daee9"

+ image {
   top = 12
   left = 12
   file="multisystem.png"
}

+ boot_menu {
    left = 20%
    width = 80%
    top = 20%
    height = 60%
    item_font = "Helvetica 8"
    selected_item_font = "Helvetica 8"
    item_color = "black"
    selected_item_color = "green"
    item_height = 24
    item_padding = 0
    item_spacing = 6
    icon_width = 24
    icon_height = 24
    item_icon_space = 6
}

+ label {
    top = 100%-30
    left = 40
    text = "[Enter] Sélection [Up/Down Key] Navigation [E] Edit [C] GRUB Command Line"
    font = "Helvetica 8"
    color = "black"
    align = "center" # pas pris en compte ?
}






