Added help entries for anim functions. Fixed a compilation warning and a wrong anim button refresh.

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1854 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Yves Rizoud
2011-10-31 18:52:13 +00:00
parent 51a9ad0132
commit b232e51c4c
3 changed files with 95 additions and 11 deletions

View File

@@ -682,7 +682,11 @@ void Update_screen_targets(void)
/// Update all the special image buffers, if necessary.
int Update_buffers(int width, int height)
{
#ifndef NOLAYERS
#ifdef NOLAYERS
// unused args
(void) width;
(void) height;
#else
// At least one dimension is different
if (Main_visible_image.Width*Main_visible_image.Height != width*height)
{
@@ -724,7 +728,11 @@ int Update_buffers(int width, int height)
/// Update all the special image buffers of the spare page, if necessary.
int Update_spare_buffers(int width, int height)
{
#ifndef NOLAYERS
#ifdef NOLAYERS
// unused args
(void) width;
(void) height;
#else
// At least one dimension is different
if (Spare_visible_image.Width*Spare_visible_image.Height != width*height)
{