Commit Graph

72 Commits

Author SHA1 Message Date
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
DarkWyrm
0d831b179f Changed locking scheme to allow for multiple acquisitions
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2682 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-10 12:56:10 +00:00
shadow303
9eebe3f574 Added bounds checking and patterns to drawing functions
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2653 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-07 22:12:00 +00:00
DarkWyrm
7efc1255ed Modified ColorSet to match new color_which defs in InterfaceDefs.h
Added ending newlines to a number of files


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2648 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-07 17:30:17 +00:00
DarkWyrm
70acf9f9fb Added ServerWindow skeleton
Uncommented most ServerWindow dependencies in other files
Implemented and documented almost all of Layer class


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2646 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-07 12:53:57 +00:00
shadow303
79e622060c More drawing fuctions, and start adding bounds checking
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2645 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-07 01:03:39 +00:00
DarkWyrm
e5a496eadd Removed dependency on local PortLink and ColorUtils sources - links against libopenbeos now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2640 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-06 22:14:29 +00:00
DarkWyrm
43fd19a147 Minor cruft removal
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2638 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-06 01:05:18 +00:00
DarkWyrm
1568958e09 Added class for easily adding pattern support to DisplayDriver subclasses.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2637 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-06 01:04:14 +00:00
shadow303
e42e3be9c8 Autodetect graphics card, mode stuff, and more drawing stuff
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2632 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-04 23:52:34 +00:00
shadow303
48f49cdf5c Implement more drawing code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2630 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-04 00:31:15 +00:00
DarkWyrm
d55509c6be Implemented AppServer::HandleKeyEvent and FindApp
Minor tweaks to ServerApp::PostMessage to allow for regular message posting


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2629 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-04 00:20:15 +00:00
shadow303
3ffc009720 Implement more drawing code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2628 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-03 00:53:16 +00:00
shadow303
d87d0228f4 Fix initialization and implement FillRect
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2617 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-01 20:42:02 +00:00
DarkWyrm
fb994d6964 Removed some warnings and added documentation
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2594 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-29 00:11:21 +00:00