Adi Oanca
c233705d66
semaphore related work. ServerWindow has a few methods guarded by a semaphore. Same for WinBorder.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8061 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-19 13:04:50 +00:00
Adi Oanca
8491b62602
Cleanup for ServerWindow object
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8060 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-19 10:23:14 +00:00
Adi Oanca
e26d667afe
Fixed window focus state drawing in ServerWindow::Show(). Changing focus with the mouse does not work, yet. Tomorrow, I'll fix that.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8058 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-18 22:27:46 +00:00
Adi Oanca
c7ad7fe18e
Some imprudence for me. All decorators got (re)drawn instead of the one in question. Fixed that.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8055 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-18 19:13:06 +00:00
Adi Oanca
54d800ec02
Commented a line because it made app_server crash on window resize. DefaultDecorator needs to be rewriten.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8053 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-18 17:16:41 +00:00
Adi Oanca
ead47553f2
Decorator-resize redrawing fixed.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8047 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-18 15:24:36 +00:00
Adi Oanca
560a22494e
Windows properly displayed. I mean, both, its border and top_layer are
...
shown. Some redrawing problems remain while resizing... They will be
fixed soon.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8039 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-18 11:50:17 +00:00
Adi Oanca
0573400f8a
Damn vi. I'll use nano next time. Sorry about my previous blank message.
...
Trying to make windows visible again. :-)) Made decorator until now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8033 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-17 14:39:21 +00:00
Adi Oanca
d754f1a3d6
*** empty log message ***
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8000 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-16 06:40:26 +00:00
DarkWyrm
a3031ab19b
Added cases for Minimize buttons in decorators
...
Buttons on up-to-date decorators now work properly
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7957 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-14 20:32:21 +00:00
DarkWyrm
4f4af1fe79
Janitorial work -- mostly moving style closer to OT guidelines
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7912 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-11 18:21:57 +00:00
DarkWyrm
8988c68b1d
Plugged a couple memory leaks and code fix to WindowBroadcast()
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7908 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-11 14:58:24 +00:00
DarkWyrm
70e337a0b4
Janitorial work and minor ServerWindow tweaks
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7907 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-11 14:47:36 +00:00
DarkWyrm
a64bba1208
Janitorial work, mostly
...
API tweaks in WinBorder
Removal of some unnecessary TODO comments
Decorators now draw buttons when clicked
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7899 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-11 02:46:48 +00:00
Adi Oanca
885eed5c44
a little cleanup
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7744 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-02 20:44:46 +00:00
haydentech
759fcf143d
FontStyle::Name() was returning the path, not the name. It looked like an unfinished cut-n-paste from Path().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7657 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-26 16:41:29 +00:00
haydentech
5c210a480b
gcc3 warning and error fixes
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7656 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-26 16:38:58 +00:00
shadow303
43404a847e
Rename clippReg to clipReg
...
Implement drawing and clipping for display driver - drawing and clipping should work including pensizes. Drawmodes, line caps, and line joins aren't supported yet. Some implementations will need to be revamped.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7622 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-20 01:31:28 +00:00
Adi Oanca
e81b5ee3a8
window resizing support
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7605 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-16 19:27:59 +00:00
Adi Oanca
d312bebc4c
a little member we need for resizing
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7604 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-16 19:26:28 +00:00
Adi Oanca
31776f9842
resize support
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7603 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-16 19:24:18 +00:00
Adi Oanca
385e94dbf4
modified a little how the _full region is built for the top_layer
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7602 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-16 19:21:51 +00:00
Adi Oanca
37811ae65e
little fix for the cursor to be displayed better
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7601 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-16 19:19:45 +00:00
Adi Oanca
766a6dfd11
modified resize methods
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7600 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-16 19:17:34 +00:00
Adi Oanca
56f043ed2d
modified Resize methods
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7599 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-16 19:15:36 +00:00
DarkWyrm
bcb8907775
I'm baaaaaack! :P
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7538 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-12 10:55:47 +00:00
DarkWyrm
da08bdd09d
Checkin for Caz (without pain, even!) which adds rudimentary DrawBitmap support
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7223 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-16 17:52:31 +00:00
Adi Oanca
0029e79802
added a small but important comment
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7163 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-04 20:32:23 +00:00
Adi Oanca
24cbcac721
added support for moving with the help of the mouse.
...
added preliminary support for DEcorator buttons
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7162 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-04 20:30:20 +00:00
Adi Oanca
4251c0e465
added a memeber to know the WinBorder wich received the mouse down event
...
used that memeber to move the window arroud - with the help of the mouse
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7161 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-04 20:28:14 +00:00
Adi Oanca
9baac8ab74
small fix to make a WinBorder unhidden
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7160 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-04 20:26:17 +00:00
Adi Oanca
cf00cb08ee
fixed some bugs and workarrounds
...
added support for resolution change - in fact, fixed it
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7159 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-04 20:24:59 +00:00
Adi Oanca
faf78a3ae0
removed fBackColor member
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7152 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-03 15:09:10 +00:00
Adi Oanca
950e269c8e
modified PrintToStream method
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7151 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-03 15:08:09 +00:00
Adi Oanca
009bee6435
nothing important . Really! :-)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7150 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-03 15:06:45 +00:00
Adi Oanca
3350f57dd7
modified the way BView data is received.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7149 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-03 15:05:49 +00:00
Adi Oanca
979f50e101
added a PrintToStream method
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7146 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-03 15:01:10 +00:00
Adi Oanca
51adcc8405
consted a few parameters
...
modified line functions - made them work
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7145 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-03 15:00:16 +00:00
Adi Oanca
be76d636d4
small fix
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7092 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-28 15:04:01 +00:00
Adi Oanca
1610897948
* rewritten big parts to blend with the new clipping code
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7091 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-28 15:03:34 +00:00
Adi Oanca
82cc45c032
* made the desturctor virtual
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7090 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-28 15:03:15 +00:00
Adi Oanca
cd916e88f6
* little fixes
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7089 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-28 15:02:53 +00:00
Adi Oanca
76f9576971
* added a temporaly method for constraining the clipping region.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7088 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-28 15:02:31 +00:00
Adi Oanca
47e76f9bba
* added 2 methods:...
...
* made one virtual
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7087 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-28 15:01:46 +00:00
Adi Oanca
8a725f55d1
* fixes for region rebuiding
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7086 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-28 15:01:27 +00:00
Adi Oanca
7f788bd639
* fixes to the redrawing code
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7085 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-28 15:01:08 +00:00
Adi Oanca
4b97b66984
* added a call to ServerWindow::Init();
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7084 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-28 15:00:48 +00:00
Adi Oanca
c125512504
* lots of fixes mainly to region rebuilding, because WinBorder and is a bit special Layer subclass.
...
* clarified Layer creating process.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7083 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-28 15:00:31 +00:00
Adi Oanca
293c278ef5
* added 3 methods for more clearty in Layer buiding process, also for easier attribute seting.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7082 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-28 15:00:08 +00:00
Adi Oanca
5e9ce9fe93
* added/implemented void ViewDriver::ConstrainClippingRegion(BRegion *reg) defined by DisplayDriver.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7081 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-28 14:59:11 +00:00