# 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://www.gnu.org/software/grub/manual/grub/grub.html
# 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 Emmabuntüs modifiez grub.cfg comme ci-dessous
#menuentry "MultiSystem live French (toram)" --class emma --class linux --class os {

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

# General settings
#title-text: "Reuse campaign Debian-Facile & Emmabuntüs"
#title-text: "Campagne de réemploi Debian-Facile & Emmabuntüs"
title-text: ""
title-color: "white"
title-font: "Helvetica Bold 23"
message-font: "Helvetica Bold 23"
message-color: "white"
message-bg-color: "white"
desktop-image: "emma-splash.png"
desktop-color: "#00323e"

# Position du logo DF
+ image { 
left = 10%-64
top = 10%-64
file = "df.png"
}

# Position du logo Emmabuntüs
+ image {
left = 90%-64
top = 10%-64
file = "emmabuntus.png" 
}

# Position du logo Gnu
+ image { 
left = 80%-100
top = 60%-100
file = "gnu.png" 
}


# Position et taille du menu
+ boot_menu {
    left = 3%
    width = 58%
    top = 30%
    height = 60%
    item_font = "Helvetica Regular 18"
    selected_item_font = "Helvetica Regular 22"
    item_color = "white"
    selected_item_color = "#FFD700"
    item_height = 36
    item_padding = 0
    item_spacing = 3
    icon_width = 36
    icon_height = 36
    item_icon_space = 3
    selected_item_pixmap_style = "select_*.png"
    menu_pixmap_style = "menubox_*.png"
}

# Texte du haut, 2 lignes
# font="New Century Schoolbook Bold 25"
+ vbox {
      left="50%-80"
      top="5%"
   + label { text="  Campagne de réemploi" color="white" align="center" font="Helvetica Bold 23" }
   + label { text="" color="white" align="center" font="Helvetica Regular 18" }
   + label { text="Debian-Facile & Emmabuntüs" color="white" align="center" font="Helvetica Bold 23" }
}

# Texte du bas
+ label {
    top = 100%-30
    left = 80
    text = "[Enter] Sélection [Up/Down Key] Navigation [E] Edit [C] GRUB Command Line"
    font = "Helvetica Bold 19"
    color = "white"
    align = "center"
}

