亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? lcd07x1.c

?? 這是我移植到GBA游戲機上的uCGUI3.24 可以通過模擬器仿真
?? C
?? 第 1 頁 / 共 4 頁
字號:
    }
/* ... */
  } else {
    int x;
    for (x=X0; x <= X1; x++) {
      LCD_L0_DrawVLine(x,Y0, Y1);
    }
  }
  #undef X0
  #undef Y0
  #undef X1
  #undef Y1
}

/*
        *********************************************************
        *                                                       *
        *          LCD_FillRect, unoptimized                    *
        *                                                       *
        *********************************************************
*/

#else

void LCD_L0_FillRect(int x0, int y0, int x1, int y1) {
  for (; y0 <= y1; y0++) {
    LCD_L0_DrawHLine(x0,y0, x1);
  }
}

#endif


/*
        *********************************************************
        *                                                       *
        *    Support for dynamic inversion of entire LCD        *
        *                                                       *
        *********************************************************

*/

#if LCD_REVERSEMODE_SUPPORT

void LCD_SetNormalDispMode    (void) {
}
void LCD_SetReverseDispMode   (void) {
}

#endif


/*
        *********************************************************
        *                                                       *
        *          Draw Bitmap 1 BPP                            *
        *                                                       *
        *********************************************************
*/

static void  DrawBitLine1BPP(int x, int y, U8 const*p, int Diff, int xsize, const LCD_PIXELINDEX*pTrans) {
  PIXELCOLOR pixels;
  PIXELCOLOR Index0 = *(pTrans+0);
  PIXELCOLOR Index1 = *(pTrans+1);
/*
   Jump to right entry point
*/
  pixels = *p;
  switch (LCD_DrawMode & (LCD_DRAWMODE_TRANS|LCD_DRAWMODE_XOR)) {
  case 0:
    #if defined (SETNEXTPIXEL)
      SetPosXY(x,y);
    #endif
    switch (Diff&7) {
    case 0:   
      goto WriteBit0;
    case 1:   
      goto WriteBit1;
    case 2:
      goto WriteBit2;
    case 3:
      goto WriteBit3;
    case 4:
      goto WriteBit4;
    case 5:   
      goto WriteBit5;
    case 6:   
      goto WriteBit6;
    case 7:   
      goto WriteBit7;
    }
    break;
  case LCD_DRAWMODE_TRANS:
    switch (Diff&7) {
    case 0:
      goto WriteTBit0;
    case 1:
      goto WriteTBit1;
    case 2:
      goto WriteTBit2;
    case 3:
      goto WriteTBit3;
    case 4:
      goto WriteTBit4;
    case 5:   
      goto WriteTBit5;
    case 6:   
      goto WriteTBit6;
    case 7:   
      goto WriteTBit7;
    }
    break;
  case LCD_DRAWMODE_XOR:
    switch (Diff&7) {
    case 0:   
      goto WriteXBit0;
    case 1:   
      goto WriteXBit1;
    case 2:
      goto WriteXBit2;
    case 3:
      goto WriteXBit3;
    case 4:
      goto WriteXBit4;
    case 5:   
      goto WriteXBit5;
    case 6:   
      goto WriteXBit6;
    case 7:   
      goto WriteXBit7;
    }
  }
/*
        Write with transparency
*/
  WriteTBit0:
    if (pixels&(1<<7)) SETPIXEL(x+0, y, Index1);
    if (!--xsize)
      return;
  WriteTBit1:
    if (pixels&(1<<6)) SETPIXEL(x+1, y, Index1);
    if (!--xsize)
      return;
  WriteTBit2:
    if (pixels&(1<<5)) SETPIXEL(x+2, y, Index1);
    if (!--xsize)
      return;
  WriteTBit3:
    if (pixels&(1<<4)) SETPIXEL(x+3, y, Index1);
    if (!--xsize)
      return;
  WriteTBit4:
    if (pixels&(1<<3)) SETPIXEL(x+4, y, Index1);
    if (!--xsize)
      return;
  WriteTBit5:
    if (pixels&(1<<2)) SETPIXEL(x+5, y, Index1);
    if (!--xsize)
      return;
  WriteTBit6:
    if (pixels&(1<<1)) SETPIXEL(x+6, y, Index1);
    if (!--xsize)
      return;
  WriteTBit7:
    if (pixels&(1<<0)) SETPIXEL(x+7, y, Index1);
    if (!--xsize)
      return;
    x+=8;
    pixels = *(++p);
    goto WriteTBit0;

/*
        Write without transparency
*/
#if defined (SETNEXTPIXEL)   /* Optimization ! */
  WriteBit0:
    SetNextPixel(x+0, y, (pixels&(1<<7)) ? Index1 : Index0);
    if (!--xsize)
      return;
  WriteBit1:
    SetNextPixel(x+1, y, (pixels&(1<<6)) ? Index1 : Index0);
    if (!--xsize)
      return;
  WriteBit2:
    SetNextPixel(x+2, y, (pixels&(1<<5)) ? Index1 : Index0);
    if (!--xsize)
      return;
  WriteBit3:
    SetNextPixel(x+3, y, (pixels&(1<<4)) ? Index1 : Index0);
    if (!--xsize)
      return;
  WriteBit4:
    SetNextPixel(x+4, y, (pixels&(1<<3)) ? Index1 : Index0);
    if (!--xsize)
      return;
  WriteBit5:
    SetNextPixel(x+5, y, (pixels&(1<<2)) ? Index1 : Index0);
    if (!--xsize)
      return;
  WriteBit6:
    SetNextPixel(x+6, y, (pixels&(1<<1)) ? Index1 : Index0);
    if (!--xsize)
      return;
  WriteBit7:
    SetNextPixel(x+7, y, (pixels&(1<<0)) ? Index1 : Index0);
    if (!--xsize)
      return;
    x+=8;
    pixels = *(++p);
    goto WriteBit0;
#else
  WriteBit0:
    SETPIXEL(x+0, y, (pixels&(1<<7)) ? Index1 : Index0);
    if (!--xsize)
      return;
  WriteBit1:
    SETPIXEL(x+1, y, (pixels&(1<<6)) ? Index1 : Index0);
    if (!--xsize)
      return;
  WriteBit2:
    SETPIXEL(x+2, y, (pixels&(1<<5)) ? Index1 : Index0);
    if (!--xsize)
      return;
  WriteBit3:
    SETPIXEL(x+3, y, (pixels&(1<<4)) ? Index1 : Index0);
    if (!--xsize)
      return;
  WriteBit4:
    SETPIXEL(x+4, y, (pixels&(1<<3)) ? Index1 : Index0);
    if (!--xsize)
      return;
  WriteBit5:
    SETPIXEL(x+5, y, (pixels&(1<<2)) ? Index1 : Index0);
    if (!--xsize)
      return;
  WriteBit6:
    SETPIXEL(x+6, y, (pixels&(1<<1)) ? Index1 : Index0);
    if (!--xsize)
      return;
  WriteBit7:
    SETPIXEL(x+7, y, (pixels&(1<<0)) ? Index1 : Index0);
    if (!--xsize)
      return;
    x+=8;
    pixels = *(++p);
    goto WriteBit0;
#endif
/*
        Write XOR mode
*/
  WriteXBit0:
    if (pixels&(1<<7))
      XORPIXEL(x+0, y);
    if (!--xsize)
      return;
  WriteXBit1:
    if (pixels&(1<<6))
      XORPIXEL(x+1, y);
    if (!--xsize)
      return;
  WriteXBit2:
    if (pixels&(1<<5))
      XORPIXEL(x+2, y);
    if (!--xsize)
      return;
  WriteXBit3:
    if (pixels&(1<<4))
      XORPIXEL(x+3, y);
    if (!--xsize)
      return;
  WriteXBit4:
    if (pixels&(1<<3))
      XORPIXEL(x+4, y);
    if (!--xsize)
      return;
  WriteXBit5:
    if (pixels&(1<<2))
      XORPIXEL(x+5, y);
    if (!--xsize)
      return;
  WriteXBit6:
    if (pixels&(1<<1))
      XORPIXEL(x+6, y);
    if (!--xsize)
      return;
  WriteXBit7:
    if (pixels&(1<<0))
      XORPIXEL(x+7, y);
    if (!--xsize)
      return;
    x+=8;
    pixels = *(++p);
    goto WriteXBit0;
}


/*
        *********************************************************
        *                                                       *
        *  Draw Bitmap 2 BPP                                    *
        *                                                       *
        *********************************************************
*/

#if (LCD_MAX_LOG_COLORS > 2)

static void  DrawBitLine2BPP(int x, int y, U8 const*p, int Diff, int xsize, const LCD_PIXELINDEX*pTrans) {
  PIXELCOLOR pixels;
/*
   Jump to right entry point
*/
  pixels = *p;
  if (pTrans) { 
    /* 
      with palette 
    */
    switch (LCD_DrawMode & (LCD_DRAWMODE_TRANS|LCD_DRAWMODE_XOR)) {
    case 0:
      switch (Diff&3) {
      case 0:
        goto WriteBit0;
      case 1:
        goto WriteBit1;
      case 2:
        goto WriteBit2;
      default:
        goto WriteBit3;
      }
    case LCD_DRAWMODE_TRANS:
      switch (Diff&3) {
      case 0:
        goto WriteTBit0;
      case 1:
        goto WriteTBit1;
      case 2:
        goto WriteTBit2;
      default:
        goto WriteTBit3;
      }
    case LCD_DRAWMODE_XOR:
      switch (Diff&3) {
      case 0:
        goto WriteXBit0;
      case 1:
        goto WriteXBit1;
      case 2:
        goto WriteXBit2;
      default:
        goto WriteXBit3;
      }
    case LCD_DRAWMODE_TRANS|LCD_DRAWMODE_XOR:
      switch (Diff&3) {
      case 0:
        goto WriteTXBit0;
      case 1:
        goto WriteTXBit1;
      case 2:
        goto WriteTXBit2;
      default:
        goto WriteTXBit3;
      }
    }
  /*
          Write without transparency
  */
  WriteBit0:
    SETPIXEL(x+0, y, *(pTrans+(pixels>>6)));
    if (!--xsize)
      return;
  WriteBit1:
    SETPIXEL(x+1, y, *(pTrans+(3&(pixels>>4))));
    if (!--xsize)
      return;
  WriteBit2:
    SETPIXEL(x+2, y, *(pTrans+(3&(pixels>>2))));
    if (!--xsize)
      return;
  WriteBit3:
    SETPIXEL(x+3, y, *(pTrans+(3&(pixels))));
    if (!--xsize)
      return;
    pixels = *(++p);
    x+=4;
    goto WriteBit0;
  /*
          Write with transparency
  */
  WriteTBit0:
    if (pixels&(3<<6))
      SETPIXEL(x+0, y, *(pTrans+(pixels>>6)));
    if (!--xsize)
      return;
  WriteTBit1:
    if (pixels&(3<<4))
      SETPIXEL(x+1, y, *(pTrans+(3&(pixels>>4))));
    if (!--xsize)
      return;
  WriteTBit2:
    if (pixels&(3<<2))
      SETPIXEL(x+2, y, *(pTrans+(3&(pixels>>2))));
    if (!--xsize)
      return;
  WriteTBit3:
    if (pixels&(3<<0))
      SETPIXEL(x+3, y, *(pTrans+(3&(pixels))));
    if (!--xsize)
      return;
    pixels = *(++p);
    x+=4;
    goto WriteTBit0;
  /*
          Write without transparency, xor
  */
  WriteXBit0:
    XORPIXEL_DATA(x+0, y, *(pTrans+(pixels>>6)));
    if (!--xsize)
      return;
  WriteXBit1:
    XORPIXEL_DATA(x+1, y, *(pTrans+(3&(pixels>>4))));
    if (!--xsize)
      return;
  WriteXBit2:
    XORPIXEL_DATA(x+2, y, *(pTrans+(3&(pixels>>2))));
    if (!--xsize)
      return;
  WriteXBit3:
    XORPIXEL_DATA(x+3, y, *(pTrans+(3&(pixels))));
    if (!--xsize)
      return;
    pixels = *(++p);
    x+=4;
    goto WriteXBit0;
  /*
          Write with transparency, xor
  */
  WriteTXBit0:
    if (pixels&(3<<6))
      XORPIXEL_DATA(x+0, y, *(pTrans+(pixels>>6)));
    if (!--xsize)
      return;
  WriteTXBit1:
    if (pixels&(3<<4))
      XORPIXEL_DATA(x+1, y, *(pTrans+(3&(pixels>>4))));
    if (!--xsize)
      return;
  WriteTXBit2:
    if (pixels&(3<<2))
      XORPIXEL_DATA(x+2, y, *(pTrans+(3&(pixels>>2))));
    if (!--xsize)
      return;
  WriteTXBit3:
    if (pixels&(3<<0))
      XORPIXEL_DATA(x+3, y, *(pTrans+(3&(pixels))));
    if (!--xsize)
      return;
    pixels = *(++p);
    x+=4;
    goto WriteTXBit0;

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美日韩日日夜夜| 一区二区三区免费在线观看| 亚洲美女在线国产| 久久国产精品免费| 欧美调教femdomvk| 中文字幕 久热精品 视频在线| 日本 国产 欧美色综合| 在线这里只有精品| 在线免费亚洲电影| 欧美亚洲禁片免费| 欧美国产综合色视频| 蜜桃视频第一区免费观看| 色悠久久久久综合欧美99| 久久久电影一区二区三区| 日韩av中文在线观看| 91官网在线观看| 自拍偷拍亚洲综合| 成人毛片老司机大片| 国产日产欧美一区二区视频| 久久99国产乱子伦精品免费| 日韩一区二区三区视频| 婷婷综合久久一区二区三区| 欧美亚洲综合一区| 亚洲永久免费视频| 在线一区二区三区四区| 亚洲猫色日本管| 97精品久久久午夜一区二区三区 | 免费成人av在线播放| 欧美三级视频在线| 亚洲精品视频在线| 色综合久久综合| 一区二区三区中文字幕精品精品| 99精品黄色片免费大全| 中文字幕在线观看不卡视频| 成人丝袜18视频在线观看| 国产精品久久福利| 91在线视频网址| 亚洲免费观看高清完整版在线| 色香蕉久久蜜桃| 一区二区三区免费网站| 欧美男人的天堂一二区| 青青草国产成人av片免费| 在线播放一区二区三区| 日韩国产成人精品| 欧美大胆一级视频| 国产成人自拍网| 国产精品国产精品国产专区不蜜 | 亚洲二区在线视频| 欧美日韩不卡一区| 理论片日本一区| 精品99999| av影院午夜一区| 亚洲中国最大av网站| 欧美一区二区三区白人| 捆绑变态av一区二区三区| 久久综合久久99| 91免费精品国自产拍在线不卡 | 在线观看国产91| 免费成人在线视频观看| 欧美国产激情二区三区 | 日韩一区二区不卡| 本田岬高潮一区二区三区| 亚洲精品久久久蜜桃| 91精品国产综合久久久久| 国产精品综合视频| 一区二区日韩av| 欧美成人福利视频| 一本一道久久a久久精品| 狂野欧美性猛交blacked| 欧美国产一区二区在线观看| 欧美日韩高清一区二区不卡| 丁香婷婷综合激情五月色| 亚洲午夜久久久久久久久电影院| 精品国产三级电影在线观看| 色狠狠一区二区| 精品亚洲成a人在线观看| 综合激情网...| 久久综合九色综合97婷婷| 欧美在线一区二区| www.欧美亚洲| 久久国产夜色精品鲁鲁99| 一区二区视频在线| 中文字幕欧美激情一区| 欧美少妇bbb| 国产一区二区三区久久久| 爽好多水快深点欧美视频| 中文字幕亚洲成人| 国产欧美日韩视频在线观看| 日韩亚洲欧美综合| 欧美乱妇一区二区三区不卡视频| 成人午夜视频网站| 国产一区二区三区精品视频| 视频一区中文字幕| 亚洲高清三级视频| 亚洲九九爱视频| 中文字幕一区二区三区四区 | 精品成人免费观看| 88在线观看91蜜桃国自产| 91福利精品视频| av电影天堂一区二区在线观看| 精久久久久久久久久久| 蜜臀精品久久久久久蜜臀| 亚洲超碰精品一区二区| 一区二区三区.www| 亚洲精品国产成人久久av盗摄| 国产精品电影一区二区| 久久九九国产精品| 久久综合久久综合亚洲| 久久亚洲春色中文字幕久久久| 51久久夜色精品国产麻豆| 欧美性猛交xxxxxx富婆| 色狠狠综合天天综合综合| 色狠狠一区二区三区香蕉| 91丝袜美腿高跟国产极品老师| 不卡电影一区二区三区| 99视频有精品| 色婷婷综合久久久久中文 | 日韩欧美国产精品| 日韩免费性生活视频播放| 日韩欧美一区二区视频| 欧美精品一区二区三区视频| 欧美成人福利视频| 国产片一区二区三区| 国产精品青草久久| 一区二区三区欧美日| 亚洲成人免费观看| 蜜臀av一区二区在线免费观看| 精品中文字幕一区二区| 国产大片一区二区| 成人免费视频app| 色哟哟日韩精品| 欧美人与z0zoxxxx视频| 日韩亚洲欧美中文三级| 国产欧美一区视频| 夜夜嗨av一区二区三区四季av| 亚洲成人一区在线| 国产一区二区三区高清播放| 成人激情动漫在线观看| 欧美性受xxxx黑人xyx| 日韩欧美一二区| 国产精品短视频| 日韩黄色免费电影| 国产成人在线影院| 欧美日韩视频专区在线播放| 精品欧美黑人一区二区三区| 欧美激情一区二区三区蜜桃视频| 亚洲视频一二三区| 美日韩一区二区| 99久久精品免费观看| 欧美一区二区三区爱爱| 亚洲视频一区二区免费在线观看| 日韩vs国产vs欧美| 成人国产精品免费网站| 91麻豆精品国产综合久久久久久| 久久九九久久九九| 日韩精彩视频在线观看| 国产69精品一区二区亚洲孕妇| 欧美在线短视频| 国产欧美日韩另类一区| 午夜久久电影网| av成人免费在线| 精品裸体舞一区二区三区| 亚洲综合在线五月| 国产乱码一区二区三区| 欧美丰满嫩嫩电影| 亚洲丝袜另类动漫二区| 国产一区二区三区av电影| 精品视频一区二区不卡| 中文字幕久久午夜不卡| 乱一区二区av| 欧美视频中文一区二区三区在线观看| 久久久久久久免费视频了| 日韩电影免费在线看| 亚洲综合色婷婷| 色噜噜夜夜夜综合网| 精品国产乱码久久久久久闺蜜 | 五月婷婷色综合| 国产成人精品一区二区三区四区 | 欧美一级免费观看| 一区二区三区四区蜜桃| 99久久精品国产精品久久| 精品久久国产老人久久综合| 丝袜诱惑亚洲看片| 欧美日韩中文精品| 亚洲资源中文字幕| 在线亚洲高清视频| 亚洲女爱视频在线| 99这里只有精品| 国产精品污www在线观看| 国产电影一区在线| 久久精品欧美一区二区三区麻豆| 日本美女一区二区| 日韩手机在线导航| 成人a免费在线看| 久久精品99国产精品日本| 欧洲国产伦久久久久久久| 亚洲精品老司机| 欧洲精品一区二区三区在线观看| 亚洲天堂免费看| 欧亚一区二区三区|