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