Commit Graph

176 Commits

Author SHA1 Message Date
DarkWyrm
46ec4904d3 Added Layer functions for mouse transit events and for view cursors
Added app cursor support


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4736 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-17 19:28:31 +00:00
DarkWyrm
3231b95ed8 Un-kludged Decorator::GetFootprint. Much more elegant now. :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4732 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-17 17:14:22 +00:00
DarkWyrm
ec50f74f8d StrokeLineArray now uses the BView LineArray API internally
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4730 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-17 16:55:06 +00:00
DarkWyrm
af7ed6dda5 Removed a few compiler warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4723 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-17 12:41:33 +00:00
DarkWyrm
2399b2c59a tweaks to get server to build under R5 without using jam
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4716 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-17 00:03:47 +00:00
Adi Oanca
87bcd8f415 * Added a handler for AS_LAYER_SET_FONT_STATE message
* Modified a bit AS_LAYER_CREATE handler 'cause I forgot about AS_LAYER_SET_FONT_STATE and hidden state.
* Added a handler for AS_LAYER_GET_STATE message
* Added a handler for AS_LAYER_DELETE message
* Modified FindLayer() - now it works OK
* added debugging code for AS_LAYER_CREATE handler.
*** Tree structure is in place and working.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4691 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-15 19:14:45 +00:00
Adi Oanca
ffb9ea55f5 * added initialization in contructor to (0.0, 0.0) for _boundsLeftTop member.
* modified Bounds() to use that member.
* some changes into RemoveChild()
* added a debugging method: void PrintTree()


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4690 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-15 19:11:52 +00:00
Adi Oanca
4a60209dc7 * added ServerFont::operator=(const ServerFont& font).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4689 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-15 19:09:13 +00:00
Adi Oanca
b6577e4da8 * added a new member, BPoint _boundsLeftTop. Beside other uses, (DW don't forget!)it will be needed in redraw code.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4688 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-15 19:08:44 +00:00
Adi Oanca
260ec753f4 * changed SetFont to acomodate(eng?) with LayerData's 'font' member witch is now allocated on stack.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4687 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-15 19:08:07 +00:00
Adi Oanca
957320d114 * Minor changes due to the fact that LayerData::font member is allocated on stack now...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4686 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-15 19:07:45 +00:00
Ingo Weinhold
7cc4564205 Always put SubIncludes at the very end of a Jamfile.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4628 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-11 21:44:29 +00:00
DarkWyrm
3b7457281b Moved font server header to private app_server headers location - unbroke the build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4606 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-09 10:26:11 +00:00
DarkWyrm
9670d865c3 Re-fixing the jamfile to allow builds from the current directory
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4605 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-09 10:16:17 +00:00
Adi Oanca
b2a5444427 Moved FontServer.cpp into libappserver.so to avoid a linker error caused by modifications made in LayerData.h
... the line with: fontserver->GetSystemPlain().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4583 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-08 22:20:29 +00:00
Adi Oanca
32a9b6b6e2 debug code looks nicer...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4581 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-08 22:09:10 +00:00
Adi Oanca
3ecfa8e102 debug code looks nicer...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4580 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-08 21:48:35 +00:00
Adi Oanca
1f0ca0978a debug code looks nicer... + others, use diff!!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4579 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-08 21:45:26 +00:00
Adi Oanca
92e26ba96d new code. use diff to see differences
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4577 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-08 21:18:39 +00:00
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