* Added BSplitView drawing code to ControlLook.

* BSplitView uses ControlLook to draw itself.
* Small refactoring in SplitLayout to implement IsAboveSplitter(BPoint).
* BSplitView updates the view cursor when the mouse is above a splitter.
* Standard splitter size is now 6 pixels, which is a bit easer to hit.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31137 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus
2009-06-20 15:03:33 +00:00
parent 01206002ba
commit 1f9fd6d866
6 changed files with 244 additions and 53 deletions
+2
View File
@@ -55,10 +55,12 @@ public:
protected:
virtual void DrawSplitter(BRect frame,
const BRect& updateRect,
enum orientation orientation, bool pressed);
private:
static void _DrawDefaultSplitter(BView* view, BRect frame,
const BRect& updateRect,
enum orientation orientation, bool pressed);
private: