fixed image drawing boundries
This commit is contained in:
parent
3cd10217dc
commit
f188613d30
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ void gwinImageSetBgColor(GHandle gh, color_t bgColor) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void gwinImageDraw(GHandle gh) {
|
void gwinImageDraw(GHandle gh) {
|
||||||
gdispImageDraw(widget(gh)->image, widget(gh)->g.x, widget(gh)->g.y, widget(gh)->g.width, widget(gh)->g.height, 0, 0);
|
gdispImageDraw(widget(gh)->image, widget(gh)->g.x, widget(gh)->g.y, widget(gh)->image->width, widget(gh)->image->height, 0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // GFX_USE_GWIN && GWIN_NEED_IMAGE
|
#endif // GFX_USE_GWIN && GWIN_NEED_IMAGE
|
||||||
|
|
Loading…
Add table
Reference in a new issue