/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. * *************************************************************/ #include "navigatr.hrc" #include "helpids.h" #include "res_bmp.hrc" #define BUTTON_WIDTH 13 #define BUTTON_COUNT 7 #define BUTTON_SIZE MAP_APPFONT( BUTTON_WIDTH, BUTTON_WIDTH ); Window FLT_NAVIGATOR { HelpId = HID_SD_NAVIGATOR ; Size = MAP_APPFONT ( 12 + BUTTON_WIDTH * BUTTON_COUNT , 105 ) ; Text = "Navigator" ; SVLook = TRUE ; DialogControl = TRUE; Control TLB_OBJECTS { HelpId = HID_SD_NAVIGATOR_TLB ; Border = TRUE ; Pos = MAP_APPFONT ( 3 , 20 ) ; Size = MAP_APPFONT ( 6 + BUTTON_WIDTH * BUTTON_COUNT , 67 ) ; TabStop = TRUE ; }; ToolBox 1 { HelpId = HID_SD_NAVIGATOR_TBX ; SVLook = TRUE ; Pos = MAP_APPFONT ( 3 , 3 ) ; Size = MAP_APPFONT ( 6 + BUTTON_WIDTH , 15 ) ; TabStop = TRUE ; ItemList = { ToolBoxItem { AutoCheck = TRUE ; Identifier = TBI_PEN ; HelpId = HID_SD_NAVIGATOR_TBI_PEN ; Text [ en-US ] = "Pointer" ; }; ToolBoxItem { Type = TOOLBOXITEM_SEPARATOR ; }; ToolBoxItem { Identifier = TBI_FIRST ; HelpId = HID_SD_NAVIGATOR_TBI_FIRST ; //Symbol = IMAGEBUTTON_FIRST ; Text [ en-US ] = "First Slide" ; }; ToolBoxItem { Identifier = TBI_PREVIOUS ; HelpId = HID_SD_NAVIGATOR_TBI_PREV ; //Symbol = IMAGEBUTTON_PREV ; Text [ en-US ] = "Previous Slide" ; }; ToolBoxItem { Identifier = TBI_NEXT ; HelpId = HID_SD_NAVIGATOR_TBI_NEXT ; //Symbol = IMAGEBUTTON_NEXT ; /* ### ACHTUNG: Neuer Text in Resource? Nächste Seite : Nõchste Seite */ /* ### ACHTUNG: Neuer Text in Resource? Zur nächsten Seite springen : Zur nõchsten Seite springen */ Text [ en-US ] = "Next Slide" ; }; ToolBoxItem { Identifier = TBI_LAST ; HelpId = HID_SD_NAVIGATOR_TBI_LAST ; //Symbol = IMAGEBUTTON_LAST ; Text [ en-US ] = "Last Slide" ; }; ToolBoxItem { Type = TOOLBOXITEM_SEPARATOR ; }; ToolBoxItem { Identifier = TBI_DRAGTYPE ; HelpId = HID_SD_NAVIGATOR_TBI_DRAGTYPE ; DropDown = TRUE ; //Left = FALSE; /* ### ACHTUNG: Neuer Text in Resource? Modus für Drag & Drop auswählen : Modus f³r Drag & Drop auswõhlen */ Text [ en-US ] = "Drag Mode" ; }; ToolBoxItem { Identifier = TBI_SHAPE_FILTER ; HelpId = HID_SD_NAVIGATOR_TBI_SHAPE_FILTER ; DropDown = TRUE ; Text [ en-US ] = "Show Shapes" ; }; }; }; ListBox LB_DOCS { HelpId = HID_SD_NAVIGATOR_LB ; Border = TRUE ; Pos = MAP_APPFONT ( 3 , 89 ) ; Size = MAP_APPFONT ( 6 + BUTTON_WIDTH * BUTTON_COUNT , 90 ) ; TabStop = TRUE ; DropDown = TRUE ; QuickHelpText [ en-US ] = "Documents" ; /* ### ACHTUNG: Neuer Text in Resource? Geöffnete Dokumente : Ge÷ffnete Dokumente */ }; #define NAVIGATR_IDLIST \ IdList = \ { \ TBI_PEN ; \ TBI_FIRST ; \ TBI_PREVIOUS ; \ TBI_NEXT ; \ TBI_LAST ; \ TBI_EMBEDDED ; \ TBI_LINK ; \ TBI_HYPERLINK ; \ }; \ IdCount = { 8 ; }; #define IMAGE_STDBTN_COLOR Color { Red = 0xff00; Green = 0x0000; Blue = 0xff00; } ImageList IL_NAVIGATR { Prefix = "nv"; MaskColor = IMAGE_STDBTN_COLOR ; NAVIGATR_IDLIST }; ImageList ILH_NAVIGATR { Prefix = "nvh"; MaskColor = IMAGE_STDBTN_COLOR ; NAVIGATR_IDLIST }; }; String STR_OBJECTS_TREE { Text [ en-US ] = "Page Tree"; };