include/SDL_pixels.h
changeset 5438 b705640cb34a
parent 5434 fb5e9db92a77
child 5466 006883d5fa51
equal deleted inserted replaced
5437:ce10653e370c 5438:b705640cb34a
   147 /* Note: If you modify this list, update SDL_GetPixelFormatName() */
   147 /* Note: If you modify this list, update SDL_GetPixelFormatName() */
   148 enum
   148 enum
   149 {
   149 {
   150     SDL_PIXELFORMAT_UNKNOWN,
   150     SDL_PIXELFORMAT_UNKNOWN,
   151     SDL_PIXELFORMAT_INDEX1LSB =
   151     SDL_PIXELFORMAT_INDEX1LSB =
       
   152         SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_INDEX1, SDL_BITMAPORDER_4321, 0,
       
   153                                1, 0),
       
   154     SDL_PIXELFORMAT_INDEX1MSB =
   152         SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_INDEX1, SDL_BITMAPORDER_1234, 0,
   155         SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_INDEX1, SDL_BITMAPORDER_1234, 0,
   153                                1, 0),
   156                                1, 0),
   154     SDL_PIXELFORMAT_INDEX1MSB =
       
   155         SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_INDEX1, SDL_BITMAPORDER_4321, 0,
       
   156                                1, 0),
       
   157     SDL_PIXELFORMAT_INDEX4LSB =
   157     SDL_PIXELFORMAT_INDEX4LSB =
   158         SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_INDEX4, SDL_BITMAPORDER_1234, 0,
   158         SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_INDEX4, SDL_BITMAPORDER_4321, 0,
   159                                4, 0),
   159                                4, 0),
   160     SDL_PIXELFORMAT_INDEX4MSB =
   160     SDL_PIXELFORMAT_INDEX4MSB =
   161         SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_INDEX4, SDL_BITMAPORDER_4321, 0,
   161         SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_INDEX4, SDL_BITMAPORDER_1234, 0,
   162                                4, 0),
   162                                4, 0),
   163     SDL_PIXELFORMAT_INDEX8 =
   163     SDL_PIXELFORMAT_INDEX8 =
   164         SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_INDEX8, 0, 0, 8, 1),
   164         SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_INDEX8, 0, 0, 8, 1),
   165     SDL_PIXELFORMAT_RGB332 =
   165     SDL_PIXELFORMAT_RGB332 =
   166         SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED8, SDL_PACKEDORDER_XRGB,
   166         SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED8, SDL_PACKEDORDER_XRGB,