/*
    ####             #    #     # #
    #   #            #    #       #          The FreeWare C library for
    #   #  ##   ###  #  # #     # ###             RISC OS machines
    #   # #  # #     # #  #     # #  #   ___________________________________
    #   # ####  ###  ##   #     # #  #
    #   # #        # # #  #     # #  #    Please refer to the accompanying
    ####   ### ####  #  # ##### # ###    documentation for conditions of use
    ________________________________________________________________________

    File:    Window.WholeRedrw.c
    Author:  Copyright  1995 Sergio Monesi
    Version: 1.00 (26 Feb 1995)
    Purpose: Forces the redraw of a whole window
*/


#include "Desk.Wimp.h"
#include "Desk.WimpSWIs.h"
#include "Desk.Window.h"


extern void	Desk_Window_ForceWholeRedraw(Desk_window_handle window)
{
 Desk_window_redrawblock block;

 block.window=window;
 block.rect.min.x=-65536;
 block.rect.min.y=-65536;
 block.rect.max.x=65536;
 block.rect.max.y=65536;

 Desk_Wimp_eForceRedraw(&block);
}
