a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
 Libraries:
 intuition.library
  ActivateGadget
  ActivateWindow
  AddClass
  AddGList
  AddGadget
  AllocRemember
  AllocScreenBuffer
  AutoRequest
  BeginRefresh
  BuildEasyRequestArgs
  BuildSysRequest
  ChangeScreenBuffer
  ChangeWindowBox
  ClearDMRequest
  ClearMenuStrip
  ClearPointer
  CloseScreen
  CloseWindow
  CloseWorkBench
  CurrentTime
  DisplayAlert
  DisplayBeep
  DisposeObject
  DoGadgetMethodA
  DoubleClick
  DrawBorder
  DrawImage
  DrawImageState
  EasyRequestArgs
  EndRefresh
  EndRequest
  EraseImage
  FreeClass
  FreeRemember
  FreeScreenBuffer
  FreeScreenDrawInfo
  FreeSysRequest
  GadgetMouse
  GetAttr
  GetDefPrefs
  GetDefaultPubScreen
  GetPrefs
  GetScreenData
  GetScreenDrawInfo
  HelpControl
  InitRequester
  IntuiTextLength
  ItemAddress
  LendMenus
  LockIBase
  LockPubScreen
  LockPubScreenList
  MakeClass
  MakeScreen
  ModifyIDCMP
  ModifyProp
  MoveScreen
  MoveWindow
  MoveWindowInFrontOf
  NewModifyProp
  NewObject
  NextObject
  NextPubScreen
  ObtainGIRPort
  OffGadget
  OffMenu
  OnGadget
  OnMenu
  OpenScreen
  OpenScreenTagList
  OpenWindow
  OpenWindowTagList
  OpenWorkBench
  PointInImage
  PrintIText
  PubScreenStatus
  QueryOverscan
  RefreshGList
  RefreshGadgets
  RefreshWindowFrame
  ReleaseGIRPort
  RemakeDisplay
  RemoveClass
  RemoveGList
  RemoveGadget
  ReportMouse
  Request
  ResetMenuStrip
  RethinkDisplay
  ScreenDepth
  ScreenPosition
  ScreenToBack
  ScreenToFront
  ScrollWindowRaster
  SetAttrsA
  SetDMRequest
  SetDefaultPubScreen
  SetEditHook
  SetGadgetAttrsA
  SetMenuStrip
  SetMouseQueue
  SetPointer
  SetPrefs
  SetPubScreenModes
  SetWindowPointerA
  SetWindowTitles
  ShowTitle
  SizeWindow
  SysReqHandler
  TimedDisplayAlert
  UnlockIBase
  UnlockPubScreen
  UnlockPubScreenList
  ViewAddress
  ViewPortAddress
  WBenchToBack
  WBenchToFront
  WindowLimits
  WindowToBack
  WindowToFront
  ZipWindow
Include
GuruMeditation
Docs » Autodocs » intuition.library » EndRefresh

NAME

	EndRefresh -- End the optimized refresh state of the window.

SYNOPSIS

	EndRefresh( Window, Complete )
A0 D0
VOID EndRefresh( struct Window *, BOOL );

FUNCTION

	This function gets you out of the special refresh state of your 
window. It is called following a call to BeginRefresh(), which
routine puts you into the special refresh state. While your window
is in the refresh state, the only rendering that will be wrought in
your window will be to those areas which were recently revealed and
need to be refreshed.
After you've done all the refreshing you want to do for this window,
you should call this routine to restore the window to its
non-refreshing state. Then all rendering will go to the entire
window, as usual.
The 'Complete' argument is a boolean TRUE or FALSE value used to
describe whether or not the refreshing you've done was all the
refreshing that needs to be done at this time. Most often, this
argument will be TRUE. But if, for instance, you have multiple
tasks or multiple procedure calls which must run to completely
refresh the window, then each can call its own Begin/EndRefresh()
pair with a Complete argument of FALSE, and only the last calls
with a Complete argument of TRUE.
WARNING: Passing this function the value of FALSE has its
pitfalls. Please see the several caveats in the autodoc for
BeginRefresh().
For your information, this routine calls the Layers library function
EndUpdate(), unlocks your layers (calls UnlockLayerRom()), clears
the LAYERREFRESH bit in your Layer Flags, and clears the
WFLG_WINDOWREFRESH bit in your window Flags.

INPUTS

	Window = pointer to the window currently in optimized-refresh mode
Complete = Boolean TRUE or FALSE describing whether or not this
window is completely refreshed

RESULT

	None

BUGS

SEE ALSO

BeginRefresh(), layers.library/EndUpdate(), graphics.library/UnlockLayerRom()

Comments

Name:
E-mail: Use this if you want a message if you get a response, will not be shown.
Comment:
Select correct short for:

Anarchy

TSL
FC
ANA
SPB

Comments:

$VER: d0.se 1.14 Copyright © 2011-2024 Tobias Geijersson support at d0 dot se