Adi Oanca
dacd6a469b
simplified debug code
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4575 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-08 21:08:27 +00:00
DarkWyrm
23d3981b3b
Size is now initialized before use in method Play
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4531 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-07 22:16:26 +00:00
DarkWyrm
c7c8500780
Tweak to fix building from the current directory
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4518 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-06 21:13:38 +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
shadow303
17e6de7a37
gcc 3 fixes
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4227 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-04 00:46:53 +00:00
DarkWyrm
f5eabf0502
build fix as suggested by Andrew Bachmann
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4213 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-02 18:52:24 +00:00
DarkWyrm
5b1de832bd
Changed temporary font scan directories to home/config/psfonts and ttfonts
...
Added installation of official OBOS fonts to proper location in hierarchy
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4188 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-02 00:13:30 +00:00
DarkWyrm
e2c2a10c48
Another good, free Bitstream font for our use
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4180 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-01 18:35:50 +00:00
DarkWyrm
824c757a50
Added some free system fonts for OpenBeOS
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4178 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-01 18:23:09 +00:00
DarkWyrm
10aef7cbc0
Retooled pattern passing - much neater now. :)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4119 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-28 19:13:24 +00:00
DarkWyrm
591ceb9982
Fleshed out a few undone functions - RebuildRegions, SetDriver, etc
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4118 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-28 17:34:20 +00:00
DarkWyrm
cc986fa95d
Quick fix for a cut & paste error
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4117 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-28 17:13:33 +00:00
DarkWyrm
a7e4fa4c55
DisplayDriver now has publically-accessible locking/unlocking
...
StrokeLineArray fixes for ViewDriver
Fixes to display multiple overlapping windows properly
Layer::RebuildRegions works right now. :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4116 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-28 17:09:49 +00:00
DarkWyrm
bb7791ec05
ViewDriver::StrokeLineArray works correctly now
...
Frame drawing properly implemented in DefaultDecorator
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4094 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-27 00:24:07 +00:00
DarkWyrm
16446063cc
Moved BitmapManager and TokenHandler to libappserver
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4074 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-25 15:46:23 +00:00
DarkWyrm
9cdc27451e
Numerous fixes - see previous checkin
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4061 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-24 19:41:15 +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
ce072df2d0
Added move cursor data.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3991 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-16 00:43:10 +00:00
DarkWyrm
07dec7c1ca
CursorManager is initialized with default system cursors - need to add move cursor.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3990 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-15 23:27:50 +00:00
DarkWyrm
512df4993d
This is now a shared private app_server header
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3971 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-14 14:43:11 +00:00
DarkWyrm
f1b45a54bb
Not sure how this got here. Official file is at current/src/kits/app
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3970 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-14 14:41:11 +00:00
DarkWyrm
5a75a61e5c
ServerConfig now a shared (but private) app_server header
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3969 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-14 14:39:12 +00:00
DarkWyrm
9381d29b6f
Massive reconfiguring to fix link problems with all things needing app_server so
...
urces
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3963 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-13 20:56:00 +00:00
DarkWyrm
44df48e0a1
server loads (but not utilizes) decorators now
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3957 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-11 22:30:55 +00:00
DarkWyrm
1268b04d96
Implemented hook function notifiers
...
Converted regular ServerWindow messaging to PortMessage usage
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3949 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-10 20:22:07 +00:00
DarkWyrm
cab59b7cf3
Added support to field calls for FFM functions and scroll_bar_info calls
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3937 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-10 17:48:04 +00:00
DarkWyrm
b951412ea7
Made _SetFocus hook function an optional function
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3921 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-09 20:40:10 +00:00
shadow303
64150e75b5
Begin adding clipping to graphics message processing.
...
Add sibling access functions to layers.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3912 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-09 02:28:33 +00:00
shadow303
f029162a70
Clean up a couple warnings
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3911 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-09 00:41:50 +00:00
DarkWyrm
cc10522e49
Serious updates to DefaultDecorator
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3891 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-07 19:48:38 +00:00
DarkWyrm
dae7413e8a
OBOS-only system colors are loaded and used
...
Added _SetColors() hook function to Decorator API
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3889 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-07 13:09:42 +00:00
DarkWyrm
ea39092263
Added code to read R5 workspace config data
...
Added some functions to handle global mouse, menu, and FFM data
Tweaks to DesktopClasses
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3876 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-06 19:48:17 +00:00
DarkWyrm
491a7680eb
Server now loads (and uses) the GUI system colors and can save 'em, too
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3862 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-05 17:40:42 +00:00
DarkWyrm
16593e0a04
Tweaks to make screenshots work right. They work *perfectly* on Ctrl+Break. :)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3861 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-05 16:48:04 +00:00
DarkWyrm
75fc960bd8
Implemented and documented MakeTopChild and MakeBottomChild
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3860 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-05 16:03:54 +00:00
shadow303
92db32b4b1
Add handling for view specific data in graphics messages.
...
Add viewcolor to LayerData.
gcc 3 fixes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3847 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-04 21:13:48 +00:00
DarkWyrm
a7699ce227
Added Stroke/FillRegion to DisplayDriver for convenience
...
Fixes to redraw code - buggy, but less so. :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3719 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-28 20:07:36 +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
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
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