⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rcp2c.h

📁 关于rcp2c_v3.rar协议在LINUX下的实现程序
💻 H
📖 第 1 页 / 共 5 页
字号:
  /*
   * int reserved;           zb 
   */
  char *szIdName;
}
RCFieldBA32Type;

#define szRCFieldBA32 "w4,w,uuuuuuuu,u2u2uuuzu,p,zl,zl,zw,zw,w,zw,zw,zw,zw,b,zb"

typedef union _rcFieldType
{
  RCFieldBA16Type s16;
  RCFieldBA32Type s32;
}
RCFieldType;

/*
 * ------------------ Table ------------------ 
 */
typedef struct _rcTableColumnAttrBA16Type
{
  int width;                                     /* w  */
  /*
   * int reserved1;                                              zt5 
   */
  int masked;                                    /* t  */
  int editIndicator;                             /* t  */
  int usable;                                    /* t */
  /*
   * int reserved2;                                                  zb 
   */
  int spacing;                                   /* w  */
  /*
   * TableDrawItemFuncPtr drawCallback;           zl 
   */
  /*
   * TableLoadDataFuncPtr loadDataCallback;   zl 
   */
  /*
   * TableSaveDataFuncPtr saveDataCallback;   zl 
   */
}
RCTableColumnAttrBA16Type;

#define szRCTableColumnAttrBA16 "w,zt5tttzb,w,zl,zl,zl"

typedef struct _rcTableColumnAttrBA32Type
{
  int width;                                     /* w  */
  int spacing;                                   /* w  */
  /*
   * int reserved1;                                              zt5 
   */
  int masked;                                    /* t  */
  int editIndicator;                             /* t  */
  int usable;                                    /* t */
  /*
   * int reserved2;                                                  zb 
   */
  /*
   * int reserved3;                                                  zw 
   */
  /*
   * TableDrawItemFuncPtr drawCallback;                   zl 
   */
  /*
   * TableLoadDataFuncPtr loadDataCallback;   zl 
   */
  /*
   * TableSaveDataFuncPtr saveDataCallback;   zl 
   */
}
RCTableColumnAttrBA32Type;

#define szRCTableColumnAttrBA32 "w,w,zt5tttzb,zw,zl,zl,zl"

#define szRCTABLECOLUMNATTR (vfLE32?szRCTableColumnAttrBA32:szRCTableColumnAttrBA16)
typedef union _RCTABLECOLUMNATTR
{
  RCTableColumnAttrBA16Type s16;
  RCTableColumnAttrBA32Type s32;
}
RCTABLECOLUMNATTR;

typedef struct _rcTableRowAttrType
{
  int id;                                        /* w  */
  int height;                                    /* w  */
  /*
   * DWord data;             zl 
   */
  /*
   * int reserved1;                  zt7 
   */
  int usable;                                    /* t  */
  /*
   * int reserved2;                  zt4 
   */
  int masked;                                    /* t  */
  int invalid;                                   /* t  */
  int staticHeight;                              /* t  */
  int selectable;                                /* t  */
  /*
   * int reserved3;                  zw 
   */
  char *szIdName;
}
RCTABLEROWATTR;

#define szRCTABLEROWATTR "w,w,zl,zt7t,zt4tttt,zw"

/*
 * this is bogus...don't know why 
 */
#define szRCTABLEPADDING "zl,zl"

typedef struct RCTableAttrType
{
  int visible;                                   /* u */
  int editable;                                  /* u */
  int editing;                                   /* u */
  int selected;                                  /* u */
  int hasScrollBar;                              /* u */
  /*
   * int reserved;                   zu11 
   */
}
RCTABLEATTR;                                     /* uuuu uzu11 */

typedef struct _rcTableBA16Type
{
  int id;                                        /* w  */
  RCRECT bounds;                                 /* w4 */
  RCTABLEATTR attr;                              /* uuuu uzu11 */
  int numColumns;                                /* w */
  int numRows;                                   /* w */
  int currentRow;                                /* w */
  int currentColumn;                             /* w */
  int topRow;                                    /* w */
  /*
   * TableColumnAttrType * columnAttrs;           zl 
   */
  /*
   * TableRowAttrType *      rowAttrs;            zl 
   */
  /*
   * TableItemPtr            items;                   zl 
   */
  RCFieldBA16Type currentField;
  /*
   * not emitted 
   */
  int *rgdxcol;
  char *szIdName;
}
RCTableBA16Type;

#define szRCTableBA16 "w,w4,uuuuuzu11,w,w,w,w,w,zl,zl,zl"##szRCFieldBA16
typedef struct _rcTableBA32Type
{
  int id;                                        /* w  */
  RCTABLEATTR attr;                              /* uuuu uzu11 */
  RCRECT bounds;                                 /* w4 */
  int numColumns;                                /* w */
  int numRows;                                   /* w */
  int currentRow;                                /* w */
  int currentColumn;                             /* w */
  int topRow;                                    /* w */
  /*
   * int reserved                                    zw 
   */
  /*
   * TableColumnAttrType *   columnAttrs; zl 
   */
  /*
   * TableRowAttrType *      rowAttrs;            zl 
   */
  /*
   * TableItemPtr            items;                    zl 
   */
  RCFieldBA32Type currentField;
  /*
   * not emitted 
   */
  int *rgdxcol;
  char *szIdName;
}
RCTableBA32Type;

#define szRCTableBA32 "w,uuuuuzu11,w4,w,w,w,w,w,zw,zl,zl,zl"##szRCFieldBA32

typedef union _rcTableType
{
  RCTableBA16Type s16;
  RCTableBA32Type s32;
}
RCTableType;

/*
 * ------------------ Form Label ------------------ 
 */

/*
 * form.h 
 */
typedef struct _rcformobjattr
{
  int usable;                                    /* t,zt7 (opt) */
  /*
   * int reserved            zb 
   */
}
RCFORMOBJATTR;                                   /* tzt7,zb */

typedef struct _rcFormLabelBA16Type
{
  int id;                                        /* w */
  RCPOINT pos;                                   /* w2 */
  RCFORMOBJATTR attr;                            /* uzu15 */
  int fontID;                                    /* b */
  /*
   * int reserved        zb 
   */
  char *text;                                    /* p */
  char *szIdName;
}
RCFormLabelBA16Type;

#define szRCFormLabelBA16 "w,w2,uzu15,b,zb,p"

typedef struct _rcFormLabelBA32Type
{
  RCPOINT pos;                                   /* w2 */
  char *text;                                    /* p */
  int id;                                        /* w */
  RCFORMOBJATTR attr;                            /* uzu15 */
  int fontID;                                    /* b */
  /*
   * int reserved        zb 
   */
  /*
   * int padding;            zw 
   */
  char *szIdName;
}
RCFormLabelBA32Type;

#define szRCFormLabelBA32 "w2,p,w,uzu15,b,zb,zw"

typedef union _rcFormLabelType
{
  RCFormLabelBA16Type s16;
  RCFormLabelBA32Type s32;
}
RCFormLabelType;

/*
 * ------------------ Form Title ------------------ 
 */
typedef struct _rcformtitle
{
  RCRECT rect;                                   /* w4 */
  char *text;                                    /* p */
}
RCFORMTITLE;

#define szRCFORMTITLE "w4,p"

/*
 * ------------------ Form Popup ------------------ 
 */
typedef struct _rcformpopup
{
  int controlID;                                 /* w */
  int listID;                                    /* w */
  char *szControlIdName;
  char *szListIdName;
}
RCFORMPOPUP;

#define szRCFORMPOPUP "ww"

/*
 * ------------------ Form Graffiti State ------------------ 
 */
typedef struct _rcgsi
{
  RCPOINT pos;                                   /* w2 */
}
RCFORMGRAFFITISTATE;

#define szRCFORMGRAFFITISTATE "w2"

/*
 * ------------------ Form Gadget ------------------ 
 */
typedef struct _rcFormGadgetAttr
{
  int usable;                                    /* u */
  int extended;                                  /* u */
  int visible;                                   /* u */
  /*
   * int reserved            zu13 
   */
}
RCFormGadgetAttr;                                /* uuuzu13 */

typedef struct _rcformgadget
{
  int id;                                        /* w */
  RCFormGadgetAttr attr;                         /* uuuzu13 */
  RCRECT rect;                                   /* w4 */
  /*
   * VoidPtr data;                                   zl 
   */
  /*
   * FormGadgetHandlerType        *handler   zl 
   */
  char *szIdName;
}
RCFORMGADGET;

#define szRCFORMGADGET "w,uuuzu13,w4,zl,zl"

/*
 * ------------------ Form Bitmap ------------------ 
 */
typedef struct _rcFormBitMapBA16Type
{
  RCFORMOBJATTR attr;                            /* uzu15 */
  RCPOINT pos;                                   /* w2 */
  int rscID;                                     /* w */
  char *szRscIdName;
}
RCFormBitMapBA16Type;

#define szRCFormBitMapBA16 "uzu15,w2,w"

typedef struct _rcFormBitMapBA32Type
{
  RCFORMOBJATTR attr;                            /* uzu15 */
  int rscID;                                     /* w */
  RCPOINT pos;                                   /* w2 */
  char *szRscIdName;
}
RCFormBitMapBA32Type;

#define szRCFormBitMapBA32 "uzu15,w,w2"

typedef union _rcFormBitMapType
{
  RCFormBitMapBA16Type s16;
  RCFormBitMapBA32Type s32;
}
RCFormBitMapType;

/*
 * ------------------ Control ------------------ 
 */
typedef struct _rccontrolattr
{
  int usable;                                    /* u  */
  int enabled;                                   /* u  */
  int visible;                                   /* u  *//* OS use internal */
  int on;                                        /* u  */
  int leftAnchor;                                /* u  */
  int frame;                                     /* u3 */

  int drawnAsSelected;                           /* u  */
  int graphical;                                 /* u  */
  int vertical;                                  /* u  */
  /*
   * int reserved;                   zu5 
   */
}
RCCONTROLATTR;                                   /* uuuuuu3 uuuzu5 */

typedef struct _rcControlBA16Type
{
  int id;                                        /* w */
  RCRECT bounds;                                 /* w4 */
  union
  {
    struct
    {
      short backgroundid;                        /* l/2 switch order on intel */
      short thumbid;                             /* l/2 */
    }
    ids;
    char *text;                                  /* p */
  }
  u;
  RCCONTROLATTR attr;                            /* uuuuuu3 uuuzu5 */
  int style;                                     /* b */
  int font;                                      /* b */
  int group;                                     /* b */
  char *szIdName;
  char *szBackgroundIdName;
  char *szThumbIdName;
}
RCControlBA16Type;

#define szRCControlBA16 "w,w4,p,uuuuuu3,uuuzu5,b,b,b,zb"
#define szRCGraphicalControlBA16 "w,w4,l,uuuuuu3,uuuzu5,b,b,b,zb"

typedef struct _rcControlBA32Type
{
  int id;                                        /* w */
  RCCONTROLATTR attr;                            /* uuuuuu3 uuuzu5 */
  RCRECT bounds;                                 /* w4 */
  union
  {
    struct
    {
      short backgroundid;                        /* l/2 switch order on intel */
      short thumbid;                             /* l/2 */
    }
    ids;
    char *text;                                  /* p */
  }
  u;
  ControlStyles style;                           /* b */
  int font;                                      /* b */
  int group;                                     /* b */
  /*
   * int reserved;                           zb 
   */
  char *szIdName;
  char *szBackgroundIdName;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -