1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22#include "navigatr.hrc" 23#include "helpids.h" 24#include "res_bmp.hrc" 25#define BUTTON_WIDTH 13 26#define BUTTON_COUNT 7 27#define BUTTON_SIZE MAP_APPFONT ( BUTTON_WIDTH, BUTTON_WIDTH ) ; 28Window FLT_NAVIGATOR 29{ 30 HelpId = HID_SD_NAVIGATOR ; 31 Size = MAP_APPFONT ( 12 + BUTTON_WIDTH * BUTTON_COUNT, 105 ) ; 32 Text = "Navigator" ; 33 SVLook = TRUE ; 34 DialogControl = TRUE ; 35 Control TLB_OBJECTS 36 { 37 HelpId = HID_SD_NAVIGATOR_TLB ; 38 Border = TRUE ; 39 Pos = MAP_APPFONT ( 3, 20 ) ; 40 Size = MAP_APPFONT ( 6 + BUTTON_WIDTH * BUTTON_COUNT, 67 ) ; 41 TabStop = TRUE ; 42 }; 43 ToolBox 1 44 { 45 HelpId = HID_SD_NAVIGATOR_TBX ; 46 SVLook = TRUE ; 47 Pos = MAP_APPFONT ( 3, 3 ) ; 48 Size = MAP_APPFONT ( 6 + BUTTON_WIDTH, 15 ) ; 49 TabStop = TRUE ; 50 ItemList = 51 { 52 ToolBoxItem 53 { 54 AutoCheck = TRUE ; 55 Identifier = TBI_PEN ; 56 HelpId = HID_SD_NAVIGATOR_TBI_PEN ; 57 Text [ en-US ] = "Pointer" ; 58 }; 59 ToolBoxItem 60 { 61 Type = TOOLBOXITEM_SEPARATOR ; 62 }; 63 ToolBoxItem 64 { 65 Identifier = TBI_FIRST ; 66 HelpId = HID_SD_NAVIGATOR_TBI_FIRST ; 67 //Symbol = IMAGEBUTTON_FIRST ; 68 Text [ en-US ] = "First Slide" ; 69 }; 70 ToolBoxItem 71 { 72 Identifier = TBI_PREVIOUS ; 73 HelpId = HID_SD_NAVIGATOR_TBI_PREV ; 74 //Symbol = IMAGEBUTTON_PREV ; 75 Text [ en-US ] = "Previous Slide" ; 76 }; 77 ToolBoxItem 78 { 79 Identifier = TBI_NEXT ; 80 HelpId = HID_SD_NAVIGATOR_TBI_NEXT ; 81 //Symbol = IMAGEBUTTON_NEXT ; 82 Text [ en-US ] = "Next Slide" ; 83 }; 84 ToolBoxItem 85 { 86 Identifier = TBI_LAST ; 87 HelpId = HID_SD_NAVIGATOR_TBI_LAST ; 88 //Symbol = IMAGEBUTTON_LAST ; 89 Text [ en-US ] = "Last Slide" ; 90 }; 91 ToolBoxItem 92 { 93 Type = TOOLBOXITEM_SEPARATOR ; 94 }; 95 ToolBoxItem 96 { 97 Identifier = TBI_DRAGTYPE ; 98 HelpId = HID_SD_NAVIGATOR_TBI_DRAGTYPE ; 99 DropDown = TRUE ; 100 //Left = FALSE ; 101 Text [ en-US ] = "Drag Mode" ; 102 }; 103 ToolBoxItem 104 { 105 Identifier = TBI_SHAPE_FILTER ; 106 HelpId = HID_SD_NAVIGATOR_TBI_SHAPE_FILTER ; 107 DropDown = TRUE ; 108 Text [ en-US ] = "Show Shapes" ; 109 }; 110 }; 111 }; 112 ListBox LB_DOCS 113 { 114 HelpId = HID_SD_NAVIGATOR_LB ; 115 Border = TRUE ; 116 Pos = MAP_APPFONT ( 3, 89 ) ; 117 Size = MAP_APPFONT ( 6 + BUTTON_WIDTH * BUTTON_COUNT, 90 ) ; 118 TabStop = TRUE ; 119 DropDown = TRUE ; 120 QuickHelpText [ en-US ] = "Documents" ; 121 }; 122 123 #define NAVIGATR_IDLIST \ 124 IdList = \ 125 { \ 126 TBI_PEN ; \ 127 TBI_FIRST ; \ 128 TBI_PREVIOUS ; \ 129 TBI_NEXT ; \ 130 TBI_LAST ; \ 131 TBI_EMBEDDED ; \ 132 TBI_LINK ; \ 133 TBI_HYPERLINK ; \ 134 }; \ 135 IdCount = { 8 ; }; 136 137 #define IMAGE_STDBTN_COLOR Color { Red = 0xff00; Green = 0x0000; Blue = 0xff00; } 138 139 ImageList IL_NAVIGATR 140 { 141 Prefix = "nv" ; 142 MaskColor = IMAGE_STDBTN_COLOR ; 143 NAVIGATR_IDLIST 144 }; 145 ImageList ILH_NAVIGATR 146 { 147 Prefix = "nvh" ; 148 MaskColor = IMAGE_STDBTN_COLOR ; 149 NAVIGATR_IDLIST 150 }; 151}; 152 153String STR_OBJECTS_TREE 154{ 155 Text [ en-US ] = "Page Tree" ; 156}; 157 158// ********************************************************************** EOF 159