/**************************************************************
 * 
 * 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 "parawin.hrc"
#include "ForResId.hrc"
#include "helpids.hrc"

#define STD_MASKCOLOR Color { Red=0xFFFF; Green=0x0000; Blue=0xFFFF; }
 //---------------------------------------------------------------------------

#define FT_ARGBLOCK( y )					\
    Pos = MAP_APPFONT (6 , y ) ; \
    Size = MAP_APPFONT ( 74 , 8 ) ; \
    Right = TRUE ;

#define FXBUTTONBLOCK( y )				\
    Pos = MAP_APPFONT (83 , y-1 ) ; \
    Size = MAP_APPFONT ( 13 , 15 ) ; \
    TabStop = TRUE ; \
    ButtonImage = Image\
    {\
        ImageBitmap = Bitmap\
        {\
            File = "fx.bmp" ; \
        };\
        MaskColor = STD_MASKCOLOR;\
    };

#define ED_ARGBLOCK( y )				\
		Border = TRUE;					\
		Pos = MAP_APPFONT( 98, y );		\
		Size = MAP_APPFONT( 66, 12 );	\
		TabStop = TRUE;

#define RB_ARGBLOCK( y )				\
    Pos = MAP_APPFONT ( 166 , y-1 ) ; \
    Size = MAP_APPFONT ( 13 , 15 ) ; \
    TabStop = FALSE ; 	\
	QuickHelpText [ en-US ] = "Select";	\

 //---------------------------------------------------------------------------

 //	jetzt alles zusammen

TabPage RID_FORMULATAB_PARAMETER
{
    HelpID = "formula:TabPage:RID_FORMULATAB_PARAMETER";
	Border	= FALSE;
	Size	= MAP_APPFONT( 203, 128 );
	DialogControl        = TRUE;
	SVLook               = TRUE;

	FixedText FT_EDITDESC
	{
		Pos = MAP_APPFONT (3 , 6 ) ;
		Size = MAP_APPFONT ( 198 , 20 ) ;
		WordBreak = TRUE ;
		Text [ en-US ] = "Function not known";
	};

	FixedText FT_PARNAME
	{
		Pos = MAP_APPFONT ( 3, 29) ;
		Size = MAP_APPFONT ( 198 , 10 ) ;
	};
	FixedText FT_PARDESC
	{
		Pos = MAP_APPFONT ( 3, 42 ) ;
		Size = MAP_APPFONT ( 198 , 20 ) ;
		WordBreak = TRUE ;
	};

	FixedText FT_ARG1 { FT_ARGBLOCK (  66 ) };
	FixedText FT_ARG2 { FT_ARGBLOCK (  81 ) };
	FixedText FT_ARG3 { FT_ARGBLOCK (  96 ) };
	FixedText FT_ARG4 { FT_ARGBLOCK ( 111 ) };

	ImageButton BTN_FX1
	{
        HelpId=HID_FORMULA_FAP_BTN_FX1;
		FXBUTTONBLOCK (  64 )
	};
	ImageButton BTN_FX2
	{
        HelpId=HID_FORMULA_FAP_BTN_FX2;
		FXBUTTONBLOCK (  79 )
	};

	ImageButton BTN_FX3
	{
        HelpId=HID_FORMULA_FAP_BTN_FX3;
		FXBUTTONBLOCK (  94 )
	};
	ImageButton BTN_FX4
	{
        HelpId=HID_FORMULA_FAP_BTN_FX4;
		FXBUTTONBLOCK ( 109 )
	};
	Edit ED_ARG1 { ED_ARGBLOCK (  64 ) 
	    HelpID = "formula:Edit:RID_FORMULATAB_PARAMETER:ED_ARG1";
	};
	Edit ED_ARG2 { ED_ARGBLOCK (  79 ) 
	    HelpID = "formula:Edit:RID_FORMULATAB_PARAMETER:ED_ARG2";
	};
	Edit ED_ARG3 { ED_ARGBLOCK (  94 ) 
	    HelpID = "formula:Edit:RID_FORMULATAB_PARAMETER:ED_ARG3";
	};
	Edit ED_ARG4 { ED_ARGBLOCK ( 109 ) 
	    HelpID = "formula:Edit:RID_FORMULATAB_PARAMETER:ED_ARG4";
	};

	ImageButton RB_ARG1
	{
        HelpId=HID_FORMULA_FAP_BTN_REF1;
		RB_ARGBLOCK (  64 )
	};

	ImageButton RB_ARG2
	{
        HelpId=HID_FORMULA_FAP_BTN_REF2;
		RB_ARGBLOCK (  79 )
	};
	ImageButton RB_ARG3
	{
        HelpId=HID_FORMULA_FAP_BTN_REF3;
		RB_ARGBLOCK (  94 )
	};
	ImageButton RB_ARG4
	{
        HelpId=HID_FORMULA_FAP_BTN_REF4;
		RB_ARGBLOCK ( 109 )
	};

	ScrollBar WND_SLIDER
	{
		Pos = MAP_APPFONT ( 183, 63 ) ;
        Size = MAP_APPFONT ( 8 , 59 ) ;
		VScroll = TRUE ;
	};

    String STR_OPTIONAL
	{
		Text [ en-US ] = "(optional)" ;
	};
	String STR_REQUIRED
	{
		Text [ en-US ] = "(required)" ;
	};

    Image IMG_FX_H
    {
        ImageBitmap = Bitmap { File = "fx_h.bmp" ; };
        MaskColor = STD_MASKCOLOR;
    };
    
};


















