|

楼主 |
发表于 2016-2-15 09:11:05
|
显示全部楼层
回 eric2013 的帖子
eric2013:楼主,你的这是用的RA8875驱动的屏吗 (2016-02-14 20:56)  /*********************************************************************
*
* LCD_L0_DrawHLine
*/
void LCD_L0_DrawHLine (int x0, int y, int x1) {
if (GUI_Context.DrawMode & LCD_DRAWMODE_XOR) {
for (; x0 <= x1; x0++) {
LCD_L0_XorPixel(x0, y);
}
} else {
// for (; x0 <= x1; x0++) {
// LCD_L0_SetPixelIndex(x0, y, LCD_COLORINDEX);
Draw_Line(LCD_COLORINDEX,x0, y, x1, y);//这弄错了
// }
}
} |
|