Mercurial > hg > octave-terminal
changeset 10974:c6dc5f666695
update comments for base_graphics_backend methods
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 14 Sep 2010 02:38:25 -0400 |
parents | a8235d26b57a |
children | 2d14817353a6 |
files | src/graphics.h.in |
diffstat | 1 files changed, 9 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/graphics.h.in +++ b/src/graphics.h.in @@ -1671,19 +1671,25 @@ return Matrix (1, 2, 0.0); } - // Called when graphics object using this backend changes it's property. + // Callback function executed when the given graphics object + // changes. This allows the grahpics backend to act on property + // changes if needed. virtual void update (const graphics_object&, int) { gripe_invalid ("base_graphics_backend::update"); } void update (const graphics_handle&, int); - // Called when new object using this backend is created. + // Callback function executed when the given graphics object is + // created. This allows the graphics backend to do backend-specific + // initializations for a newly created object. virtual void initialize (const graphics_object&) { gripe_invalid ("base_graphics_backend::initialize"); } void initialize (const graphics_handle&); - // Called when object using this backend is destroyed. + // Callback function executed just prior to deleting the given + // graphics object. This allows the graphics backend to perform + // backend-specific cleanup operations before an object is deleted. virtual void finalize (const graphics_object&) { gripe_invalid ("base_graphics_backend::finalize"); }