2N/A * GRUB -- GRand Unified Bootloader 2N/A * Copyright (C) 2008,2009 Free Software Foundation, Inc. 2N/A * GRUB is free software: you can redistribute it and/or modify 2N/A * it under the terms of the GNU General Public License as published by 2N/A * the Free Software Foundation, either version 3 of the License, or 2N/A * (at your option) any later version. 2N/A * GRUB is distributed in the hope that it will be useful, 2N/A * but WITHOUT ANY WARRANTY; without even the implied warranty of 2N/A * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 2N/A * GNU General Public License for more details. 2N/A * You should have received a copy of the GNU General Public License 2N/A "nw",
"ne",
"se",
"sw",
2N/A /* Don't try to create a bitmap with a zero dimension. */ 2N/A if (w != 0 && h != 0)
2N/A "failed to scale bitmap for styled box pixmap #%d", i);
2N/A /* Resize sides to match the width and height. */ 2N/A /* It is assumed that the corners width/height match the adjacent sides. */ 2N/A /* Resize N and S sides to match width. */ 2N/A /* Resize E and W sides to match height. */ 2N/A /* Don't scale the corners--they are assumed to match the sides. */ 2N/A /* Scale the center area. */ 2N/A /* Free self: must be the last step! */ 2N/A/* Create a new box. If PIXMAPS_PREFIX and PIXMAPS_SUFFIX are both non-null, 2N/A then an attempt is made to load the north, south, east, west, northwest, 2N/A northeast, southeast, southwest, and center pixmaps. 2N/A If either PIXMAPS_PREFIX or PIXMAPS_SUFFIX is 0, then no pixmaps are 2N/A loaded, and the box has zero-width borders and is drawn transparent. */ 2N/A /* Initialize all pixmap pointers to NULL so that proper destruction can 2N/A be performed if an error is encountered partway through construction. */ 2N/A /* Load the pixmaps. */ 2N/A /* Construct the specific path for this pixmap. */ 2N/A /* Ignore missing pixmaps. */