Example #1
0
 public FFIXTextTag(FFIXTextTagCode code, params Int32[] param)
 {
     Code  = code;
     Param = param;
 }
Example #2
0
        internal static Boolean KeepKeyIcon(StringBuilder sb, FFIXTextTagCode tagCode)
        {
            switch (tagCode)
            {
            case FFIXTextTagCode.Up:
                sb.Append("[DBTN=UP] ");
                break;

            case FFIXTextTagCode.Down:
                sb.Append("[DBTN=DOWN] ");
                break;

            case FFIXTextTagCode.Left:
                sb.Append("[DBTN=LEFT] ");
                break;

            case FFIXTextTagCode.Right:
                sb.Append("[DBTN=RIGHT] ");
                break;

            case FFIXTextTagCode.Circle:
                sb.Append("[DBTN=CIRCLE] ");
                break;

            case FFIXTextTagCode.Cross:
                sb.Append("[DBTN=CROSS] ");
                break;

            case FFIXTextTagCode.Triangle:
                sb.Append("[DBTN=TRIANGLE] ");
                break;

            case FFIXTextTagCode.Square:
                sb.Append("[DBTN=SQUARE] ");
                break;

            case FFIXTextTagCode.R1:
                sb.Append("[DBTN=R1] ");
                break;

            case FFIXTextTagCode.R2:
                sb.Append("[DBTN=R2] ");
                break;

            case FFIXTextTagCode.L1:
                sb.Append("[DBTN=L1] ");
                break;

            case FFIXTextTagCode.L2:
                sb.Append("[DBTN=L2] ");
                break;

            case FFIXTextTagCode.Select:
                sb.Append("[DBTN=SELECT] ");
                break;

            case FFIXTextTagCode.Start:
                sb.Append("[DBTN=START] ");
                break;

            case FFIXTextTagCode.Pad:
                sb.Append("[DBTN=PAD] ");
                break;

            default:
                return(false);
            }
            return(true);
        }
Example #3
0
 public FFIXTextTag(FFIXTextTagCode code)
 {
     Code  = code;
     Param = null;
 }