Commit Graph

20 Commits

Author SHA1 Message Date
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
9599477715 * made RebuildFullREgion virtual
* added some friends... temporaly


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7079 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-28 14:58:19 +00:00
Adi Oanca
01f14b6c8c reduced to a minimum. It's the next on my TODO list to make redrawing code work it also.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6721 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-24 11:56:03 +00:00
DarkWyrm
31b34533a7 Converted numerous printf() calls to STRACE(()) calls
Added some mouse click handling code to WinBorder
Made WinBorder mouse hooks simpler
Added some mouse handling code to ServerWindow


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6207 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-21 02:58:39 +00:00
Adi Oanca
158c46331a new desktop management code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6057 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-13 00:56:36 +00:00
Adi Oanca
67e7217c89 new desktop management code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6056 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-13 00:38:42 +00:00
DarkWyrm
a0f01f6cba Integrated Adi's new desktop code into the server
Implemented a bunch of BScreen-related functions in ViewDriver


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6023 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-11 22:12:55 +00:00
Adi Oanca
e9c5b47ef4 changed code for mouse input funtions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5364 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-15 00:29:14 +00:00
Adi Oanca
7052fe60fa new optinized clipping code
new optimized redrawing code
changes in some handlers in ServerWindow.
other minor changes.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5355 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-14 00:15:29 +00:00
DarkWyrm
d7f34b0231 Minor tweaks and improvements to the DefaultDecorator
Made toggle for RootLayer debug output
Optimization for ViewDriver::CopyRegion with 1-rectangle regions
Fixes and tweaks to WinBorder::MouseMoved()
Toggled debug output in ServerApp
More useful comments in code in general


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4517 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-06 21:09:11 +00:00
Adi Oanca
67f4247f6c Now, a window properly displays and moves across screen. Yupyyy! That was possible before... but now the new window is drawn arround the rect passed by BWindow. I also made some changes in update mechanim of Winborder/Layer/RootLayer.
also made some methods virtual 'cause I think DW forgot about that! It's normal, app_server is SOOOO big! :-)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4489 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-03 21:43:09 +00:00
Adi Oanca
7641924e66 Modified some classes to succesfully comunicate with BWindow/BView. the default decorator has been impoved. From now borders are build ARROUND the window area.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4432 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-31 17:38:34 +00:00
DarkWyrm
2a8283e420 Windows receive focus when shown
System cursor API and infrastructure largely implemented
Added Decorator::SetFont
Removed unnecessary parameter copying in WinBorder class API
Optimized screen updates when a decorator button is clicked
Moved TokenHandler and BitmapManager to libappserver to allow decorators to use bitmaps
Began reworking of DefaultDecorator::_DrawFrame to draw only what it is asked to
Partly implemented ViewDriver::StrokeLineArray - calls StrokeLine
Fixed a Layer init bug - visibility regions were initialized to Bounds() and not Frame()


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4060 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-24 19:38:24 +00:00
DarkWyrm
de662b01c8 Window border movement fixes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3718 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-28 19:06:30 +00:00
DarkWyrm
a8c44e89f8 Added a *serious* speedup to window move code
Added a couple more empty message handlers to ServerWindow
Improved DefaultDecorator - works better now
DisplayDriver::CopyRegion added and implemented it for ViewDriver


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3637 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-24 13:55:18 +00:00
DarkWyrm
812870fc43 Added a couple hooks to DisplayDriver
app_server will now display a window. Can't do anything with it, at least not yet.
GUI colors are also used now


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3047 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-30 21:09:39 +00:00
DarkWyrm
c0a08539ac Implemented *very* basic server-side window creation code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2904 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-12 18:32:27 +00:00
DarkWyrm
e8cde26567 Finished up ServerApp
Implemented most of and documented all of ServerWindow
Miscellaneous necessary tweaks to other classes


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2833 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-24 15:47:06 +00:00
DarkWyrm
2939a1dcc8 Added license to a number of files
More work on Desktop and DesktopClasses
minor API tweak to DisplayDriver
Added conditional compilation stuff to AppServer.cpp for debugging purposes
TokenHandler now uses BLockers instead of semaphores for locking
Can now run the server and see something


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2717 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-15 15:28:22 +00:00
DarkWyrm
2a4228b556 Stubbed out WinBorder class
Uncommented code in other files dependent on WinBorder


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2703 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-14 01:53:53 +00:00