Commit Graph

186 Commits

Author SHA1 Message Date
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
DarkWyrm
8ccf453d5e Ported and added prototype #7's ScreenDriver and ViewDriver
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2593 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-28 23:58:06 +00:00
DarkWyrm
643c5cd11e Documented AppServer class.
Implemented most of the AppServer class - can actually *run* the server.:P
Minor tweaks to ServerApp to accomodate AppServer::Broadcast()


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2586 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-27 19:43:15 +00:00
DarkWyrm
34a81c2f00 Added skeleton Desktop functions and skeleton Layer class
Tweaked files dependent files to include Desktop.h


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2547 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-24 15:19:27 +00:00
DarkWyrm
0934499c5d Added ServerApp, fully documented and 99% implemented
Made FontServer::FontsUpdated public


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2546 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-24 14:36:15 +00:00
DarkWyrm
0933894bf7 SetCursor(int32 token) now sets system cursor_which to B_CURSOR_OTHER
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2545 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-24 14:20:44 +00:00
DarkWyrm
134b30df97 Added global cursormanager object
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2544 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-24 14:00:48 +00:00
DarkWyrm
2dc718a7e8 Implemented and documented the cursor manager
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2538 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-23 14:25:16 +00:00
DarkWyrm
a534bc89a5 Forgot to add the ID token. Doh!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2535 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-23 01:20:28 +00:00
DarkWyrm
579d027203 Added TokenHandler class and associated documentation
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2534 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-23 01:06:45 +00:00
DarkWyrm
abc4a76816 Added app signature identifier for CursorManager class
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2533 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-23 00:37:53 +00:00
DarkWyrm
a3d04b0ebc Tweaked AccelerantDriver to utilize recent DisplayDriver changes
Added a number of new files to server
app_server now included in the build


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2524 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-20 20:38:49 +00:00
DarkWyrm
be21660d1c Finished FontServer documentation, added Angle class
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2523 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-20 17:31:44 +00:00
DarkWyrm
c37002b4ea More documentation tweaks
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2517 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-19 23:04:58 +00:00
shadow303
76e470159f Just enough to cause headaches for the real app_server ;)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2504 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-19 20:14:22 +00:00
DarkWyrm
7e3d17ed77 Initial checkin with minimal documentation
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2497 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-18 21:43:30 +00:00
DarkWyrm
61207aa15f Added the pretty-much-final-but-probably-needs-tweaked system color set support
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2495 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-18 21:03:27 +00:00
DarkWyrm
94cd5349e1 Documented ServerCursor
Other documentation tweaks


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2494 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-18 20:32:45 +00:00
DarkWyrm
e3bb08007b Added color lookups when assigning colors and reworked documentation
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2493 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-18 20:12:03 +00:00
DarkWyrm
f4a6475edf Finished API documentation and a couple API fixes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2489 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-18 18:44:01 +00:00
DarkWyrm
cd5337c0a2 Lots of new stuff and tweaks to old specs.
DisplayDriver documentation incomplete.
ServerCursor docs nonexistent.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2442 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-12 22:51:01 +00:00
DarkWyrm
8927dfb846 Updates to RGBColor and adding Doxygen documentation
Added foundation for font classes.
Still not in build (on purpose)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2342 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-31 22:19:48 +00:00
DarkWyrm
7af0fd5b2e The server has begun...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2340 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-31 18:21:14 +00:00
DarkWyrm
8cca67e9c1 Removed the problem with losing grip on the window while resizing
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2182 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-08 15:16:25 +00:00
DarkWyrm
09aa48996d Finished input server emulation code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2181 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-08 14:49:10 +00:00
DarkWyrm
a5dbd67b81 Added optional locking timeouts to help stave off deadlocks
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2180 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-08 12:32:34 +00:00
DarkWyrm
457c142fdf increased port capacity. Should make deadlocks with the ViewDriver not so much a problem.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2179 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-08 12:13:22 +00:00
DarkWyrm
e11a052e91 Fixed some font-related deadlocks
Added B_OP_OVERLAY support to BlitBitmap
Fixed a cursor display bug
Rudimentary mouse click support for input server emulation code


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2174 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-07 01:34:45 +00:00
shadow303
63683bae80 Initialize & Cursor bug fixes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2164 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-06 00:50:16 +00:00
shadow303
7348e71fc3 Fix initialization and memory issues
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2158 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-04 01:16:15 +00:00
DarkWyrm
325a5f6bb6 Fixed MoveToBack/MoveToFront crasher
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2157 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-03 22:54:16 +00:00
DarkWyrm
68bb610bbc More redraw fixes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2132 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-03 00:23:04 +00:00
DarkWyrm
63034805fd Removed a bug in Layer::Invalidate()
Fixed a bunch of redraw problems


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2131 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-03 00:21:19 +00:00
DarkWyrm
57dd5feac4 Redraw tweaks for sliding tabs
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2130 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-02 23:00:45 +00:00
DarkWyrm
a68816fa27 Fixed GetFootprint to return proper window layout
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2129 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-02 22:56:17 +00:00
shadow303
f7052c0ec3 Fix StrokeArc
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2123 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-29 23:16:03 +00:00
shadow303
8081366ed4 Fix up cursor stuff
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2077 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-24 22:02:37 +00:00
DarkWyrm
f0577aea09 Complete server update.
Fix for garbage text in window titles
Updates to decorator and API


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2066 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-23 01:23:43 +00:00
DarkWyrm
eb8218b543 Added StringWidth() and StringHeight() calls
Removed redundant DrawChar() implementation from ScreenDriver


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1970 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-17 00:52:40 +00:00
DarkWyrm
9177ec787d Removed a cast warning from StrokeArc
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1968 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-16 23:26:43 +00:00
shadow303
8f3cf68703 Added extra pixel setting routines
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1945 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-15 00:12:33 +00:00
shadow303
a27f9ebd60 Fix value of ANGLE_PI
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1944 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-15 00:11:32 +00:00
Ingo Weinhold
50a2831740 Use a known target (the symlink in ~/config/lib) for LinkSharedOSLibs instead of the anonymous `freetype'.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1943 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-14 23:12:55 +00:00
shadow303
7eae9afc01 Remove include ServerCursor.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1910 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-13 00:49:28 +00:00
shadow303
eede6bce57 Add StrokeArc and StrokeBezier
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1909 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-13 00:48:33 +00:00
DarkWyrm
0daf473e42 ViewDriver::DrawString now utilizes FreeType2 code
More bugfixes leftover from ServerCursor elimination


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1899 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-10 01:09:26 +00:00
DarkWyrm
08463035d2 Forgot to add Angle class to build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1895 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-09 21:28:02 +00:00
DarkWyrm
ab225173d8 (Theoretically) fixed the build
Replaced ServerCursor class with ServerBitmap use
DisplayDriver updated
ScreenDriver now does DrawString and DrawChar (!) and looks good
Fixed stupid jamfile mistakes


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1894 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-09 21:26:34 +00:00
DarkWyrm
fc8dfd798a Added prototype #7 and test application to tree
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1863 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-06 22:52:04 +00:00
DarkWyrm
54b288ebda Added prototyp #7 and test application to tree.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1862 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-06 22:50:38 +00:00
shatty
dece452ee7 fixed newline at end of file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1222 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-28 01:48:03 +00:00
Michael Phipps
5b87d86af3 Added some necessary files.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@625 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-07 02:51:06 +00:00
ejakowatz
c07b7f382d A couple of minor tweaks to get things building again.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@65 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 22:17:00 +00:00
Ingo Weinhold
b01bedd574 This brings the app server proto6 into the game. It doesn't compile completely though and I don't even know, if all the stuff in the subdirs is really needed. DarkWyrm?
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@48 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 19:24:36 +00:00
ejakowatz
52a3801208 It is accomplished ...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-09 12:24:59 +00:00