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 "custsdlg.hrc" 23#include "app.hrc" 24#include "helpids.h" 25#define DIFF 20 26#define DIFF_Y 17 27ModalDialog DLG_CUSTOMSHOW 28{ 29 HelpID = CMD_SID_CUSTOMSHOW_DLG ; 30 OutputSize = TRUE ; 31 SVLook = TRUE ; 32 Size = MAP_APPFONT ( 195 + DIFF, 114 + DIFF_Y ) ; 33 Moveable = TRUE ; 34 Closeable = TRUE ; 35 PushButton BTN_NEW 36 { 37 HelpID = "sd:PushButton:DLG_CUSTOMSHOW:BTN_NEW" ; 38 Pos = MAP_APPFONT ( 140 + DIFF, 6 ) ; 39 Size = MAP_APPFONT ( 50, 14 ) ; 40 TabStop = TRUE ; 41 Text [ en-US ] = "~New..." ; 42 }; 43 PushButton BTN_EDIT 44 { 45 HelpID = "sd:PushButton:DLG_CUSTOMSHOW:BTN_EDIT" ; 46 Pos = MAP_APPFONT ( 140 + DIFF, 23 ) ; 47 Size = MAP_APPFONT ( 50, 14 ) ; 48 TabStop = TRUE ; 49 Text [ en-US ] = "~Edit..." ; 50 }; 51 PushButton BTN_REMOVE 52 { 53 HelpID = "sd:PushButton:DLG_CUSTOMSHOW:BTN_REMOVE" ; 54 Pos = MAP_APPFONT ( 140 + DIFF, 40 ) ; 55 Size = MAP_APPFONT ( 50, 14 ) ; 56 TabStop = TRUE ; 57 Text [ en-US ] = "~Delete" ; 58 }; 59 PushButton BTN_COPY 60 { 61 HelpID = "sd:PushButton:DLG_CUSTOMSHOW:BTN_COPY" ; 62 Pos = MAP_APPFONT ( 140 + DIFF, 57 ) ; 63 Size = MAP_APPFONT ( 50, 14 ) ; 64 TabStop = TRUE ; 65 Text [ en-US ] = "Cop~y" ; 66 }; 67 HelpButton BTN_HELP 68 { 69 Pos = MAP_APPFONT ( 140 + DIFF, 74 ) ; 70 Size = MAP_APPFONT ( 50, 14 ) ; 71 TabStop = TRUE ; 72 }; 73 PushButton BTN_STARTSHOW 74 { 75 HelpID = "sd:PushButton:DLG_CUSTOMSHOW:BTN_STARTSHOW" ; 76 Pos = MAP_APPFONT ( 140 + DIFF, 94 ) ; 77 Size = MAP_APPFONT ( 50, 14 ) ; 78 TabStop = TRUE ; 79 Text [ en-US ] = "~Start" ; 80 }; 81 OKButton BTN_OK 82 { 83 Pos = MAP_APPFONT ( 140 + DIFF, 94 + DIFF_Y ) ; 84 Size = MAP_APPFONT ( 50, 14 ) ; 85 TabStop = TRUE ; 86 DefButton = TRUE ; 87 Text [ en-US ] = "~Close" ; 88 }; 89 ListBox LB_CUSTOMSHOWS 90 { 91 HelpID = "sd:ListBox:DLG_CUSTOMSHOW:LB_CUSTOMSHOWS" ; 92 Border = TRUE ; 93 Pos = MAP_APPFONT ( 6, 6 ) ; 94 Size = MAP_APPFONT ( 128 + DIFF, 86 + DIFF_Y ) ; 95 TabStop = TRUE ; 96 QuickHelpText [ en-US ] = "Custom Slide Show" ; 97 }; 98 CheckBox CBX_USE_CUSTOMSHOW 99 { 100 HelpID = "sd:CheckBox:DLG_CUSTOMSHOW:CBX_USE_CUSTOMSHOW" ; 101 Pos = MAP_APPFONT ( 6, 96 + DIFF_Y ) ; 102 Size = MAP_APPFONT ( 128 + DIFF, 12 ) ; 103 TabStop = TRUE ; 104 Text [ en-US ] = "~Use Custom Slide Show" ; 105 }; 106 Text [ en-US ] = "Custom Slide Shows" ; 107}; 108ModalDialog DLG_DEFINE_CUSTOMSHOW 109{ 110 HelpID = HID_DLG_DEFINE_CUSTOMSHOW ; 111 OutputSize = TRUE ; 112 SVLook = TRUE ; 113 Size = MAP_APPFONT ( 248, 147 ) ; 114 Moveable = TRUE ; 115 Closeable = TRUE ; 116 OKButton BTN_OK 117 { 118 Pos = MAP_APPFONT ( 192, 6 ) ; 119 Size = MAP_APPFONT ( 50, 14 ) ; 120 TabStop = TRUE ; 121 DefButton = TRUE ; 122 }; 123 CancelButton BTN_CANCEL 124 { 125 Pos = MAP_APPFONT ( 192, 23 ) ; 126 Size = MAP_APPFONT ( 50, 14 ) ; 127 TabStop = TRUE ; 128 }; 129 HelpButton BTN_HELP 130 { 131 Pos = MAP_APPFONT ( 192, 43 ) ; 132 Size = MAP_APPFONT ( 50, 14 ) ; 133 TabStop = TRUE ; 134 }; 135 FixedText FT_NAME 136 { 137 Pos = MAP_APPFONT ( 6, 8 ) ; 138 Size = MAP_APPFONT ( 34, 10 ) ; 139 Text [ en-US ] = "Name" ; 140 }; 141 Edit EDT_NAME 142 { 143 HelpID = "sd:Edit:DLG_DEFINE_CUSTOMSHOW:EDT_NAME" ; 144 Border = TRUE ; 145 Pos = MAP_APPFONT ( 42, 6 ) ; 146 Size = MAP_APPFONT ( 144, 12 ) ; 147 TabStop = TRUE ; 148 }; 149 MultiListBox LB_PAGES 150 { 151 HelpID = "sd:MultiListBox:DLG_DEFINE_CUSTOMSHOW:LB_PAGES" ; 152 Border = TRUE ; 153 Pos = MAP_APPFONT ( 6, 35 ) ; 154 Size = MAP_APPFONT ( 79, 105 ) ; 155 TabStop = TRUE ; 156 SimpleMode = TRUE ; 157 }; 158 PushButton BTN_ADD 159 { 160 HelpID = "sd:PushButton:DLG_DEFINE_CUSTOMSHOW:BTN_ADD" ; 161 Pos = MAP_APPFONT ( 89, 71 ) ; 162 Size = MAP_APPFONT ( 14, 14 ) ; 163 Text = "~>" ; 164 TabStop = TRUE ; 165 }; 166 Control LB_CUSTOM_PAGES 167 { 168 HelpID = HID_DLG_DEFINE_CUSTOMSHOW_CTL ; 169 Border = TRUE ; 170 Pos = MAP_APPFONT ( 107, 35 ) ; 171 Size = MAP_APPFONT ( 79, 105 ) ; 172 TabStop = TRUE ; 173 }; 174 PushButton BTN_REMOVE 175 { 176 HelpID = "sd:PushButton:DLG_DEFINE_CUSTOMSHOW:BTN_REMOVE" ; 177 Pos = MAP_APPFONT ( 89, 89 ) ; 178 Size = MAP_APPFONT ( 14, 14 ) ; 179 Text = "~<" ; 180 TabStop = TRUE ; 181 }; 182 FixedText FT_PAGES 183 { 184 Pos = MAP_APPFONT ( 6, 24 ) ; 185 Size = MAP_APPFONT ( 82, 10 ) ; 186 Text [ en-US ] = "Existing slides" ; 187 }; 188 FixedText FT_CUSTOM_PAGES 189 { 190 Pos = MAP_APPFONT ( 107, 24 ) ; 191 Size = MAP_APPFONT ( 82, 10 ) ; 192 Text [ en-US ] = "Selected slides" ; 193 }; 194 Text [ en-US ] = "Define Custom Slide Show" ; 195}; 196 197// ********************************************************************** EOF 198