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

📄 network.h

📁 The major functionality added in this release includes: - Rootless mode in X11 - Widget Templt
💻 H
📖 第 1 页 / 共 2 页
字号:
  u16 dummy;};struct pgreqd_set {  u32 widget;  u32 glob;  u16 property;  u16 dummy;};struct pgreqd_get {  u32 widget;  u16 property;  u16 dummy;};struct pgreqd_in_key {  u32 type;   /* A PG_TRIGGER_* constant */  u16 key;  u16 mods;};struct pgreqd_in_point {  u32 type;   /* A PG_TRIGGER_* constant */  u16 x;  u16 y;  u16 btn;  /* button bitmask */  u16 dummy;};struct pgreqd_in_direct {  u32 param;   /* The arbitrary parameter */  /* The rest of the packet is read as a string */};struct pgreqd_themeset {  u32 value;  u16 element;  u16 state;  u16 param;  u16 dummy;};struct pgreqd_register {  /* This is just a subset of app_info, organized for network     transmission */  u32 name;  /* string handle */  u16 type;  u16 dummy;  /* Followed by optional APPSPECs */};struct pgreqd_setmode {  u16 xres;      /* If these are zero, mode is not changed */  u16 yres;  u16 bpp;       /* Zero to leave alone */  u16 flagmode;  /* A PG_FM_* constant */  u32 flags;     /* Merged with existing flags according to flagmode */};struct pgreqd_sizetext {  u32 text;  /* Handle to text and to font */  u32 font;};struct pgreqd_setpayload {  u32 h;        /* Any handle */  u32 payload;  /* 32-bits of data to store with			     the handle'd object */};struct pgreqd_mkmsgdlg {  u32 title;  u32 text;  u32 flags;};struct pgreqd_regowner {  u16 res;     /* A resource to own: PG_OWN_* */};struct pgreqd_render {  /* Handle of a bitmap to render to. If this is null,   * _and_ the client has been registered as owning the display,   * the destination will be vid->display   */  u32 dest;  u32 groptype;    /* PG_GROP_* constant */  /* Followed by a number of 32-bit parameters.   * like PGCANVAS_GROP, the first four must be x,y,w,h unless it is an   * unpositioned gropnode. The rest are treated as gropnode parameters.   */};struct pgreqd_newbitmap {  u16 width;  u16 height;};struct pgreqd_thlookup {  u16 object;  u16 property;};struct pgreqd_setinactive {  u32 time;};struct pgreqd_drivermsg {  u32 message;  u32 param;};struct pgreqd_chcontext {  u32 handle;  s16 delta;   /* Add this value to the context, may be negative */  u16 dummy;};struct pgreqd_getfstyle {  /* The index of a font style, in the order that it has been   * compiled/loaded into pgserver. Starts with zero, increment it until   * an invalid font style is returned    */  u16 index;  u16 dummy;};struct pgreqd_traversewgt {  u32 widget;  u16 direction;                /* PG_TRAVERSE_* flag */  u16 count;};struct pgreqd_rmcontext {  /* This entire structure is optional.   * If it's absent, this removes the app's current context and    * decrements. If it's here, the specified context is removed   * and the app's context number is left alone.   */  u32 context;};struct pgreqd_setcontext {  u32 context;};struct pgreqd_getresource {  u32 id;};struct pgreqd_mkinfilter {  u32 insert_after;        /* Handle of the filter to insert this one after, or 0			    * for this filter to be the first in the chain.			    */  u32 accept_trigs;        /* Mask of triggers that this filter should accept */  u32 absorb_trigs;        /* Mask of triggers not to automatically pass on   */};struct pgreqd_infiltersend {  union pg_client_trigger trig;};struct pgreqd_mkshmbitmap {  u32 bitmap;    /* Bitmap handle to memory map */  u32 uid;       /* UID of the client process   */};/* Added by kdhong */struct pgreqd_mkadvbitmap {  u16 width;  u16 height;  u32 bpp;  u32 clut[256];  u32 clutsize;};struct pgdata_advbitmap {  pghandle handle;  unsigned int hwhandle;};struct pgreqd_setclut {  pghandle h;  u32 clut[256];  u32 clutsize;};/* Added by kdhong */struct pgdata_getfstyle {  /* This is returned by getfstyle.   * If name[0] is 0, the font style index was invalid   */  char name[40];          /* Name of the font family */  unsigned short size;    /* Height in pixels (for bitmapped fonts) */  unsigned short fontrep; /* PG_FR_* flags for font representation */  unsigned long  flags;   /* PG_FSTYLE_* flags for font style itself */};/* A structure for encapsulating commands, for example in canvas, within * a RQH_WRITETO */struct pgcommand {   u16 command;   u16 numparams;   /* Followed by numparams * signed long */};/* Returned by rqh_getmode */struct pgmodeinfo {   u32 flags;   u16 xres;     /* Physical resolution */   u16 yres;   u16 lxres;    /* Logical resolution */   u16 lyres;   u16 bpp;     u16 dummy;};/* Returned by rqh_mkshmbitmap, represents a picogui bitmap * that has been exported as shared memory. The returned SHM key * will be valid as long as the bitmap it was created from exists. * This structure supplies as much information about the bitmap's * internal representation as possible, as the client must manipulate * the bitmap in our video driver's native format, whatever that *  might be. All values here are in network byte order. */struct pgshmbitmap {  u32 shm_key;             /* System V shared memory key          */  u32 shm_length;          /* Length in bytes of shared segment   */  u32 format;              /* PG_BITFORMAT_* flags                */  u32 palette;             /* A handle to the associated palette  */  u16 width;               /* Physical resolution of bitmap       */  u16 height;              /*   (doesn't account for rotation)    */  u16 bpp;  u16 pitch;  u32 red_mask;            /* For true color modes, masks of bits */  u32 green_mask;          /*   occupied by all the color fields  */  u32 blue_mask;  u32 alpha_mask;  u16 red_shift;           /* For true color modes, number of     */  u16 green_shift;         /*   bits each color field is shifted  */  u16 blue_shift;          /*   left.                             */  u16 alpha_shift;  u16 red_length;          /* For true color modes, length        */  u16 green_length;        /*   in bits of each color field       */  u16 blue_length;  u16 alpha_length;};   #endif /* __H_PG_NETWORK *//* The End */

⌨️ 快捷键说明

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