Axel Dörfler
bbc3515ba2
Added missing header.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8213 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-28 09:46:33 +00:00
Stefano Ceccherini
ddffb5d813
Forgot to add Screen.cpp & PrivateScreen.cpp to the build
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8212 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-28 09:27:04 +00:00
Stefano Ceccherini
624df6c6b5
Rewrote some parts BPrivateScreen (in a hurry) to make libbe compile
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8209 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-28 08:12:32 +00:00
Axel Dörfler
84591cffe1
Began exporting of R4.5 compatibility functions, just as an example.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8205 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-27 22:59:27 +00:00
Axel Dörfler
db11bebffc
Fixed warnings.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8196 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-27 21:36:42 +00:00
Axel Dörfler
ed52cdfd58
Fixed the build by disabling MouseDown/Up/Moved() methods.
...
Added missing BMenu::sMenuInfo storage.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8195 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-27 21:35:45 +00:00
Axel Dörfler
71786a380c
Added missing private AddShortcut variant.
...
Minor style update.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8194 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-27 21:32:52 +00:00
Axel Dörfler
bb776f87af
Added missing function get_scroll_bar_info() - it's not implemented correctly,
...
though.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8193 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-27 21:23:25 +00:00
Axel Dörfler
2f070ad2c1
Added missing constants from GraphicsDefs.h.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8181 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-26 16:09:13 +00:00
Axel Dörfler
3b36eca242
Added global const B_ORIGIN. Applied our coding style.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8180 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-26 15:24:10 +00:00
Stefano Ceccherini
5a5aa2e3c5
Now it checks (on KeyDown()) if the entered charachter is allowed, and it doesn't insert (and beeps) if not.
...
More documentation,
some more cleanups,
started implementing input methods messages handling (but don't hold your breath)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8157 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-25 10:00:29 +00:00
Stefano Ceccherini
75ad89705f
- Started documenting the class
...
- Added the B_INPUT_METHOD_AWARE flag to the constructor
- Fixed an obvious error in ResolveSpecifier()
- Added some ToDO items
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8145 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-24 13:46:58 +00:00
Stefano Ceccherini
a667ca3cde
Implemented MakeResizable more correctly (at least, it looks like it). Replaced LONG_MAX with the right lines number in Refresh() calls. Started work to make the widget double buffered. More cleanups.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8130 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-22 15:20:51 +00:00
Stefano Ceccherini
7889e7c9ed
Fixed a crash when undoing an "internal text drop", some cleanups.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8091 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-21 12:56:46 +00:00
Adi Oanca
5b7dc94cde
chnaged a mesage code
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8062 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-19 13:09:08 +00:00
Adi Oanca
5929c56ed0
::MoveBy() fixed.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8054 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-18 18:10:07 +00:00
Adi Oanca
1889be2a4d
hidden state was wrongly reported
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8040 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-18 11:53:44 +00:00
Stefano Ceccherini
895207da06
Implemented BTextView::SetText(BFile *.... etc.)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8038 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-18 09:51:10 +00:00
Stefano Ceccherini
e3a2e77198
Be nice and explain why we don't free fBasePtr. Implemented Area()
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8037 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-18 08:36:18 +00:00
Stefano Ceccherini
843f00a15e
Removes a crash in the BApplication tests. Some tests work now.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8036 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-18 06:34:30 +00:00
Adi Oanca
a3c6cfb7b7
Changed internal protocol. Ha ha. Just deleted a line. :-)))
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8034 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-17 14:41:15 +00:00
Adi Oanca
f23d8d6216
Major code cleanup
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8001 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-16 06:45:13 +00:00
haydentech
0ddc8de6c6
Wrong variable used during unarchive
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7658 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-26 16:43:58 +00:00
Adi Oanca
d7113e23eb
modified Resize methods
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7598 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-16 19:07:12 +00:00
DarkWyrm
b56e4e6565
Investigated and resolved a TODO item concerning bar color in Archive()
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7591 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-15 17:29:11 +00:00
DarkWyrm
8c15126aec
Replaced header with standard one
...
Investigated Axel's TODO concerning SetBorderHighlighted and converted the #if 0 to a regular C-style comment.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7590 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-15 17:19:30 +00:00
DarkWyrm
d89ead3dfb
Removed commented-out int8 hack
...
Tested undocumented functions and removed Erik's TODO items
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7589 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-15 17:08:38 +00:00
DarkWyrm
d017588386
Added sound
...
Crash to debugger if given an invalid screen in AlertPosition
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7588 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-15 16:46:31 +00:00
Stefano Ceccherini
55bd207b20
Added a test for the bug found by Pahtz, and fixed the bug. Simplified a bit the code in BRegion::Support::RSub()
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7533 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-12 06:37:18 +00:00
Stefano Ceccherini
df5ce07bff
Reverted last change since, as Axel pointed out, old version is "a bit" faster than the new one
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7219 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-16 06:21:42 +00:00
Stefano Ceccherini
6746ac963e
Some cleanups
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7189 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-09 11:12:13 +00:00
Adi Oanca
7a71a81c84
modified the way top_view sends its data to app_server. It now send _all_ is data
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7144 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-03 14:57:39 +00:00
Adi Oanca
2d4c02036e
little fixes/updates for the coordinate conversion system
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7143 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-03 14:56:40 +00:00
Stefano Ceccherini
015dd75715
Fixed warnings, some cleanups
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7129 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-31 06:56:34 +00:00
Adi Oanca
a7d9589ff2
* Modified a little the protocol for AS_LAYER_CREATE_ROOT message. Replaced PortLink with BSession. Was
...
necessary!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7078 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-28 14:49:12 +00:00
DarkWyrm
a1a4146fcc
Re-replaced stripped-out functions. Apparently, Caz was working from an old version. Oops. Going back to recovery mode. :P
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7064 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-24 23:06:50 +00:00
DarkWyrm
38592e0909
Checkin for Caz Jones which implements functions which contact the input server
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7056 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-22 23:14:22 +00:00
Stefano Ceccherini
3d6ebe9645
Added a missing include
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7018 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-18 07:41:04 +00:00
Stefano Ceccherini
7446a252ed
Fixed a crash when running beshare with our BTextView (thanks to Andrew Bachmann for reporting), though it's a bit hackish, added some printfs to TextView.cpp to help finding/fixing bugs, a small optimization to WidthBuffer. Should convert and commit WidthBuffer's tests to cppunit tests sooner or later.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6989 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-15 07:19:27 +00:00
Axel Dörfler
a7d7e9c80f
Added ToDo items to some code I looked at.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6786 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-27 22:48:32 +00:00
Axel Dörfler
75c3c8f50d
Fixed SetTarget() - BTW is even correctly implemented in R5.
...
Beautified SetBorderHighlighting().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6669 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-20 21:33:08 +00:00
Axel Dörfler
52bb9b2d33
Now takes B_DOCUMENT_WINDOW_LOOK properly into account.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6667 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-20 21:10:41 +00:00
Axel Dörfler
ecae314976
We are now updating our drawings properly on resize.
...
ModifyFlags() now sets B_FRAME_EVENTS if B_FULL_UPDATE_ON_RESIZE was not set.
Fixed a small bug in SetBorder().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6665 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-20 20:31:42 +00:00
Axel Dörfler
26a96b1674
New private static method BorderSize().
...
Correctly implemented SetBorderHighlighted(), but differently from BeBook
description (see comment).
Unlike the R5 version, correctly implemented SetBorder().
Draw() now takes SetBorderHighlighted() into account.
The BScrollView(BMessage *) constructor now searches its children for
the scroll bars, no matter in what order they are.
Corrected a drawing glitch that was also exposed in the R5 version (the
scroll bars are misplaced for anything else but B_NO_BORDER).
Renamed resizeMask to the more usual resizingMode.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6664 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-20 19:04:00 +00:00
Axel Dörfler
122e979e2d
Renamed ModFlags() to ModifyFlags() and made it static.
...
Implemented SetTarget().
Implemented BArchivable methods, R5 compatible.
The constructor still crashes when the provided target is NULL (as R5),
but the rest now accepts it (to make it reliable against SetTarget() and
shallow archiving).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6660 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-20 15:04:09 +00:00
haydentech
72d9a71283
Remove one line of dead code
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6654 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-19 19:15:15 +00:00
Axel Dörfler
5078b0fccc
Removed BScrollView::InitObject(); it's not exported by libbe.so.
...
Now uses ModFlags() instead of direct code in the constructor.
Moved CalcFrame() and ModFlags() a bit more to the top.
Fixed initial scroll bar values (name and maximum value now match
the R5 implementation).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6652 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-19 17:44:45 +00:00
Axel Dörfler
8b35053e1a
The scroll bars are now actually placed at the correct location.
...
The Draw() method now draws all supported borders, but no highlighting yet.
CalcFrame() now seems to work correctly.
Fixed warnings due to missing return codes from non-implemented methods.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6646 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-19 06:30:53 +00:00
Axel Dörfler
16fe6dd90f
Added almost empty BScrollView implementation. It will actually create
...
the scroll bars, but it won't do much more yet; no border, no highlighting,
no ...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6644 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-19 03:31:13 +00:00
haydentech
2f4343ad60
implement tint_color()
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6251 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-23 16:17:40 +00:00