reorganize scroll sample to make it possible to understand what it does both when reading its code and when running it; merged scrollsub sample in it and removed the original one

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-12-24 01:28:55 +00:00
parent 16a6495db3
commit 6a5a7fba9d
37 changed files with 793 additions and 8655 deletions

View File

@@ -113,7 +113,6 @@ TODO: Organize them in a more human-readable way.
@li @sample{richtext}
@li @sample{sashtest}
@li @sample{scroll}
@li @sample{scrollsub}
@li @sample{shaped}
@li @sample{sockets}
@li @sample{sound}
@@ -729,24 +728,18 @@ renderer and also how to write a shared library
@sampleabout{wxScrolledWindow}
@see @sample{scrollsub}
This sample demonstrates use of the ::wxScrolledWindow
class including placing subwindows into it and drawing simple graphics. It uses
the SetTargetWindow method and thus the effect of scrolling does not show in
the scrolled window itself, but in one of its subwindows.
Additionally, this samples demonstrates how to optimize drawing operations in
wxWidgets, in particular using the wxWindow::IsExposed() method with the aim to
prevent unnecessary drawing in the window and thus reducing or removing flicker
on screen.
@sampledir{scroll}
@section page_samples_scrollsub Scroll Subwindow Sample
This sample demonstrates use of the ::wxScrolledWindow
class including placing subwindows into it and drawing simple graphics. It uses the
SetTargetWindow method and thus the effect
of scrolling does not show in the scrolled window itself, but in one of its subwindows.
Additionally, this samples demonstrates how to optimize drawing operations in wxWidgets,
in particular using the wxWindow::IsExposed() method with
the aim to prevent unnecessary drawing in the window and thus reducing or removing
flicker on screen.
@sampledir{scrollsub}
@section page_samples_shaped Shaped Window Sample
@sampleabout{how to implement a shaped or transparent window\, and a window showing/hiding with effect}