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 23 24#include "navigatr.hrc" 25#include "helpids.h" 26#include "res_bmp.hrc" 27#define BUTTON_WIDTH 13 28#define BUTTON_COUNT 7 29#define BUTTON_SIZE MAP_APPFONT( BUTTON_WIDTH, BUTTON_WIDTH ); 30Window FLT_NAVIGATOR 31{ 32 HelpId = HID_SD_NAVIGATOR ; 33 Size = MAP_APPFONT ( 12 + BUTTON_WIDTH * BUTTON_COUNT, 105 ) ; 34 Text = "Navigator" ; 35 SVLook = TRUE ; 36 DialogControl = TRUE ; 37 Control TLB_OBJECTS 38 { 39 HelpId = HID_SD_NAVIGATOR_TLB ; 40 Border = TRUE ; 41 Pos = MAP_APPFONT ( 3, 20 ) ; 42 Size = MAP_APPFONT ( 6 + BUTTON_WIDTH * BUTTON_COUNT, 67 ) ; 43 TabStop = TRUE ; 44 }; 45 ToolBox 1 46 { 47 HelpId = HID_SD_NAVIGATOR_TBX ; 48 SVLook = TRUE ; 49 Pos = MAP_APPFONT ( 3, 3 ) ; 50 Size = MAP_APPFONT ( 6 + BUTTON_WIDTH, 15 ) ; 51 TabStop = TRUE ; 52 ItemList = 53 { 54 ToolBoxItem 55 { 56 AutoCheck = TRUE ; 57 Identifier = TBI_PEN ; 58 HelpId = HID_SD_NAVIGATOR_TBI_PEN ; 59 Text [ en-US ] = "Pointer" ; 60 }; 61 ToolBoxItem 62 { 63 Type = TOOLBOXITEM_SEPARATOR ; 64 }; 65 ToolBoxItem 66 { 67 Identifier = TBI_FIRST ; 68 HelpId = HID_SD_NAVIGATOR_TBI_FIRST ; 69 //Symbol = IMAGEBUTTON_FIRST ; 70 Text [ en-US ] = "First Slide" ; 71 }; 72 ToolBoxItem 73 { 74 Identifier = TBI_PREVIOUS ; 75 HelpId = HID_SD_NAVIGATOR_TBI_PREV ; 76 //Symbol = IMAGEBUTTON_PREV ; 77 Text [ en-US ] = "Previous Slide" ; 78 }; 79 ToolBoxItem 80 { 81 Identifier = TBI_NEXT ; 82 HelpId = HID_SD_NAVIGATOR_TBI_NEXT ; 83 //Symbol = IMAGEBUTTON_NEXT ; 84 Text [ en-US ] = "Next Slide" ; 85 }; 86 ToolBoxItem 87 { 88 Identifier = TBI_LAST ; 89 HelpId = HID_SD_NAVIGATOR_TBI_LAST ; 90 //Symbol = IMAGEBUTTON_LAST ; 91 Text [ en-US ] = "Last Slide" ; 92 }; 93 ToolBoxItem 94 { 95 Type = TOOLBOXITEM_SEPARATOR ; 96 }; 97 ToolBoxItem 98 { 99 Identifier = TBI_DRAGTYPE ; 100 HelpId = HID_SD_NAVIGATOR_TBI_DRAGTYPE ; 101 DropDown = TRUE ; 102 //Left = FALSE ; 103 Text [ en-US ] = "Drag Mode" ; 104 }; 105 ToolBoxItem 106 { 107 Identifier = TBI_SHAPE_FILTER ; 108 HelpId = HID_SD_NAVIGATOR_TBI_SHAPE_FILTER ; 109 DropDown = TRUE ; 110 Text [ en-US ] = "Show Shapes" ; 111 }; 112 }; 113 }; 114 ListBox LB_DOCS 115 { 116 HelpId = HID_SD_NAVIGATOR_LB ; 117 Border = TRUE ; 118 Pos = MAP_APPFONT ( 3, 89 ) ; 119 Size = MAP_APPFONT ( 6 + BUTTON_WIDTH * BUTTON_COUNT, 90 ) ; 120 TabStop = TRUE ; 121 DropDown = TRUE ; 122 QuickHelpText [ en-US ] = "Documents" ; 123 }; 124 125 #define NAVIGATR_IDLIST \ 126 IdList = \ 127 { \ 128 TBI_PEN ; \ 129 TBI_FIRST ; \ 130 TBI_PREVIOUS ; \ 131 TBI_NEXT ; \ 132 TBI_LAST ; \ 133 TBI_EMBEDDED ; \ 134 TBI_LINK ; \ 135 TBI_HYPERLINK ; \ 136 }; \ 137 IdCount = { 8 ; }; 138 139 #define IMAGE_STDBTN_COLOR Color { Red = 0xff00; Green = 0x0000; Blue = 0xff00; } 140 141 ImageList IL_NAVIGATR 142 { 143 Prefix = "nv" ; 144 MaskColor = IMAGE_STDBTN_COLOR ; 145 NAVIGATR_IDLIST 146 }; 147 ImageList ILH_NAVIGATR 148 { 149 Prefix = "nvh" ; 150 MaskColor = IMAGE_STDBTN_COLOR ; 151 NAVIGATR_IDLIST 152 }; 153}; 154 155String STR_OBJECTS_TREE 156{ 157 Text [ en-US ] = "Page Tree" ; 158}; 159 160// ********************************************************************** EOF 161