styles.gmenu.bug >
styles.gmenu.bug {
  pageFrameObj = page
  menuFrameObj = left

    # cat=menu/color; type=color; label=Menu background color
  bgCol = #cccccc

    # cat=menu/dims; type=int+; label=Height of menu items (pixels)
  itemH = 20
    # cat=menu/dims; type=int+; label=Width of menu items/menu (pixels)
  itemW = 180
    # cat=menu/dims; type=int+; label=Lenght of total menu: Enter the total lenght of the menu (pixels). This should be the same as the height of any background image under the total menu. (See styles.gmenu.bug.bgImg !)
  length = 300

    # cat=menu/typo; type=file[ttf]; label=Font file: TrueType (ttf) font for the menu.
  file.fontFile = 
    # cat=menu/typo; type=int[1-40]; label=Font size: Font size on menu items
  fontSize = 15
    # cat=menu/typo; type=color; label=Font color: Font color on menu items
  fontColor = white
    # cat=menu/typo; type=offset; label=Text offset: Enter the offset of the text from the upper-left corner on the menu items
  fontOffset = 20,15
    # cat=menu/typo; type=options[,upper,lower]; label=Text case: You can force the text on the menu items to be either lowercase or uppercase.
  case =

    # cat=menu/typo; type=boolean[SHADOW]; label=Drop Shadow: Click this option if you want a drop shadow from the text on the menu items.
  shadow = 
    # cat=menu/typo; type=int[1-100]; label=Drop Shadow opacity: If you enabled the Drop Shadow, you can adjust the opacity of the shadow to make it more or less dominant.
  shadow.opacity = 100

    # cat=menu/typo; type=boolean; label=Rollover: Click this option if you want a rollover (mouseover) effect on the menu items.
  RO = 0
    # cat=menu/typo; type=color; label=Rollover, font color: Enter the rollover font color of the text on the menu item.
  RO.fontColor =


    # cat=menu/file/n_bgimg; type=boolean[IMAGE]; label=Background image: By enabling this option, you can choose a background image for the whole menu. The image will expand downwards over the background of all the items!
  bgImg = 
    # cat=menu/file/n_bgimg; type=file[IMAGE_EXT]; label=Background image, file: Choose the background image. NOTE: You should probably set the value of ".length" to the height in pixels of this image!
  bgImg.file.image = 
    # cat=menu/file/n_bgimg; type=file[IMAGE_EXT]; label=Background image, mask: Choose an optional mask for the background image. By this mask, the background image is "superimposed" onto the background color of the menu. White areas make the image visible, dark areas hide the image.
  bgImg.file.mask = 



    # cat=menu/file/o_impose; type=boolean[IMAGE]; label=Color impose: You can impose a color through a mask on every single menu item. The color is imposed underneath the text but on top of the background image, if any.
  maskImg = 
    # cat=menu/file/o_impose; type=color; label=Color impose, color: Enter the color
  maskImg.imposeCol = #165D89
    # cat=menu/file/o_impose; type=file[IMAGE_EXT]; label=Color impose, mask: Grayscale imagefile to mask the color through. White areas make the color visible, dark areas hide the color
  maskImg.file.mask = 


    # cat=menu/file/p_rimpose; type=boolean[IMAGE]; label=Rollover, impose: You can impose a color through a mask on every single rollover menu item, if you like. The color is imposed just underneath the text. NOTE: You must select the rollover-option in the Typography-section!
  RO.imposeImg = IMAGE
    # cat=menu/file/p_rimpose; type=color; label=Rollover, impose color: In addition to changing the color of the text on the menu item, you can also impose a color through a mask. You could use this to make a line or box appear on the menu item when the mouse cursor moves over it.
  RO.imposeCol = white
    # cat=menu/file/p_rimpose; type=file[IMAGE_EXT]; label=Rollover, mask: Grayscale imagefile to mask the impose color through. White areas make the color visible, dark areas hide the color.
  RO.file.mask = 



    # cat=menu//a; type=wrap; label=Wrap, menu items: This HTML-code is wrapped around every item in the menu. Normally you would use a <br />-tag here.
  itemWrap = | <br />

    # cat=menu//x; type=int[0-256]; label=Reduce colors: Number of indexed colors on menu items. If your menu items end up with weird colors, you can try to enter a higher number of colors. But the graphics-files will also increase their filesize.
  reduceColors = 16

}


## TSConstantsEditor Config
TSConstantEditor.menu {
  header = styles.gmenu.bug
  description = This graphical menu is powerful in many aspects. Especially because you can put a background image in the menu which will expand over all the items. See the image below.
  bulletlist = Background image for the whole menu (4) // Dropshadow on Truetype font page titles (5) // Rollover (mouseover) color (6) // You can use grayscale masks to mask (impose) a color onto the menu item. Use this to generate geometric icons and alike on the items. (7)
  image = gfx/BUG_menu.gif
  1=styles.gmenu.bug.itemH
  2=styles.gmenu.bug.itemW
  3=styles.gmenu.bug.length
  4=styles.gmenu.bug.bgImg
  5=styles.gmenu.bug.shadow,styles.gmenu.bug.file.fontFile,styles.gmenu.bug.fontSize,styles.gmenu.bug.fontColor,styles.gmenu.bug.fontOffset,styles.gmenu.bug.case
  6=styles.gmenu.bug.RO,styles.gmenu.bug.RO.fontColor
  7=styles.gmenu.bug.RO.imposeImg
}

