/************************************************************** * * 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 #include "PropertyPanel.hrc" #include "WrapPropertyPanel.hrc" #include "helpid.h" #define IMAGEBUTTON_WIDTH 16 #define IMAGEBUTTON_HEIGH 18 #define IMAGEBUTTON_GAP 1 Control RID_PROPERTYPANEL_SWOBJWRAP_PAGE { OutputSize = TRUE; DialogControl = TRUE; Border = FALSE; Size = MAP_APPFONT( PROPERTYPAGE_WIDTH, SECTIONPAGE_MARGIN_VERTICAL_BOT + SECTIONPAGE_MARGIN_VERTICAL_TOP + IMAGEBUTTON_HEIGH ); HelpID = HID_PROPERTYPANEL_WRAP_SECTION ; Text [ en-US ] = "Wrap"; ImageRadioButton RB_NO_WRAP { Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL, SECTIONPAGE_MARGIN_VERTICAL_TOP ); Size = MAP_APPFONT ( IMAGEBUTTON_WIDTH , IMAGEBUTTON_HEIGH ); TopImage = True; HelpID = HID_PROPERTYPANEL_WRAP_RB_NO_WRAP ; QuickHelpText [ en-US ] = "None"; }; ImageRadioButton RB_WRAP_LEFT { Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL + IMAGEBUTTON_WIDTH + IMAGEBUTTON_GAP, SECTIONPAGE_MARGIN_VERTICAL_TOP ); Size = MAP_APPFONT ( IMAGEBUTTON_WIDTH , IMAGEBUTTON_HEIGH ); TopImage = True; HelpID = HID_PROPERTYPANEL_WRAP_RB_WRAP_LEFT ; QuickHelpText [ en-US ] = "Before"; }; ImageRadioButton RB_WRAP_RIGHT { Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL + (IMAGEBUTTON_WIDTH + IMAGEBUTTON_GAP)*2 , SECTIONPAGE_MARGIN_VERTICAL_TOP ); Size = MAP_APPFONT ( IMAGEBUTTON_WIDTH , IMAGEBUTTON_HEIGH ); TopImage = True; HelpID = HID_PROPERTYPANEL_WRAP_RB_WRAP_RIGHT ; QuickHelpText [ en-US ] = "After"; }; ImageRadioButton RB_WRAP_PARALLEL { Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL + (IMAGEBUTTON_WIDTH + IMAGEBUTTON_GAP)*3 , SECTIONPAGE_MARGIN_VERTICAL_TOP ); Size = MAP_APPFONT (IMAGEBUTTON_WIDTH , IMAGEBUTTON_HEIGH ); TopImage = True; HelpID = HID_PROPERTYPANEL_WRAP_RB_WRAP_PARALLEL ; QuickHelpText [ en-US ] = "Parallel"; }; ImageRadioButton RB_WRAP_THROUGH { Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL + (IMAGEBUTTON_WIDTH + IMAGEBUTTON_GAP)*4 , SECTIONPAGE_MARGIN_VERTICAL_TOP ); Size = MAP_APPFONT (IMAGEBUTTON_WIDTH , IMAGEBUTTON_HEIGH ); TopImage = True; HelpID = HID_PROPERTYPANEL_WRAP_RB_WRAP_THROUGH ; QuickHelpText [ en-US ] = "Through"; }; ImageRadioButton RB_WRAP_IDEAL { Pos = MAP_APPFONT ( SECTIONPAGE_MARGIN_HORIZONTAL + (IMAGEBUTTON_WIDTH + IMAGEBUTTON_GAP)*5 , SECTIONPAGE_MARGIN_VERTICAL_TOP ); Size = MAP_APPFONT (IMAGEBUTTON_WIDTH , IMAGEBUTTON_HEIGH ); TopImage = True; HelpID = HID_PROPERTYPANEL_WRAP_RB_WRAP_IDEAL ; QuickHelpText [ en-US ] = "Optimal"; }; };