From: John Tsiombikas Date: Tue, 23 Oct 2018 21:27:14 +0000 (+0300) Subject: property tags X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=rpikern;a=commitdiff_plain;h=7144c35379850a9638350f8e11cbdca7d3234d7e property tags --- diff --git a/src/main.c b/src/main.c index 47e23b6..49ea500 100644 --- a/src/main.c +++ b/src/main.c @@ -38,8 +38,27 @@ #define PROP_CODE_REQ 0 #define PROP_RESP_OK 0x80000000 -#define PROP_TAG_END 0 -#define PROP_TAG_BLANKSCR 0x40002 + +#define PROP_TAG_END 0 + +#define PROP_TAG_SET 0x08000 +#define PROP_TAG_TEST 0x04000 +#define PROP_TAG_GET 0 + +#define PROP_TAG_ALLOCBUF 0x40001 +#define PROP_TAG_BLANKSCR 0x40002 +#define PROP_TAG_PHYSRES 0x40003 +#define PROP_TAG_VIRTRES 0x40004 +#define PROP_TAG_DEPTH 0x40005 +#define PROP_TAG_PIXEL_ORDER 0x40006 +#define PROP_TAG_ALPHA_MODE 0x40007 +#define PROP_TAG_PITCH 0x40008 +#define PROP_TAG_VOFFS 0x40009 +#define PROP_TAG_OVERSCAN 0x4000a +#define PROP_TAG_PALETTE 0x4000b +#define PROP_TAG_CUR_INFO 0x00010 +#define PROP_TAG_CUR_STATE 0x00011 + int prop_blankscr(int onoff);