Module Expr Str ImportFrom alias alias alias Assign NameStore Str ImportFrom alias ImportFrom alias Import alias ImportFrom alias ClassDef bases NameLoad body Expr Str Assign TupleStore NameStore NameStore TupleLoad Num Num Assign TupleStore NameStore NameStore TupleLoad Num Num Assign NameStore NameStore NameStore Num FunctionDef arguments args NameParam NameParam defaults Num body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Num Num body AugAssignMult NameStore AttributeLoad NameLoad attr AugAssignMult NameStore AttributeLoad NameLoad attr Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr TupleLoad NameLoad NameLoad Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr TupleLoad NameLoad NameLoad AugAssignSub NameStore AttributeLoad NameLoad attr AugAssignSub NameStore AttributeLoad NameLoad attr AugAssignSub NameStore NameLoad AugAssignSub NameStore NameLoad Assign AttributeStore NameLoad attr TupleLoad UnaryOpUSub NameLoad UnaryOpUSub NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Pass decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore UnaryOpNot AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr BoolOpAnd UnaryOpNot NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr TupleLoad Num Num Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr TupleLoad Num Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr AttributeStore NameLoad attr Num Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Str TupleLoad Num Num If UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore BinOpDiv AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpDiv AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr TupleLoad Call NameLoad BinOpMult AttributeLoad NameLoad attr NameLoad Call NameLoad BinOpMult AttributeLoad NameLoad attr NameLoad Call NameLoad BinOpMult AttributeLoad NameLoad attr NameLoad Call NameLoad BinOpMult AttributeLoad NameLoad attr NameLoad orelse If AttributeLoad NameLoad attr body Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr Call AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Assign NameStore Num FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr BinOpMult Num NameLoad Expr Call AttributeLoad NameLoad attr decorator_list Assign NameStore Call NameLoad Lambda arguments args NameParam defaults AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Num NameLoad body Expr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore BinOpDiv NameLoad AttributeLoad NameLoad attr Assign NameStore BinOpDiv NameLoad AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad BinOpDiv AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad BinOpDiv AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return TupleLoad Call NameLoad BinOpAdd NameLoad BinOpMult NameLoad NameLoad Call NameLoad BinOpAdd NameLoad BinOpMult NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore BinOpMult AttributeLoad NameLoad attr BinOpSub NameLoad AttributeLoad NameLoad attr Assign NameStore BinOpMult AttributeLoad NameLoad attr BinOpSub NameLoad AttributeLoad NameLoad attr Return TupleLoad Call NameLoad NameLoad Call NameLoad NameLoad decorator_list Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str If UnaryOpNot ListComp NameLoad comprehension TupleStore NameStore NameStore AttributeLoad NameLoad attr Call NameLoad NameLoad Str body Return Call AttributeLoad NameLoad attr NameLoad NameLoad Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr TupleLoad NameLoad NameLoad Assign NameStore TupleLoad NameLoad NameLoad AttributeLoad NameLoad attr If BoolOpAnd UnaryOpNot NameLoad CompareEq AttributeLoad NameLoad attr NameLoad body Return Assign AttributeStore NameLoad attr NameLoad Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore ListLoad For TupleStore NameStore NameStore AttributeLoad NameLoad attr body If UnaryOpNot Call NameLoad NameLoad Str body Continue Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore BinOpDiv AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore BinOpDiv AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore TupleLoad BinOpDiv NameLoad Num BinOpDiv NameLoad Num If CompareLtE BinOpSub NameLoad NameLoad NameLoad body Assign NameStore BinOpDiv BinOpAdd NameLoad NameLoad Num orelse If CompareLt BinOpSub NameLoad NameLoad NameLoad body Assign NameStore BinOpAdd NameLoad NameLoad orelse If CompareGt BinOpAdd NameLoad NameLoad NameLoad body Assign NameStore BinOpSub NameLoad NameLoad orelse Assign NameStore NameLoad If CompareLtE BinOpSub NameLoad NameLoad NameLoad body Assign NameStore BinOpDiv BinOpAdd NameLoad NameLoad Num orelse If CompareLt BinOpSub NameLoad NameLoad NameLoad body Assign NameStore BinOpAdd NameLoad NameLoad orelse If CompareGt BinOpAdd NameLoad NameLoad NameLoad body Assign NameStore BinOpSub NameLoad NameLoad orelse Assign NameStore NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign TupleStore NameStore NameStore TupleLoad BinOpSub NameLoad NameLoad BinOpSub NameLoad NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign AttributeStore NameLoad attr BinOpSub NameLoad BinOpDiv AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr BinOpSub NameLoad BinOpDiv AttributeLoad NameLoad attr AttributeLoad NameLoad attr For TupleStore NameStore NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad BinOpDiv AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpDiv AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr Call NameLoad NameLoad TupleLoad NameLoad NameLoad Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr TupleLoad NameLoad NameLoad Assign NameStore Call NameLoad BinOpDiv AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad BinOpDiv AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore TupleLoad BinOpFloorDiv NameLoad Num BinOpFloorDiv NameLoad Num Assign TupleStore NameStore NameStore TupleLoad BinOpSub NameLoad NameLoad BinOpSub NameLoad NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign AttributeStore NameLoad attr BinOpSub NameLoad BinOpDiv AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr BinOpSub NameLoad BinOpDiv AttributeLoad NameLoad attr AttributeLoad NameLoad attr For TupleStore NameStore NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad BinOpDiv AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpDiv AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call BinOpMult AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr orelse Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr decorator_list decorator_list
N/A N/A This module defines the ScrollableLayer and ScrollingManager classes.

Controlling Scrolling
---------------------

You have two options for scrolling:

1. automatically scroll the map but stop at the map edges, and
2. scroll the map an allow the edge of the map to be displayed.

The ScrollingManager has a concept of "focus" which is the pixel
position of the player's view focus (*usually* the center of the
player sprite itself, but the player may be allowed to
move the view around, or you may move it around for them to highlight
something else in the scene). The ScrollingManager is clever enough to
manage many layers and handle scaling them.

Two methods are available for setting the map focus:

**set_focus(x, y)**
  Attempt to set the focus to the pixel coordinates given. The layer(s)
  contained in the ScrollingManager are moved accordingly. If a layer
  would be moved outside of its define px_width, px_height then the
  scrolling is restricted. The resultant restricted focal point is stored
  on the ScrollingManager as restricted_fx and restricted_fy.


**force_focus(x, y)**
  Force setting the focus to the pixel coordinates given. The layer(s)
  contained in the ScrollingManager are moved accordingly regardless of
  whether any out-of-bounds cells would be displayed. The .fx and .fy
  attributes are still set, but they'll *always* be set to the supplied
  x and y values.
 __future__ division print_function unicode_literals N/A __docformat__ restructuredtext cocos.director director base_layers Layer N/A pyglet pyglet gl ScrollableLayer N/A Layer N/A N/A A Cocos Layer that is scrollable in a Scene.

    A layer may have a "parallax" value which is used to scale the position
    (and not the dimensions) of the view of the layer - the layer's view
    (x, y) coordinates are calculated as::

       my_view_x = parallax * passed_view_x
       my_view_y = parallax * passed_view_y

    Scrollable layers have a view which identifies the section of the layer
    currently visible.

    The scrolling is usually managed by a ScrollingManager.

    Don't change scale_x , scale_y from the default 1.0 or scrolling and
    coordinate changes will fail
     N/A N/A view_x view_y N/A 0 0 N/A N/A view_w view_h N/A 0 0 N/A origin_x origin_y origin_z 0 __init__ N/A N/A self parallax N/A 1 N/A N/A N/A N/A N/A super ScrollableLayer self __init__ N/A N/A self parallax parallax N/A N/A self transform_anchor_x 0 N/A N/A self transform_anchor_y 0 N/A N/A self batch N/A N/A N/A pyglet graphics Batch N/A on_enter N/A N/A self N/A N/A N/A N/A N/A director push_handlers N/A self on_cocos_resize N/A N/A N/A N/A super ScrollableLayer self on_enter N/A on_exit N/A N/A self N/A N/A N/A N/A N/A N/A super ScrollableLayer self on_exit N/A N/A N/A director pop_handlers N/A set_view N/A N/A self x y w h viewport_ox viewport_oy N/A 0 0 N/A N/A x N/A self parallax N/A y N/A self parallax N/A N/A N/A self view_x N/A self view_y N/A x y N/A N/A N/A self view_w N/A self view_h N/A w h N/A x N/A self origin_x N/A y N/A self origin_y N/A x viewport_ox N/A y viewport_oy N/A N/A self position N/A N/A x N/A y N/A draw N/A N/A self N/A N/A N/A N/A N/A N/A super ScrollableLayer self draw N/A N/A N/A gl glPushMatrix N/A N/A N/A self transform N/A N/A N/A N/A self batch draw N/A N/A N/A gl glPopMatrix N/A set_dirty N/A N/A self N/A N/A N/A The viewport has changed in some way.
         N/A N/A on_cocos_resize N/A N/A self usable_width usable_height N/A N/A N/A N/A N/A self set_dirty N/A N/A ScrollingManager N/A Layer N/A N/A Manages scrolling of Layers in a Cocos Scene.

    Each ScrollableLayer that is added to this manager (via standard list
    methods) may have pixel dimensions .px_width and .px_height. Tile
    module MapLayers have these attribtues. The manager will limit scrolling
    to stay within the pixel boundary of the most limiting layer.

    If a layer has no dimensions it will scroll freely and without bound.

    The manager is initialised with the viewport (usually a Window) which has
    the pixel dimensions .width and .height which are used during focusing.

    A ScrollingManager knows how to convert pixel coordinates from its own
    pixel space to the screen space.
     __init__ N/A N/A self viewport do_not_scale N/A None None N/A N/A N/A do_not_scale None N/A N/A do_not_scale N/A N/A director autoscale N/A N/A self autoscale N/A N/A do_not_scale N/A director autoscale N/A N/A self viewport viewport N/A N/A N/A self view_x N/A self view_y N/A 0 0 N/A N/A N/A self view_w N/A self view_h N/A 1 1 N/A N/A self childs_ox 0 N/A N/A self childs_oy 0 N/A N/A self fx N/A self fy 0 N/A N/A N/A N/A super ScrollingManager self __init__ N/A N/A self transform_anchor_x 0 N/A N/A self transform_anchor_y 0 N/A on_enter N/A N/A self N/A N/A N/A N/A N/A N/A super ScrollingManager self on_enter N/A N/A N/A director push_handlers N/A self on_cocos_resize N/A N/A N/A self update_view_size N/A N/A N/A self refresh_focus N/A on_exit N/A N/A self N/A N/A N/A N/A N/A director pop_handlers N/A N/A N/A N/A super ScrollingManager self on_exit N/A update_view_size N/A N/A self N/A N/A N/A N/A N/A self viewport None N/A N/A N/A N/A self view_w N/A self view_h N/A N/A N/A self viewport width N/A N/A self viewport height N/A N/A N/A self view_x N/A self view_y N/A getattr N/A self viewport position N/A 0 0 N/A N/A N/A director autoscale N/A N/A N/A self _scissor_flat N/A N/A self view_x N/A self view_y N/A self view_w N/A self view_h N/A N/A N/A w h N/A N/A director get_window_size N/A sx N/A N/A director _usable_width w N/A sy N/A N/A director _usable_height h N/A N/A self _scissor_flat N/A N/A int N/A N/A self view_x sx N/A int N/A N/A self view_y sy N/A int N/A N/A self view_w sx N/A int N/A N/A self view_h sy N/A N/A N/A self autoscale N/A N/A N/A N/A self view_w N/A self view_h N/A N/A director get_window_size N/A N/A N/A self view_w N/A director _usable_width N/A N/A self view_h N/A director _usable_height N/A on_cocos_resize N/A N/A self usable_width usable_height N/A N/A N/A N/A N/A self update_view_size N/A N/A N/A self refresh_focus N/A refresh_focus N/A N/A self N/A N/A N/A N/A self children N/A N/A N/A self _old_focus None N/A N/A N/A self set_focus N/A self fx N/A self fy N/A N/A _scale 1.0 set_scale N/A N/A self scale N/A N/A N/A N/A self _scale N/A 1.0 scale N/A N/A N/A self refresh_focus N/A N/A scale N/A property N/A N/A N/A s N/A N/A s _scale set_scale add N/A N/A self child z name N/A 0 None N/A N/A Add the child and then update the manager's focus / viewport.
         N/A N/A N/A N/A super ScrollingManager self add child z z name name N/A N/A N/A self set_focus N/A self fx N/A self fy force True N/A pixel_from_screen N/A N/A self x y N/A N/A N/A Look up the Layer-space pixel matching the screen-space pixel.

        Account for viewport, layer and screen transformations.
         N/A N/A director autoscale N/A N/A N/A x y N/A N/A director get_virtual_coordinates x y N/A N/A ww wh N/A N/A director get_window_size N/A sx N/A x N/A self view_w N/A sy N/A y N/A self view_h N/A N/A vx vy N/A N/A self childs_ox N/A self childs_oy N/A w N/A int N/A N/A self view_w N/A self scale N/A h N/A int N/A N/A self view_h N/A self scale N/A N/A N/A int N/A vx N/A sx w N/A int N/A vy N/A sy h N/A pixel_to_screen N/A N/A self x y N/A N/A N/A Look up the screen-space pixel matching the Layer-space pixel.

        Account for viewport, layer and screen transformations.
         N/A screen_x N/A N/A self scale N/A x N/A self childs_ox N/A screen_y N/A N/A self scale N/A y N/A self childs_oy N/A N/A N/A int screen_x N/A int screen_y N/A N/A _old_focus None set_focus N/A N/A self fx fy force N/A False N/A N/A Determine the viewport based on a desired focus pixel in the
        Layer space (fx, fy) and honoring any bounding restrictions of
        child layers.

        The focus will always be shifted to ensure no child layers display
        out-of-bounds data, as defined by their dimensions px_width and px_height.
         N/A N/A N/A l N/A N/A z l N/A self children N/A hasattr l px_width N/A N/A N/A N/A self force_focus fx fy N/A N/A N/A self fx N/A self fy N/A fx fy N/A a N/A fx fy N/A self scale N/A N/A N/A force N/A N/A self _old_focus a N/A N/A N/A N/A self _old_focus a N/A x1 N/A N/A y1 N/A N/A x2 N/A N/A y2 N/A N/A N/A z layer N/A self children N/A N/A N/A N/A hasattr layer px_width N/A N/A N/A N/A N/A x1 append N/A layer origin_x N/A N/A N/A y1 append N/A layer origin_y N/A N/A N/A x2 append N/A N/A layer origin_x N/A layer px_width N/A N/A N/A y2 append N/A N/A layer origin_y N/A layer px_height N/A b_min_x N/A min x1 N/A b_min_y N/A min y1 N/A b_max_x N/A max x2 N/A b_max_y N/A max y2 N/A w N/A N/A self view_w N/A self scale N/A h N/A N/A self view_h N/A self scale N/A N/A w2 h2 N/A N/A w 2 N/A h 2 N/A N/A N/A b_max_x b_min_x w N/A N/A restricted_fx N/A N/A b_max_x b_min_x 2 N/A N/A N/A N/A fx w2 b_min_x N/A N/A restricted_fx N/A b_min_x w2 N/A N/A N/A N/A fx w2 b_max_x N/A N/A restricted_fx N/A b_max_x w2 N/A N/A restricted_fx fx N/A N/A N/A b_max_y b_min_y h N/A N/A restricted_fy N/A N/A b_max_y b_min_y 2 N/A N/A N/A N/A fy h2 b_min_y N/A N/A restricted_fy N/A b_min_y h2 N/A N/A N/A N/A fy h2 b_max_y N/A N/A restricted_fy N/A b_max_y h2 N/A N/A restricted_fy fy N/A N/A self restricted_fx restricted_fx N/A N/A self restricted_fy restricted_fy N/A N/A x y N/A N/A restricted_fx w2 N/A restricted_fy h2 N/A childs_scroll_x x N/A childs_scroll_y y N/A N/A self childs_ox N/A childs_scroll_x N/A N/A self view_x N/A self scale N/A N/A self childs_oy N/A childs_scroll_y N/A N/A self view_y N/A self scale N/A N/A z layer N/A self children N/A N/A N/A N/A layer set_view childs_scroll_x childs_scroll_y w h N/A N/A self view_x N/A self scale N/A N/A self view_y N/A self scale N/A force_focus N/A N/A self fx fy N/A N/A N/A Force the manager to focus on a point, regardless of any managed layer
        visible boundaries.

         N/A N/A N/A self fx N/A self fy N/A map int N/A fx fy N/A N/A N/A self fx N/A self fy N/A fx fy N/A w N/A int N/A N/A self view_w N/A self scale N/A h N/A int N/A N/A self view_h N/A self scale N/A N/A w2 h2 N/A N/A w 2 N/A h 2 N/A N/A x y N/A N/A fx w2 N/A fy h2 N/A childs_scroll_x x N/A childs_scroll_y y N/A N/A self childs_ox N/A childs_scroll_x N/A N/A self view_x N/A self scale N/A N/A self childs_oy N/A childs_scroll_y N/A N/A self view_y N/A self scale N/A N/A z layer N/A self children N/A N/A N/A N/A layer set_view childs_scroll_x childs_scroll_y w h N/A N/A self view_x N/A self scale N/A N/A self view_y N/A self scale N/A set_state N/A N/A self N/A N/A N/A N/A self _scissor_enabled N/A N/A gl glIsEnabled N/A gl GL_SCISSOR_TEST N/A N/A self _old_scissor_flat N/A N/A N/A gl GLint 4 N/A N/A N/A gl glGetIntegerv N/A gl GL_SCISSOR_BOX N/A self _old_scissor_flat N/A N/A N/A self _scissor_enabled N/A N/A N/A N/A gl glEnable N/A gl GL_SCISSOR_TEST N/A N/A N/A gl glScissor N/A self _scissor_flat N/A unset_state N/A N/A self N/A N/A N/A N/A N/A gl glScissor N/A self _old_scissor_flat N/A N/A N/A self _scissor_enabled N/A N/A N/A N/A gl glDisable N/A gl GL_SCISSOR_TEST N/A visit N/A N/A self N/A N/A N/A N/A N/A self viewport None N/A N/A N/A N/A self set_state N/A N/A N/A N/A super ScrollingManager self visit N/A N/A N/A self unset_state N/A N/A N/A N/A N/A super ScrollingManager self visit N/A N/A