History log of /haiku/src/tests/servers/app/newClipping/MyView.h
Revision Date Author Comments
# a4aff61d 02-Jun-2005 Adi Oanca <adioanca@nowhere.fake>

Imported Stephan's CopyRegion. Trying to optimize resize operations - work in progress.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12934 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a332730d 29-May-2005 Adi Oanca <adioanca@nowhere.fake>

- moving and resizing is new performed only with the primary mouse button
- by holding the secondary mouse button pressed one can draw random lines
so you can see what regions are invalidated durring a move, resize or
scroll operation
- clicking the third mouse button issues a redraw, WITHOUT a region
rebuild action (this is to force a redraw because the window does not
redraw itself, I've been lazy :-)
- playing with the mouse wheel results in the layer under mouse cursor
being scrolled on the y-axis.

- fixed redraw and copyRegion of this sandbox app. They work correctly
now.

- TODO: fix a clipping bug which appears when moving a layer arround.


--This line, and those below, will be ignored--

M newClipping/MyView.cpp
M newClipping/main.cpp
M newClipping/MyView.h
M newClipping/Layer.cpp
M newClipping/Clipping.proj


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12895 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6e795cfe 28-May-2005 Adi Oanca <adioanca@nowhere.fake>

fully implemented support for B_DOCUMENT_WINDOW_LOOK windows (resize tab overlapping top_view's area). Added support for live moving and resizing the layers shown, resizing is done by dragging from the lower right corner of a layer or winborder. Fixed a bug with for B_FULL_UPDATE_ON_RESIZE flag. More testing remains to be done because there seems to be a problem with clipping under certain circumstances, but I'm nearly finished. :-)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12872 a95241bf-73f2-0310-859d-f6bbb57e9c96


# fd5fe00c 18-May-2005 Adi Oanca <adioanca@nowhere.fake>

Got scrolling to work properly

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12722 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4a95e833 17-May-2005 Adi Oanca <adioanca@nowhere.fake>

Implemented some support for moving and reziving Layers. It works too. :-)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12701 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4bdd131a 16-May-2005 Adi Oanca <adioanca@nowhere.fake>

my test app for new clipping code

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12691 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a4aff61d76253ff2252743e427cffac008d5de54 02-Jun-2005 Adi Oanca <adioanca@nowhere.fake>

Imported Stephan's CopyRegion. Trying to optimize resize operations - work in progress.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12934 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a332730df786a7aa05833ed53fd351eebabe88ba 29-May-2005 Adi Oanca <adioanca@nowhere.fake>

- moving and resizing is new performed only with the primary mouse button
- by holding the secondary mouse button pressed one can draw random lines
so you can see what regions are invalidated durring a move, resize or
scroll operation
- clicking the third mouse button issues a redraw, WITHOUT a region
rebuild action (this is to force a redraw because the window does not
redraw itself, I've been lazy :-)
- playing with the mouse wheel results in the layer under mouse cursor
being scrolled on the y-axis.

- fixed redraw and copyRegion of this sandbox app. They work correctly
now.

- TODO: fix a clipping bug which appears when moving a layer arround.


--This line, and those below, will be ignored--

M newClipping/MyView.cpp
M newClipping/main.cpp
M newClipping/MyView.h
M newClipping/Layer.cpp
M newClipping/Clipping.proj


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12895 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6e795cfe267b4f6be911aa5d9490290bd58d4b78 28-May-2005 Adi Oanca <adioanca@nowhere.fake>

fully implemented support for B_DOCUMENT_WINDOW_LOOK windows (resize tab overlapping top_view's area). Added support for live moving and resizing the layers shown, resizing is done by dragging from the lower right corner of a layer or winborder. Fixed a bug with for B_FULL_UPDATE_ON_RESIZE flag. More testing remains to be done because there seems to be a problem with clipping under certain circumstances, but I'm nearly finished. :-)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12872 a95241bf-73f2-0310-859d-f6bbb57e9c96


# fd5fe00cb138b59ab2d91b5432148401ebeadd8c 18-May-2005 Adi Oanca <adioanca@nowhere.fake>

Got scrolling to work properly

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12722 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4a95e833570daf0649896d6d6ea9950e34d721a8 17-May-2005 Adi Oanca <adioanca@nowhere.fake>

Implemented some support for moving and reziving Layers. It works too. :-)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12701 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4bdd131ac5327f6bf4dc83ceb8bc0b62f847adf7 16-May-2005 Adi Oanca <adioanca@nowhere.fake>

my test app for new clipping code

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12691 a95241bf-73f2-0310-859d-f6bbb57e9c96