Commit Graph

33 Commits

Author SHA1 Message Date
DarkWyrm
8dd37bd51b s/OpenBeOS/Haiku/
Bugfixes to graphics cases in ServerWindow
Added assignment operator to GraphicsBuffer
Style fixes for ServerCursor and ServerBitmap
Implemented and integrated CursorHandler to clean up DisplayDriver code some
Hotspot bugfix for ServerCursor(cursordata *)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9019 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-20 22:50:02 +00:00
DarkWyrm
b5eb4481e8 Some minor API cleanups
Documented quite a few functions while refamiliarizing myself with the desktop code


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8896 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-09 00:54:21 +00:00
DarkWyrm
4a10a4f0ea Fixed a quit bug in ViewDriver
Slightly improved ServerScreen::SupportsResolution
Implemented a DPMS hack for ViewDriver and DirectDriver
Moved various supporting classes from DisplayDriver.cpp to DisplaySupport.cpp
Added server-side support for BWindow::SetSizeLimits


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8541 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-07 20:30:58 +00:00
haydentech
8af8de70ab Some of the recent improvements Adi made were inadvertantly removed by the BPortLink patch
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8534 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-03 15:17:44 +00:00
DarkWyrm
ad56ce66a3 Pahtz's changes to use BPortLink systemwide, with a few minor other changes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8520 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-30 15:16:59 +00:00
Adi Oanca
b0a5df7a0f app_server, sometimes needs to hide some windows without affecting a window's original hidden state. For that I introduced 2 new methods in WinBorder and made Layer::IsHidden() virtual.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8375 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-11 11:08:36 +00:00
Adi Oanca
eac978a987 Cleanp continues. Removed 2 methods from Workspace class because were related to rebuild/redraw stuff. Workspace should only care about corect window placement and order.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8366 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-10 10:54:20 +00:00
Adi Oanca
a68bab127c I'm in the middle of corect window drawing while using the mouse.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8083 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-20 20:02:32 +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
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
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
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
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
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