Typo fixes in the previous commit.

This commit is contained in:
Pietro Gagliardi 2016-01-24 21:50:10 -05:00
parent ab0230b428
commit 7f2194c383
4 changed files with 4 additions and 4 deletions

View File

@ -346,7 +346,7 @@ void uiAreaQueueRedrawAll(uiArea *a)
[a->area setNeedsDisplay:YES];
}
void uiAreaScrollTo(uiArea *a, double x, double y, double with, double height)
void uiAreaScrollTo(uiArea *a, double x, double y, double width, double height)
{
if (!a->scrolling)
complain("attempt to call uiAreaScrollTo() on a non-scrolling uiArea");

2
ui.h
View File

@ -284,7 +284,7 @@ _UI_EXTERN uintmax_t uiMenuItemType(void);
_UI_EXTERN void uiAreaSetSize(uiArea *a, intmax_t width, intmax_t height);
// TODO uiAreaQueueRedraw()
_UI_EXTERN void uiAreaQueueRedrawAll(uiArea *a);
_UI_EXTERN void uiAreaScrollTo(uiArea *a, double x, double y, double with, double height);
_UI_EXTERN void uiAreaScrollTo(uiArea *a, double x, double y, double width, double height);
_UI_EXTERN uiArea *uiNewArea(uiAreaHandler *ah);
_UI_EXTERN uiArea *uiNewScrollingArea(uiAreaHandler *ah, intmax_t width, intmax_t height);

View File

@ -501,7 +501,7 @@ void uiAreaQueueRedrawAll(uiArea *a)
gtk_widget_queue_draw(a->areaWidget);
}
void uiAreaScrollTo(uiArea *a, double x, double y, double with, double height)
void uiAreaScrollTo(uiArea *a, double x, double y, double width, double height)
{
// TODO
// TODO adjust adjustments and find source for that

View File

@ -98,7 +98,7 @@ void uiAreaQueueRedrawAll(uiArea *a)
logLastError("error queueing uiArea redraw in uiAreaQueueRedrawAll()");
}
void uiAreaScrollTo(uiArea *a, double x, double y, double with, double height)
void uiAreaScrollTo(uiArea *a, double x, double y, double width, double height)
{
// TODO
}