Commit Graph

118 Commits

Author SHA1 Message Date
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
44e0bbe4be Removed some compiler warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3633 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-24 00:14:33 +00:00
shadow303
b511995b2f gcc3 fixes & other minor tweaks
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3619 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-23 02:54:52 +00:00
shadow303
3368f55060 Add partial handling of graphics messages
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3618 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-23 02:53:55 +00:00
shadow303
79441319f9 Fix FillArc and FillBezier
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3129 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-30 00:36:09 +00:00
shadow303
7be0e66c42 Tweak the hack test of drawing routines
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3128 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-30 00:35:18 +00:00
shadow303
c7b36220bb Fix ROUND macro
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3127 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-30 00:34:40 +00:00
DarkWyrm
511004cc7a Removed a couple problems caused by Adrian's recent changes in ServerProtocol.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3077 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-18 19:58:43 +00:00
shadow303
28adeff1cb Add some of the hardware acceleration
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3070 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-18 00:40:26 +00:00
shatty
fe5cc7b493 add newline to end of file
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3066 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-14 01:56:41 +00:00
DarkWyrm
47b0fc0ee3 Lots of minor tweaks here and there
Added debug code to a number of files
Enabled ServerWindow and WinBorder mouse-handling code
ScreenDriver is now double-buffered (exceedingly useful for testing)
I'm trying to think, but nothing happens! :D


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3052 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-05 01:51:35 +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
0f434a0aad The mother of all commits. :P
Unremoved zlib and added libpng to public libs (C'mon DW, make up your mind... ;^)
Added screenshot support to app_server
Added full keyboard message support to app_server
Added UseLibraryHeaders and LibraryHeaders rules to jamrules
Updated ColorUtils to convert uint32 colors to rgb_colors
BAppServerLink now autolocks client-server communications on the client side (as it should)
app_server now also juliennes and makes french fries. Yum.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3045 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-30 00:17:50 +00:00
DarkWyrm
8374297262 Added print debug code to a number of classes
SendMessage allows for target specification
Included BMessage friend classes to allow building whilst they are absent from BMessage.cpp
More window-related code added


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3004 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-23 20:52:37 +00:00
DarkWyrm
bff387f17a Set up sources to begin work on added BPicture support
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2979 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-21 15:49:28 +00:00
DarkWyrm
1fd593cdd7 *Doh* Always check the build _before_ checking in, not after. *sigh*
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2949 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-19 01:20:20 +00:00
DarkWyrm
7b919e9ac2 Added BHandler token members to ServerApps and ServerWindows
Modified ServerApp and ServerWindow constructors to include BHandler tokens


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2948 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-19 01:12:53 +00:00
DarkWyrm
a0ffbf9588 Tweaks for adding Picture.cpp
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2942 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-18 21:57:34 +00:00
DarkWyrm
f098890e88 More bugfixes for BWindow construction
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2906 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-12 19:34:47 +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
59a15bb433 Added ServerApp code for BBitmap handling
Added some support functions to ServerBitmap
BitmapManager now adds ID tokens to ServerBitmaps


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2898 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-12 14:29:59 +00:00
DarkWyrm
d00757dea3 Added BitmapDriver for drawing on BBitmaps with BViews
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2884 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-11 23:17:56 +00:00
DarkWyrm
7a618fe9a9 Added PicturePlayer class based on Marc Flerackers' TPicture class
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2873 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-08 21:07:10 +00:00
DarkWyrm
b0decc9424 Finished out Desktop functions and tweaked some documentation
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2857 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-01 20:25:08 +00:00
DarkWyrm
193776bde4 Removed extra file - the file used is in headers/private/app
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2834 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-24 15:52:04 +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
shadow303
de34217176 Bug fixes for FillTriangle and FillPolygon
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2826 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-24 00:59:24 +00:00
shadow303
163b5adda5 Add tests for Fill/Stroke Triangle and Polygon
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2825 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-24 00:58:56 +00:00
DarkWyrm
c26d77e634 Implemented Screen::SetMode
Added Workspace::SetSpace
Removal of old, commented-out server emu code in ScreenDriver
Tweaks to ServerProtocol and ServerConfig to have all BApplication messages, main server port name
AppServer now works fully at prototype #3 level - really cool with ScreenDriver!


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2814 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-23 21:40:44 +00:00
DarkWyrm
69e09bebe2 Cursor is initially displayed at the proper position
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2808 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-23 01:42:11 +00:00
DarkWyrm
ce2891d251 Properly implemented StrokeRoundRect
FillRoundRect still not implemented, but draws a roundrect now
Removed a crash when cursor is partly off right or bottom edge of screen
New mouse input emulation code works *great*
BlitBitmap needs some tweaking in the clipping code - redraw bug


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2807 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-23 01:35:29 +00:00
DarkWyrm
eee27b42ec Debugged cursor handling code. AFAICT it works properly
Retooled ScreenDriver mouse emu code - polls the mouse now.
Added mouse wheel support to ScreenDriver and ViewDriver emu code
AppServer handles mouse wheel messages now
Partially documented ScreenDriver code with DisplayDriver docs
Added ViewDriver::FillPolygon
Server has reached same functionality as prototype #3


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2794 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-22 20:23:22 +00:00
DarkWyrm
a8224b9257 Added CursorManager and BitmapManager to startup procedures
Work on cursor support.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2784 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-20 20:14:57 +00:00
DarkWyrm
e9318266f9 Finished Desktop functions and associated documentation
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2783 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-20 18:05:35 +00:00
DarkWyrm
0258e5900f Implemented more desktop functions
ServerWindow API tweaks


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2782 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-20 13:13:01 +00:00
DarkWyrm
028f9f9235 Minor tweak to hide/show tracking
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2769 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-20 00:59:41 +00:00
shadow303
9c2c646bdb Add optional driver test.
Fix FillRoundRect.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2745 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-17 22:36:05 +00:00
shadow303
b7772bd6d4 Fix handling of DISPLAYDRIVER
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2744 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-17 22:23:52 +00:00
DarkWyrm
7d4ea3a3a3 Documented some more files
ScreenDriver's Get methods return proper values
Server with ViewDriver now operates as well as prototype 3


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2736 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-17 16:24:27 +00:00
DarkWyrm
bfc47a9d3b Tweaked API to fix a related crash
ViewDriver's Get methods return proper values


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2735 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-17 15:02:38 +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
3469d49d54 Implemented new_decorator()
Documented most Desktop functions and implemented some of them


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2705 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-14 11:04:01 +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
DarkWyrm
ae01fc9b49 Added default (fallback) decorator. Currently based on the OBOS decorator, but this will change.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2701 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-13 02:13:55 +00:00
DarkWyrm
fde0b388cc Imported BitmapManager code. Not documented yet.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2700 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-13 00:03:31 +00:00
shadow303
88bc465e5c Add documentation. Implement some of the Screen class
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2698 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-12 23:24:48 +00:00
shadow303
9512339a6f Implement FillPolygon. Remove some old junk.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2697 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-12 23:21:12 +00:00
DarkWyrm
d529723048 Added skeleton for desktop management classes
Implemented parts of desktop management functions in Desktop.h


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2696 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-12 11:24:26 +00:00
DarkWyrm
6e4bef603f More code written on ServerWindow
Added skeleton of new_decorator()


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2695 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-12 01:11:55 +00:00