Stefano Ceccherini
a5f7275d76
Adding some more or less complete classes from Marc Flerackers
...
(BDragger, BShelf and ZombieReplicantView). Not yet added to the build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8231 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-29 12:20:32 +00:00
Stefano Ceccherini
39ffb98012
Added some comments and some (commented, for now) code as an example for the app_server communication.
...
DarkWyrm (or Adi, or whoever else), please feel free to implement the needed code on the app_server side when you want ^_^ (or when it's possible, not so important right now)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8229 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-29 08:24:33 +00:00
Axel Dörfler
8a2005e28a
Added all missing classes to the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8221 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-28 13:15:08 +00:00
Axel Dörfler
2847a12df4
Fixed compilation and applied our style guide.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8220 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-28 13:12:06 +00:00
Axel Dörfler
af53a136d1
Added Marc Fleracker's BPopUpMenu implementation - it does not yet compile, though.
...
Thanks to Jack Burton for making this available.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8219 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-28 12:57:32 +00:00
DarkWyrm
d302fd5997
Implemented get_scroll_bar_info properly
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8218 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-28 12:41:42 +00:00
Stefano Ceccherini
f3e0a5e9a5
Just a quick fix for some obviously wrong code. Added SetDrawingMode(B_OP_COPY) in AttachedToWindow, before starting work on asynchronous mouse tracking.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8215 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-28 09:50:51 +00:00
Axel Dörfler
ca18770764
Forgot to turn off mangling, thanks to Marcus for pointing this out.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8214 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-28 09:47:22 +00:00
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
359aeca0f5
Should use private interface headers
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8211 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-28 08:19:30 +00:00
Stefano Ceccherini
6542ca9b70
Added gPrivateScreen declaration
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8210 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-28 08:14:57 +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
Jérôme Duval
715f500dea
added a link in develop/lib, lower warning level on libiconv
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8203 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-27 22:48:24 +00:00
Jérôme Duval
e5602d65fe
added a link in develop/lib
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8202 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-27 22:40:01 +00:00
Axel Dörfler
1787eef9f9
Added B_I_BEAM_CURSOR and B_HAND_CURSOR in new file AppDefs.cpp.
...
B_CURSOR_SYSTEM_DEFAULT and B_CURSOR_I_BEAM are now initialized in BApplication::InitData().
Added a todo note about how to save the app server communication to get those initialized.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8201 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-27 22:26:11 +00:00
Axel Dörfler
917cf3f748
Constructor no longer crashes when data == NULL.
...
Now exports B_CURSOR_SYSTEM_DEFAULT and B_CURSOR_I_BEAM - maybe they should
be part of AppDefs.cpp, though.
Style update.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8200 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-27 22:23:29 +00:00
Jérôme Duval
32081c1ebb
added a link in develop/lib
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8199 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-27 22:20:06 +00:00
Jérôme Duval
65de8098bc
added a link in develop/lib
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8198 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-27 22:03:43 +00:00
Jérôme Duval
bc30a8cdb5
added a link in develop/lib
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8197 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-27 21:53:26 +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
63b2f72c39
Added missing beep functions - they are not yet implemented, though.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8192 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-27 20:33:29 +00:00
Axel Dörfler
14c2eb06d3
Applied our coding style. Theoretically improved return values.
...
Data() now enters the debugger as well if called in unlocked state.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8191 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-27 19:49:16 +00:00
Axel Dörfler
ef42360872
Added be_clipboard global variable (not initialized yet anywhere, though).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8190 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-27 19:28:33 +00:00
Axel Dörfler
40467b5bd1
BPath does have a (BEntry *) constructor; there is no need for code duplication here.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8189 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-27 19:27:20 +00:00
Axel Dörfler
47550b1e72
swap_data() now checks its argument before it decides if there is anything to
...
do at all; it will now also return B_BAD_VALUE for types where it doesn't need
to do anything (i.e. 8 bit types).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8188 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-27 18:23:00 +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
Axel Dörfler
cd437e5e2f
Removed unneeded functions - we have those natively now.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8178 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-26 14:42:40 +00:00
Axel Dörfler
2397827a6f
Implemented swap_data() and is_type_swapped() - tests follow soon.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8177 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-26 14:40:07 +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
mahlzeit
8003750190
Changed my mind.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8153 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-25 08:38:26 +00:00
mahlzeit
e4aca0a646
Actually, I changed my mind. gcc warns that these variables may be
...
used uninitialized, but by not initializing them I assert that they
won't. Ha, so there!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8152 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-25 08:36:07 +00:00
mahlzeit
a3f1540388
Fixed compiler warnings.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8151 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-25 08:30:38 +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
Stefano Ceccherini
20b628d310
Some cleanups for BStopWatch. Added the check for B_INTERRUPTED to the semaphore acquisition in BLocker
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8019 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-17 08:10:36 +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