MBrCtlLayoutObserver Class Reference
#include
<mw/brctllayoutobserver.h>
| class MBrCtlLayoutObserver |
Detailed Description
The MBrCtlLayoutObserver class receives scrolling events when the host application draws the scrollbar.
Usage:
#include <brctllayoutobserver.h>
@see S60 Platform: Browser Control API Developer's Guide Version 2.0
@lib BrowserEngine.lib
@file brctllayoutobserver.h
*
Member Function Documentation
NotifyLayoutChange ( TBrCtlLayout )
| void | NotifyLayoutChange | ( | TBrCtlLayout | aNewLayout | ) | [pure virtual] |
Inform the layout of the page: right to left or left to right. Useful when the application draws the scrollbar itself.
- Since
- 2.8
Attention: This function is useful when the host application draws the scrollbar. In RTL pages, the scroll bar should be on the left side.
| Parameters |
|---|
| aNewLayout | RTL (right to left) or LTR (left to right) |
UpdateBrowserHScrollBarL ( TInt, TInt, TInt )
| void | UpdateBrowserHScrollBarL | ( | TInt | aDocumentWidth, |
| | TInt | aDisplayWidth, |
| | TInt | aDisplayPosX |
| | ) | [pure virtual] |
Update the position of horizontal scrollbar.
- Since
- 2.8
| Parameters |
|---|
| aDocumentWidth | The total width of the markup page |
| aDisplayWidth | The width of the display |
| aDisplayPosX | The current X position |
UpdateBrowserVScrollBarL ( TInt, TInt, TInt )
| void | UpdateBrowserVScrollBarL | ( | TInt | aDocumentHeight, |
| | TInt | aDisplayHeight, |
| | TInt | aDisplayPosY |
| | ) | [pure virtual] |
Update the position of vertical scrollbar.
- Since
- 2.8
| Parameters |
|---|
| aDocumentHeight | The total height of the markup page |
| aDisplayHeight | The height of the display |
| aDisplayPosY | The current Y position |
UpdateTitleL ( const TDesC & )
| void | UpdateTitleL | ( | const TDesC & | aTitle | ) | [pure virtual] |
Update the title of the page in history view
- Since
- 3.0
| Parameters |
|---|
| aTitle | Title of the page |