Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/wid_build/libs/ptupdatevisibility.html on line 1
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/wid_build/libs/ptupdatevisibility.html on line 1
Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/wid_build/libs/ptupdatevisibility.html on line 8
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/wid_build/libs/ptupdatevisibility.html on line 8
Tell the widget library about a change in visibility
PtUpdateVisibility( PtWidget_t *widget,
PhRect_t *rect );
- widget
- A pointer to a container widget whose visibility has changed.
- rect
- A pointer to a
PhRect_t
structure that defines the area over which the visibility has changed.
This function tells the widget library that a change has occurred that
may affect the visibility of
widgets that intersect with the provided rect in the given
container widget. This change
may make the intersecting widgets completely obscured, completely unobscured,
or partially obscured.
This information is used to optimize refreshing the screen:
- Widgets that are completely obscured aren't drawn (since you
wouldn't see them
anyway).
- Widgets that are completely unobscured are drawn and don't cause
widgets above them to be repaired (a completely unobscured widget has
no intersecting widgets above it).
- Otherwise a widget is drawn when damaged and causes all intersecting
widgets above it to be repaired.
0 on success; -1 if widget isn't a container.
Photon
Safety: | |
Interrupt handler |
No |
Signal handler |
No |
Thread |
No |
PhRect_t
in the Photon Library Reference
Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/wid_build/libs/ptupdatevisibility.html on line 118
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/wid_build/libs/ptupdatevisibility.html on line 118