diff --git a/docs/develop/ikteam/BinCompat.html b/docs/develop/ikteam/BinCompat.html
deleted file mode 100644
index 5464bf9eac..0000000000
--- a/docs/develop/ikteam/BinCompat.html
+++ /dev/null
@@ -1,187 +0,0 @@
-
-
- Maintaining Binary Compatibility
-
-
-
-Some said that we were crazy; that it couldn't be done. Thankfully, cooler heads
-prevailed and we're well on our way to a binary compatible clone of R5.
-
-"But wait!" you cry. "How did the cooler heads which prevailed know that the holy grail
-of binary compatibility was achievable?" I'm so glad you asked! Keeping reading and be
-enlightened, Grasshopper.
-This paper deals with the set of requirements for reimplementing any portion of the BeOS
-covered by the Interface Kit team's charter; namely, the Interface Kit, the Application
-Kit, the app_server, and related preferences applets. This team's resposibilities
-may broaden later to include more areas of the OS which are related (the input_server
-comes to mind as a possibility). Since the mandate of the group covers such a
-large and public (from a 3rd party developer's perspective) portion of BeOS -- a portion
-that is central to the user and developer experience of BeOS -- it is vital that our work
-be done in a scrupulously documented and tested fashion. This paper lays out the
-process which, when adhered to, aims to ensure this high standard of documentation and
-testability.
-
-This approach is also not the most "fun": sitting down and hacking out code has the
-attraction of instant gratification that design work does not. It is important to
-understand, however, that proper design work done up front makes the task of
-implementation easier, the chore of integration much less onerous and testing and
-code verification a snap. Provided we do not get locked in "analysis paralysis"
-and attack the design work as vigorously as the coding work, the entire project will
-actually move more quickly -- usually quite a bit more quickly -- than if we had simply
-started coding. Thrown away versions of the codebase should be just that:
- quick prototypes intended to be disposable, rather than full-blown implementation
-attempts which fail or are mysterious blackboxes because we don't really understand the
-module. Following this process makes it far more likely that when we sit down to
-do a module implementation, the first try will be the last (bug fixes not withstanding,
-of course ;).
-
-To ensure the process is followed and we produce the highest quality code we can, code
-will not be accepted for release until all of the process items are covered. If
-this seems like a hardline stance to take, remember: every single app which
-utilizes the Application and Interface Kits relies on our code to be rock solid --
-totally predictable and completely reliable. Let's strive to be engineers, not
-h4X0rz.
-
-
-This is the IK Team's public face, where OpenBeOS folk and intrepid members of the
-BeOS community can find such goodies as:
-
-
-First, let me head off the suggestion that we formally split into 3 or 4 stand-alone
-projects: the Interface Kit, Application Kit and app_server are completely
-dependent on one another in a way that no other set of system components is. Each
-without the others can accomplish almost *nothing*; I think the existence of Integration
-highlights this fact.
-
-Each milestone listed has a number of tasks associated with it; these need to be listed
-and the time for each estimated. These tasks should be as fine grained as possible.
-Taking BView as an example, I would expect each method on BView to have its own entry
-under milestones 1, 2, 3, 4 and 8 with entries added as necessary to milestones 18 to
-22. "Why so detailed?" you say. I'm glad you asked. ;)
-
-First off, the finer the schedule's granularity, the more realistic estimate you have for
-the project as a whole. Asked to implement BView, one might be tempted to say "Oh, about
-3 weeks," whereas an estimate of the time needed for each method might yield a total of
-two to three times that. While the more realistic overall estimate may be more depressing
-initially, being able to hit goals on or near the estimated date is much better for
-morale in the long run than constantly being behind because all the estimates were too
-low. Trust me on this, I've worked on *way* too many projects that went south because of
-scheduling that was too broad -- usually because the project manager doesn't want to
-"distress" the client by making them pay for the time to schedule correctly. Or design
-correctly, but that's a different rant. =)
-
-Second, a fine-grained schedule helps to ensure that nothing gets missed. You might
-think it would be hard to forget to implement a BView method, but if you don't expressly
-schedule for that method, there will be no interface, use case or technical specifications
-or unit tests to fail because the method isn't doing anything. In fact, we might not
-notice the missing functionality until some app that uses it dies a horrible death and
-we have to figure out why.
-
-Third, it helps us figure out what functionality is dependent on what -- which helps us
-schedule our tasks in a logical sequence.
-
-Fourth, it makes it much easier for someone that doesn't have a lot of time available or
-much experience to pick something that they can tackle and know that they will be making
-a meaningful contribution. It also makes it easier for us to keep track of who is doing
-what on large items like BView: instead of saying "there's a bunch of stuff on BView
-that needs doing," we can say "BView::StrokeEllipse() needs to be implemented" and know
-that a specific person is responsible for that deliverable.
-
-Fifth, as daunting as a detailed schedule looks like out of the gate, tasks are getting
-completed *constantly* and it's very satisfying to see progress get made on a regular
-basis. Ideally, one would like to be able to check on the progress each week and find
-several items completed since the last time it was checked.
-
-
-
- |
-
- |
- Task Details |
-
-
-
-
- | BInvoker Class |
-
-
- |
-
- |
-
-
- BInvoker();
- |
-
-
- |
-
- |
-
-
- BInvoker(BMessage* message, const BHandler* handler, const BLooper* looper = NULL);
- |
-
-
- |
-
- |
-
-
- BInvoker(BMessage* message, BMessenger target);
- |
-
-
- |
-
- |
-
-
- virtual ~BInvoker();
- |
-
-
- |
-
- |
-
-
- virtual status_t SetMessage(BMessage* message);
- |
-
-
- |
-
- |
-
-
- BMessage* Message() const;
- |
-
-
- |
-
- |
-
-
- uint32 Command() const;
- |
-
-
- |
-
- |
-
-
- virtual status_t SetTarget(const BHandler* h, const BLooper* loop = NULL);
- |
-
-
- |
-
- |
-
-
- virtual status_t SetTarget(BMessenger messenger);
- |
-
-
- |
-
- |
-
-
- bool IsTargetLocal() const;
- |
-
-
- |
-
- |
-
-
- BHandler* Target(BLooper** looper = NULL) const;
- |
-
-
- |
-
- |
-
-
- BMessenger Messenger() const;
- |
-
-
- |
-
- |
-
-
- virtual status_t SetHandlerForReply(BHandler* handler);
- |
-
-
- |
-
- |
-
-
- BHandler* HandlerForReply() const;
- |
-
-
- |
-
- |
-
-
- virtual status_t Invoke(BMessage* msg = NULL);
- |
-
-
- |
-
- |
-
-
- status_t InvokeNotify(BMessage* msg, uint32 kind = B_CONTROL_INVOKED);
- |
-
-
- |
-
- |
-
-
- status_t SetTimeout(bigtime_t timeout);
- |
-
-
- |
-
- |
-
-
- bigtime_t Timeout() const;
- |
-
-
- |
-
- |
-
-
- uint32 InvokeKind(bool* notify = NULL);
- |
-
-
- |
-
- |
-
-
- void BeginInvokeNotify(uint32 kind = B_CONTROL_INVOKED);
- |
-
-
- |
-
- |
-
-
- void EndInvokeNotify();
- |
-
-
-
- | BMessage Class |
-
-
- |
-
- |
-
-
- BMessage();
- |
-
-
- |
-
- |
-
-
- BMessage(uint32 what);
- |
-
-
- |
-
- |
-
-
- BMessage(const BMessage& a_message);
- |
-
-
- |
-
- |
-
-
- virtual ~BMessage();
- |
-
-
- |
-
- |
-
-
- BMessage& operator=(const BMessage& msg);
- |
-
-
- |
-
- |
-
-
- status_t GetInfo(type_code typeRequested, int32 which, char** name, type_code* typeReturned, int32* count = NULL) const;
- |
-
-
- |
-
- |
-
-
- status_t GetInfo(const char* name, type_code* type, int32* c = 0) const;
- |
-
-
- |
-
- |
-
-
- status_t GetInfo(const char* name, type_code* type, bool* fixed_size) const;
- |
-
-
- |
-
- |
-
-
- int32 CountNames(type_code type) const;
- |
-
-
- |
-
- |
-
-
- bool IsEmpty() const;
- |
-
-
- |
-
- |
-
-
- bool IsSystem() const;
- |
-
-
- |
-
- |
-
-
- bool IsReply() const;
- |
-
-
- |
-
- |
-
-
- void PrintToStream() const;
- |
-
-
- |
-
- |
-
-
- status_t Rename(const char* old_entry, const char* new_entry);
- |
-
-
- |
-
- |
-
-
- bool WasDelivered() const;
- |
-
-
- |
-
- |
-
-
- bool IsSourceWaiting() const;
- |
-
-
- |
-
- |
-
-
- bool IsSourceRemote() const;
- |
-
-
- |
-
- |
-
-
- BMessenger ReturnAddress() const;
- |
-
-
- |
-
- |
-
-
- const BMessage* Previous() const;
- |
-
-
- |
-
- |
-
-
- bool WasDropped() const;
- |
-
-
- |
-
- |
-
-
- BPoint DropPoint(BPoint* offset = NULL) const;
- |
-
-
- |
-
- |
-
-
- status_t SendReply(uint32 command, BHandler* reply_to = NULL);
- |
-
-
- |
-
- |
-
-
- status_t SendReply(BMessage* the_reply, BHandler* reply_to = NULL, bigtime_t timeout = B_INFINITE_TIMEOUT);
- |
-
-
- |
-
- |
-
-
- status_t SendReply(BMessage* the_reply, BMessenger reply_to, bigtime_t timeout = B_INFINITE_TIMEOUT);
- |
-
-
- |
-
- |
-
-
- status_t SendReply(uint32 command, BMessage* reply_to_reply);
- |
-
-
- |
-
- |
-
-
- status_t SendReply(BMessage* the_reply, BMessage* reply_to_reply, bigtime_t send_timeout = B_INFINITE_TIMEOUT, bigtime_t reply_timeout = B_INFINITE_TIMEOUT);
- |
-
-
- |
-
- |
-
-
- ssize_t FlattenedSize() const;
- |
-
-
- |
-
- |
-
-
- status_t Flatten(char* buffer, ssize_t size) const;
- |
-
-
- |
-
- |
-
-
- status_t Flatten(BDataIO* stream, ssize_t* size = NULL) const;
- |
-
-
- |
-
- |
-
-
- status_t Unflatten(const char* flat_buffer);
- |
-
-
- |
-
- |
-
-
- status_t Unflatten(BDataIO* stream);
- |
-
-
- |
-
- |
-
-
- status_t AddSpecifier(const char* property);
- |
-
-
- |
-
- |
-
-
- status_t AddSpecifier(const char* property, int32 index);
- |
-
-
- |
-
- |
-
-
- status_t AddSpecifier(const char* property, int32 index, int32 range);
- |
-
-
- |
-
- |
-
-
- status_t AddSpecifier(const char* property, const char* name);
- |
-
-
- |
-
- |
-
-
- status_t AddSpecifier(const BMessage* specifier);
- |
-
-
- |
-
- |
-
-
- status_t SetCurrentSpecifier(int32 index);
- |
-
-
- |
-
- |
-
-
- status_t GetCurrentSpecifier(int32* index, BMessage* specifier = NULL, int32* form = NULL, const char** property = NULL) const;
- |
-
-
- |
-
- |
-
-
- bool HasSpecifiers() const;
- |
-
-
- |
-
- |
-
-
- status_t PopSpecifier();
- |
-
-
- |
-
- |
-
-
- status_t AddRect(const char* name, BRect a_rect);
- |
-
-
- |
-
- |
-
-
- status_t AddPoint(const char* name, BPoint a_point);
- |
-
-
- |
-
- |
-
-
- status_t AddString(const char* name, const char* a_string);
- |
-
-
- |
-
- |
-
-
- status_t AddString(const char* name, const BString& a_string);
- |
-
-
- |
-
- |
-
-
- status_t AddInt8(const char* name, int8 val);
- |
-
-
- |
-
- |
-
-
- status_t AddInt16(const char* name, int16 val);
- |
-
-
- |
-
- |
-
-
- status_t AddInt32(const char* name, int32 val);
- |
-
-
- |
-
- |
-
-
- status_t AddInt64(const char* name, int64 val);
- |
-
-
- |
-
- |
-
-
- status_t AddBool(const char* name, bool a_boolean);
- |
-
-
- |
-
- |
-
-
- status_t AddFloat(const char* name, float a_float);
- |
-
-
- |
-
- |
-
-
- status_t AddDouble(const char* name, double a_double);
- |
-
-
- |
-
- |
-
-
- status_t AddPointer(const char* name, const void* ptr);
- |
-
-
- |
-
- |
-
-
- status_t AddMessenger(const char* name, BMessenger messenger);
- |
-
-
- |
-
- |
-
-
- status_t AddRef(const char* name, const entry_ref* ref);
- |
-
-
- |
-
- |
-
-
- status_t AddMessage(const char* name, const BMessage* msg);
- |
-
-
- |
-
- |
-
-
- status_t AddFlat(const char* name, BFlattenable* obj, int32 count = 1);
- |
-
-
- |
-
- |
-
-
- status_t AddData(const char* name, type_code type, const void* data, ssize_t numBytes, bool is_fixed_size = true, int32 count = 1);
- |
-
-
- |
-
- |
-
-
- status_t RemoveData(const char* name, int32 index = 0);
- |
-
-
- |
-
- |
-
-
- status_t RemoveName(const char* name);
- |
-
-
- |
-
- |
-
-
- status_t MakeEmpty();
- |
-
-
- |
-
- |
-
-
- status_t FindRect(const char* name, BRect* rect) const;
- |
-
-
- |
-
- |
-
-
- status_t FindRect(const char* name, int32 index, BRect* rect) const;
- |
-
-
- |
-
- |
-
-
- status_t FindPoint(const char* name, BPoint* pt) const;
- |
-
-
- |
-
- |
-
-
- status_t FindPoint(const char* name, int32 index, BPoint* pt) const;
- |
-
-
- |
-
- |
-
-
- status_t FindString(const char* name, const char** str) const;
- |
-
-
- |
-
- |
-
-
- status_t FindString(const char* name, int32 index, const char** str) const;
- |
-
-
- |
-
- |
-
-
- status_t FindString(const char* name, BString* str) const;
- |
-
-
- |
-
- |
-
-
- status_t FindString(const char* name, int32 index, BString* str) const;
- |
-
-
- |
-
- |
-
-
- status_t FindInt8(const char* name, int8* value) const;
- |
-
-
- |
-
- |
-
-
- status_t FindInt8(const char* name, int32 index, int8* val) const;
- |
-
-
- |
-
- |
-
-
- status_t FindInt16(const char* name, int16* value) const;
- |
-
-
- |
-
- |
-
-
- status_t FindInt16(const char* name, int32 index, int16* val) const;
- |
-
-
- |
-
- |
-
-
- status_t FindInt32(const char* name, int32* value) const;
- |
-
-
- |
-
- |
-
-
- status_t FindInt32(const char* name, int32 index, int32* val) const;
- |
-
-
- |
-
- |
-
-
- status_t FindInt64(const char* name, int64* value) const;
- |
-
-
- |
-
- |
-
-
- status_t FindInt64(const char* name, int32 index, int64* val) const;
- |
-
-
- |
-
- |
-
-
- status_t FindBool(const char* name, bool* value) const;
- |
-
-
- |
-
- |
-
-
- status_t FindBool(const char* name, int32 index, bool* value) const;
- |
-
-
- |
-
- |
-
-
- status_t FindFloat(const char* name, float* f) const;
- |
-
-
- |
-
- |
-
-
- status_t FindFloat(const char* name, int32 index, float* f) const;
- |
-
-
- |
-
- |
-
-
- status_t FindDouble(const char* name, double* d) const;
- |
-
-
- |
-
- |
-
-
- status_t FindDouble(const char* name, int32 index, double* d) const;
- |
-
-
- |
-
- |
-
-
- status_t FindPointer(const char* name, void** ptr) const;
- |
-
-
- |
-
- |
-
-
- status_t FindPointer(const char* name, int32 index, void** ptr) const;
- |
-
-
- |
-
- |
-
-
- status_t FindMessenger(const char* name, BMessenger* m) const;
- |
-
-
- |
-
- |
-
-
- status_t FindMessenger(const char* name, int32 index, BMessenger* m) const;
- |
-
-
- |
-
- |
-
-
- status_t FindRef(const char* name, entry_ref* ref) const;
- |
-
-
- |
-
- |
-
-
- status_t FindRef(const char* name, int32 index, entry_ref* ref) const;
- |
-
-
- |
-
- |
-
-
- status_t FindMessage(const char* name, BMessage* msg) const;
- |
-
-
- |
-
- |
-
-
- status_t FindMessage(const char* name, int32 index, BMessage* msg) const;
- |
-
-
- |
-
- |
-
-
- status_t FindFlat(const char* name, BFlattenable* obj) const;
- |
-
-
- |
-
- |
-
-
- status_t FindFlat(const char* name, int32 index, BFlattenable* obj) const;
- |
-
-
- |
-
- |
-
-
- status_t FindData(const char* name, type_code type, const void** data, ssize_t* numBytes) const;
- |
-
-
- |
-
- |
-
-
- status_t FindData(const char* name, type_code type, int32 index, const void** data, ssize_t* numBytes) const;
- |
-
-
- |
-
- |
-
-
- status_t ReplaceRect(const char* name, BRect a_rect);
- |
-
-
- |
-
- |
-
-
- status_t ReplaceRect(const char* name, int32 index, BRect a_rect);
- |
-
-
- |
-
- |
-
-
- status_t ReplacePoint(const char* name, BPoint a_point);
- |
-
-
- |
-
- |
-
-
- status_t ReplacePoint(const char* name, int32 index, BPoint a_point);
- |
-
-
- |
-
- |
-
-
- status_t ReplaceString(const char* name, const char* string);
- |
-
-
- |
-
- |
-
-
- status_t ReplaceString(const char* name, int32 index, const char* string);
- |
-
-
- |
-
- |
-
-
- status_t ReplaceString(const char* name, const BString& string);
- |
-
-
- |
-
- |
-
-
- status_t ReplaceString(const char* name, int32 index, const BString& string);
- |
-
-
- |
-
- |
-
-
- status_t ReplaceInt8(const char* name, int8 val);
- |
-
-
- |
-
- |
-
-
- status_t ReplaceInt8(const char* name, int32 index, int8 val);
- |
-
-
- |
-
- |
-
-
- status_t ReplaceInt16(const char* name, int16 val);
- |
-
-
- |
-
- |
-
-
- status_t ReplaceInt16(const char* name, int32 index, int16 val);
- |
-
-
- |
-
- |
-
-
- status_t ReplaceInt32(const char* name, int32 val);
- |
-
-
- |
-
- |
-
-
- status_t ReplaceInt32(const char* name, int32 index, int32 val);
- |
-
-
- |
-
- |
-
-
- status_t ReplaceInt64(const char* name, int64 val);
- |
-
-
- |
-
- |
-
-
- status_t ReplaceInt64(const char* name, int32 index, int64 val);
- |
-
-
- |
-
- |
-
-
- status_t ReplaceBool(const char* name, bool a_bool);
- |
-
-
- |
-
- |
-
-
- status_t ReplaceBool(const char* name, int32 index, bool a_bool);
- |
-
-
- |
-
- |
-
-
- status_t ReplaceFloat(const char* name, float a_float);
- |
-
-
- |
-
- |
-
-
- status_t ReplaceFloat(const char* name, int32 index, float a_float);
- |
-
-
- |
-
- |
-
-
- status_t ReplaceDouble(const char* name, double a_double);
- |
-
-
- |
-
- |
-
-
- status_t ReplaceDouble(const char* name, int32 index, double a_double);
- |
-
-
- |
-
- |
-
-
- status_t ReplacePointer(const char* name, const void* ptr);
- |
-
-
- |
-
- |
-
-
- status_t ReplacePointer(const char* name,int32 index,const void* ptr);
- |
-
-
- |
-
- |
-
-
- status_t ReplaceMessenger(const char* name, BMessenger messenger);
- |
-
-
- |
-
- |
-
-
- status_t ReplaceMessenger(const char* name, int32 index, BMessenger msngr);
- |
-
-
- |
-
- |
-
-
- status_t ReplaceRef( const char* name,const entry_ref* ref);
- |
-
-
- |
-
- |
-
-
- status_t ReplaceRef( const char* name, int32 index, const entry_ref* ref);
- |
-
-
- |
-
- |
-
-
- status_t ReplaceMessage(const char* name, const BMessage* msg);
- |
-
-
- |
-
- |
-
-
- status_t ReplaceMessage(const char* name, int32 index, const BMessage* msg);
- |
-
-
- |
-
- |
-
-
- status_t ReplaceFlat(const char* name, BFlattenable* obj);
- |
-
-
- |
-
- |
-
-
- status_t ReplaceFlat(const char* name, int32 index, BFlattenable* obj);
- |
-
-
- |
-
- |
-
-
- status_t ReplaceData(const char* name, type_code type, const void* data, ssize_t data_size);
- |
-
-
- |
-
- |
-
-
- status_t ReplaceData(const char* name, type_code type, int32 index, const void* data, ssize_t data_size);
- |
-
-
- |
-
- |
-
-
- void* operator new(size_t size);
- |
-
-
- |
-
- |
-
-
- void operator delete(void* ptr, size_t size);
- |
-
-
- |
-
- |
-
-
- bool HasRect(const char* , int32 n = 0) const;
- |
-
-
- |
-
- |
-
-
- bool HasPoint(const char* , int32 n = 0) const;
- |
-
-
- |
-
- |
-
-
- bool HasString(const char* , int32 n = 0) const;
- |
-
-
- |
-
- |
-
-
- bool HasInt8(const char* , int32 n = 0) const;
- |
-
-
- |
-
- |
-
-
- bool HasInt16(const char* , int32 n = 0) const;
- |
-
-
- |
-
- |
-
-
- bool HasInt32(const char* , int32 n = 0) const;
- |
-
-
- |
-
- |
-
-
- bool HasInt64(const char* , int32 n = 0) const;
- |
-
-
- |
-
- |
-
-
- bool HasBool(const char* , int32 n = 0) const;
- |
-
-
- |
-
- |
-
-
- bool HasFloat(const char* , int32 n = 0) const;
- |
-
-
- |
-
- |
-
-
- bool HasDouble(const char* , int32 n = 0) const;
- |
-
-
- |
-
- |
-
-
- bool HasPointer(const char* , int32 n = 0) const;
- |
-
-
- |
-
- |
-
-
- bool HasMessenger(const char* , int32 n = 0) const;
- |
-
-
- |
-
- |
-
-
- bool HasRef(const char* , int32 n = 0) const;
- |
-
-
- |
-
- |
-
-
- bool HasMessage(const char* , int32 n = 0) const;
- |
-
-
- |
-
- |
-
-
- bool HasFlat(const char* , const BFlattenable* ) const;
- |
-
-
- |
-
- |
-
-
- bool HasFlat(const char* ,int32 ,const BFlattenable* ) const;
- |
-
-
- |
-
- |
-
-
- bool HasData(const char* , type_code , int32 n = 0) const;
- |
-
-
- |
-
- |
-
-
- BRect FindRect(const char* , int32 n = 0) const;
- |
-
-
- |
-
- |
-
-
- BPoint FindPoint(const char* , int32 n = 0) const;
- |
-
-
- |
-
- |
-
-
- const char* FindString(const char* , int32 n = 0) const;
- |
-
-
- |
-
- |
-
-
- int8 FindInt8(const char* , int32 n = 0) const;
- |
-
-
- |
-
- |
-
-
- int16 FindInt16(const char* , int32 n = 0) const;
- |
-
-
- |
-
- |
-
-
- int32 FindInt32(const char* , int32 n = 0) const;
- |
-
-
- |
-
- |
-
-
- int64 FindInt64(const char* , int32 n = 0) const;
- |
-
-
- |
-
- |
-
-
- bool FindBool(const char* , int32 n = 0) const;
- |
-
-
- |
-
- |
-
-
- float FindFloat(const char* , int32 n = 0) const;
- |
-
-
- |
-
- |
-
-
- double FindDouble(const char* , int32 n = 0) const;
- |
-
-
- |
-
- |
-
-
- BMessage(BMessage* a_message);
- |
-
-
- |
-
- |
-
-
- NOTE: Add convenience functions for struct rgb_color
- |
-
-
-
- | BMessageFilter Class |
-
-
- |
-
- |
-
-
- BMessageFilter(uint32 what, filter_hook func = NULL);
- |
-
-
- |
-
- |
-
-
- BMessageFilter(message_delivery delivery, message_source source, filter_hook func = NULL);
- |
-
-
- |
-
- |
-
-
- BMessageFilter(message_delivery delivery, message_source source, uint32 what, filter_hook func = NULL);
- |
-
-
- |
-
- |
-
-
- BMessageFilter(const BMessageFilter& filter);
- |
-
-
- |
-
- |
-
-
- BMessageFilter(const BMessageFilter* filter);
- |
-
-
- |
-
- |
-
-
- virtual ~BMessageFilter();
- |
-
-
- |
-
- |
-
-
- BMessageFilter& operator=(const BMessageFilter &from);
- |
-
-
- |
-
- |
-
-
- virtual filter_result Filter(BMessage* message, BHandler** target);
- |
-
-
- |
-
- |
-
-
- message_delivery MessageDelivery() const;
- |
-
-
- |
-
- |
-
-
- message_source MessageSource() const;
- |
-
-
- |
-
- |
-
-
- uint32 Command() const;
- |
-
-
- |
-
- |
-
-
- bool FiltersAnyCommand() const;
- |
-
-
- |
-
- |
-
-
- BLooper* Looper() const;
- |
-
-
-
- | BMessageQueue Class |
-
-
- |
-
- |
-
-
- BMessageQueue();
- |
-
-
- |
-
- |
-
-
- virtual ~BMessageQueue();
- |
-
-
- |
-
- |
-
-
- void AddMessage(BMessage* an_event);
- |
-
-
- |
-
- |
-
-
- bool RemoveMessage(BMessage* an_event);
- |
-
-
- |
-
- |
-
-
- BMessage* NextMessage();
- |
-
-
- |
-
- |
-
-
- BMessage* FindMessage(int32 index) const;
- |
-
-
- |
-
- |
-
-
- BMessage* FindMessage(uint32 what, int32 index = 0) const;
- |
-
-
- |
-
- |
-
-
- int32 CountMessages() const;
- |
-
-
- |
-
- |
-
-
- bool IsEmpty() const;
- |
-
-
- |
-
- |
-
-
- bool Lock();
- |
-
-
- |
-
- |
-
-
- void Unlock();
- |
-
-
-
- | BMessageRunner Class |
-
-
- |
-
- |
-
-
- BMessageRunner(BMessenger target, const BMessage* msg, bigtime_t interval, int32 count = -1);
- |
-
-
- |
-
- |
-
-
- BMessageRunner(BMessenger target, const BMessage* msg, bigtime_t interval, int32 count, BMessenger reply_to);
- |
-
-
- |
-
- |
-
-
- virtual ~BMessageRunner();
- |
-
-
- |
-
- |
-
-
- status_t InitCheck() const;
- |
-
-
- |
-
- |
-
-
- status_t SetInterval(bigtime_t interval);
- |
-
-
- |
-
- |
-
-
- status_t SetCount(int32 count);
- |
-
-
- |
-
- |
-
-
- status_t GetInfo(bigtime_t* interval, int32* count) const;
- |
-
-
-
- | BMessenger Class |
-
-
- |
-
- |
-
-
- BMessenger();
- |
-
-
- |
-
- |
-
-
- BMessenger(const char* mime_sig, team_id team = -1, status_t* perr = NULL);
- |
-
-
- |
-
- |
-
-
- BMessenger(const BHandler* handler, const BLooper* looper = NULL, status_t* perr = NULL);
- |
-
-
- |
-
- |
-
-
- BMessenger(const BMessenger& from);
- |
-
-
- |
-
- |
-
-
- ~BMessenger();
- |
-
-
- |
-
- |
-
-
- bool IsTargetLocal() const;
- |
-
-
- |
-
- |
-
-
- BHandler* Target(BLooper** looper) const;
- |
-
-
- |
-
- |
-
-
- bool LockTarget() const;
- |
-
-
- |
-
- |
-
-
- status_t LockTargetWithTimeout(bigtime_t timeout) const;
- |
-
-
- |
-
- |
-
-
- status_t SendMessage(uint32 command, BHandler* reply_to = NULL) const;
- |
-
-
- |
-
- |
-
-
- status_t SendMessage(BMessage* a_message, BHandler* reply_to = NULL, bigtime_t timeout = B_INFINITE_TIMEOUT) const;
- |
-
-
- |
-
- |
-
-
- status_t SendMessage(BMessage* a_message, BMessenger reply_to, bigtime_t timeout = B_INFINITE_TIMEOUT) const;
- |
-
-
- |
-
- |
-
-
- status_t SendMessage(uint32 command, BMessage* reply) const;
- |
-
-
- |
-
- |
-
-
- status_t SendMessage(BMessage* a_message, BMessage* reply, bigtime_t send_timeout = B_INFINITE_TIMEOUT, bigtime_t reply_timeout = B_INFINITE_TIMEOUT) const;
- |
-
-
- |
-
- |
-
-
- BMessenger& operator=(const BMessenger &from);
- |
-
-
- |
-
- |
-
-
- bool operator==(const BMessenger &other) const;
- |
-
-
- |
-
- |
-
-
- bool IsValid() const;
- |
-
-
- |
-
- |
-
-
- team_id Team() const;
- |
-
-
-
- | BMessenger Support Functions |
-
-
- |
-
- |
-
-
- bool operator<(const BMessenger & a, const BMessenger & b);
- |
-
-
- |
-
- |
-
-
- bool operator!=(const BMessenger & a, const BMessenger & b);
- |
-
-
-
-
-
-Here is the schedule for the Interface Kit Team. To help organize our work,
-tasks have been broken into 4 general areas:
-
-Organizationally, it's best to consider these as separate projects within the
-scope of the IK Team's charter. As such, core contributors should pick a
-project and stick with it -- it will make things a lot easier to keep track of,
-and losing track of stuff would be a bad thing. =)
-
-DarkWyrm is the technical lead for the app_server; he has done an enormous amount
-of research and he is currently in the best position to lead the effort.
-
-Erik Jakowatz will continue in his capacity as overall project lead, as well as
-being directly involved in Integration as technical lead.
-
-A word of warning: this schedule is downright huge because of the sheer number of
-items to be completed. There is a paper available in which the rationale behind the
-schedule is discussed.
-
-
-
- |
-
- |
- Task Details |
-
-
-
-
- | BView Class |
-
-
- |
-
- |
-
-
- BView(BRect frame, const char* name, uint32 resizeMask, uint32 flags);
- |
-
-
- |
-
- |
-
-
- BView(BMessage* data);
- |
-
-
- |
-
- |
-
-
- virtual ~BView();
- |
-
-
- |
-
- |
-
-
- static BArchivable* Instantiate(BMessage* data);
- |
-
-
- |
-
- |
-
-
- virtual status_t Archive(BMessage* data, bool deep = true) const;
- |
-
-
- |
-
- |
-
-
- virtual void AttachedToWindow();
- |
-
-
- |
-
- |
-
-
- virtual void AllAttached();
- |
-
-
- |
-
- |
-
-
- virtual void DetachedFromWindow();
- |
-
-
- |
-
- |
-
-
- virtual void AllDetached();
- |
-
-
- |
-
- |
-
-
- virtual void MessageReceived(BMessage* msg);
- |
-
-
- |
-
- |
-
-
- void AddChild(BView* child, BView* before = NULL);
- |
-
-
- |
-
- |
-
-
- bool RemoveChild(BView* child);
- |
-
-
- |
-
- |
-
-
- int32 CountChildren() const;
- |
-
-
- |
-
- |
-
-
- BView* ChildAt(int32 index) const;
- |
-
-
- |
-
- |
-
-
- BView* NextSibling() const;
- |
-
-
- |
-
- |
-
-
- BView* PreviousSibling() const;
- |
-
-
- |
-
- |
-
-
- bool RemoveSelf();
- |
-
-
- |
-
- |
-
-
- BWindow* Window() const;
- |
-
-
- |
-
- |
-
-
- virtual void Draw(BRect updateRect);
- |
-
-
- |
-
- |
-
-
- virtual void MouseDown(BPoint where);
- |
-
-
- |
-
- |
-
-
- virtual void MouseUp(BPoint where);
- |
-
-
- |
-
- |
-
-
- virtual void MouseMoved(BPoint where, uint32 code, const BMessage* a_message);
- |
-
-
- |
-
- |
-
-
- virtual void WindowActivated(bool state);
- |
-
-
- |
-
- |
-
-
- virtual void KeyDown(const char* bytes, int32 numBytes);
- |
-
-
- |
-
- |
-
-
- virtual void KeyUp(const char* bytes, int32 numBytes);
- |
-
-
- |
-
- |
-
-
- virtual void Pulse();
- |
-
-
- |
-
- |
-
-
- virtual void FrameMoved(BPoint new_position);
- |
-
-
- |
-
- |
-
-
- virtual void FrameResized(float new_width, float new_height);
- |
-
-
- |
-
- |
-
-
- virtual void TargetedByScrollView(BScrollView* scroll_view);
- |
-
-
- |
-
- |
-
-
- void BeginRectTracking(BRect startRect, uint32 style = B_TRACK_WHOLE_RECT);
- |
-
-
- |
-
- |
-
-
- void EndRectTracking();
- |
-
-
- |
-
- |
-
-
- void GetMouse(BPoint* location, uint32* buttons, bool checkMessageQueue = true);
- |
-
-
- |
-
- |
-
-
- void DragMessage(BMessage* aMessage, BRect dragRect, BHandler* reply_to = NULL);
- |
-
-
- |
-
- |
-
-
- void DragMessage(BMessage* aMessage, BBitmap* anImage, BPoint offset, BHandler* reply_to = NULL);
- |
-
-
- |
-
- |
-
-
- void DragMessage(BMessage* aMessage, BBitmap* anImage, drawing_mode dragMode, BPoint offset, BHandler* reply_to = NULL);
- |
-
-
- |
-
- |
-
-
- BView* FindView(const char* name) const;
- |
-
-
- |
-
- |
-
-
- BView* Parent() const;
- |
-
-
- |
-
- |
-
-
- BRect Bounds() const;
- |
-
-
- |
-
- |
-
-
- BRect Frame() const;
- |
-
-
- |
-
- |
-
-
- void ConvertToScreen(BPoint* pt) const;
- |
-
-
- |
-
- |
-
-
- BPoint ConvertToScreen(BPoint pt) const;
- |
-
-
- |
-
- |
-
-
- void ConvertFromScreen(BPoint* pt) const;
- |
-
-
- |
-
- |
-
-
- BPoint ConvertFromScreen(BPoint pt) const;
- |
-
-
- |
-
- |
-
-
- void ConvertToScreen(BRect* r) const;
- |
-
-
- |
-
- |
-
-
- BRect ConvertToScreen(BRect r) const;
- |
-
-
- |
-
- |
-
-
- void ConvertFromScreen(BRect* r) const;
- |
-
-
- |
-
- |
-
-
- BRect ConvertFromScreen(BRect r) const;
- |
-
-
- |
-
- |
-
-
- void ConvertToParent(BPoint* pt) const;
- |
-
-
- |
-
- |
-
-
- BPoint ConvertToParent(BPoint pt) const;
- |
-
-
- |
-
- |
-
-
- void ConvertFromParent(BPoint* pt) const;
- |
-
-
- |
-
- |
-
-
- BPoint ConvertFromParent(BPoint pt) const;
- |
-
-
- |
-
- |
-
-
- void ConvertToParent(BRect* r) const;
- |
-
-
- |
-
- |
-
-
- BRect ConvertToParent(BRect r) const;
- |
-
-
- |
-
- |
-
-
- void ConvertFromParent(BRect* r) const;
- |
-
-
- |
-
- |
-
-
- BRect ConvertFromParent(BRect r) const;
- |
-
-
- |
-
- |
-
-
- BPoint LeftTop() const;
- |
-
-
- |
-
- |
-
-
- void GetClippingRegion(BRegion* region) const;
- |
-
-
- |
-
- |
-
-
- virtual void ConstrainClippingRegion(BRegion* region);
- |
-
-
- |
-
- |
-
-
- void ClipToPicture(BPicture* picture, BPoint where = B_ORIGIN, bool sync = true);
- |
-
-
- |
-
- |
-
-
- void ClipToInversePicture(BPicture* picture, BPoint where = B_ORIGIN, bool sync = true);
- |
-
-
- |
-
- |
-
-
- virtual void SetDrawingMode(drawing_mode mode);
- |
-
-
- |
-
- |
-
-
- drawing_mode DrawingMode() const;
- |
-
-
- |
-
- |
-
-
- void SetBlendingMode(source_alpha srcAlpha, alpha_function alphaFunc);
- |
-
-
- |
-
- |
-
-
- void GetBlendingMode(source_alpha* srcAlpha, alpha_function* alphaFunc) const;
- |
-
-
- |
-
- |
-
-
- virtual void SetPenSize(float size);
- |
-
-
- |
-
- |
-
-
- float PenSize() const;
- |
-
-
- |
-
- |
-
-
- void SetViewCursor(const BCursor* cursor, bool sync=true);
- |
-
-
- |
-
- |
-
-
- virtual void SetViewColor(rgb_color c);
- |
-
-
- |
-
- |
-
-
- void SetViewColor(uchar r, uchar g, uchar b, uchar a = 255);
- |
-
-
- |
-
- |
-
-
- rgb_color ViewColor() const;
- |
-
-
- |
-
- |
-
-
- void SetViewBitmap(const BBitmap* bitmap, BRect srcRect, BRect dstRect, uint32 followFlags=B_FOLLOW_TOP|B_FOLLOW_LEFT, uint32 options = B_TILE_BITMAP);
- |
-
-
- |
-
- |
-
-
- void SetViewBitmap(const BBitmap* bitmap, uint32 followFlags = B_FOLLOW_TOP|B_FOLLOW_LEFT, uint32 options = B_TILE_BITMAP);
- |
-
-
- |
-
- |
-
-
- void ClearViewBitmap();
- |
-
-
- |
-
- |
-
-
- status_t SetViewOverlay(const BBitmap* overlay, BRect srcRect, BRect dstRect, rgb_color* colorKey, uint32 followFlags = B_FOLLOW_TOP|B_FOLLOW_LEFT, uint32 options = 0);
- |
-
-
- |
-
- |
-
-
- status_t SetViewOverlay(const BBitmap* overlay, rgb_color* colorKey, uint32 followFlags = B_FOLLOW_TOP|B_FOLLOW_LEFT, uint32 options = 0);
- |
-
-
- |
-
- |
-
-
- void ClearViewOverlay();
- |
-
-
- |
-
- |
-
-
- virtual void SetHighColor(rgb_color a_color);
- |
-
-
- |
-
- |
-
-
- void SetHighColor(uchar r, uchar g, uchar b, uchar a = 255);
- |
-
-
- |
-
- |
-
-
- rgb_color HighColor() const;
- |
-
-
- |
-
- |
-
-
- virtual void SetLowColor(rgb_color a_color);
- |
-
-
- |
-
- |
-
-
- void SetLowColor(uchar r, uchar g, uchar b, uchar a = 255);
- |
-
-
- |
-
- |
-
-
- rgb_color LowColor() const;
- |
-
-
- |
-
- |
-
-
- void SetLineMode(cap_mode lineCap, join_mode lineJoin, float miterLimit = B_DEFAULT_MITER_LIMIT);
- |
-
-
- |
-
- |
-
-
- join_mode LineJoinMode() const;
- |
-
-
- |
-
- |
-
-
- cap_mode LineCapMode() const;
- |
-
-
- |
-
- |
-
-
- float LineMiterLimit() const;
- |
-
-
- |
-
- |
-
-
- void SetOrigin(BPoint pt);
- |
-
-
- |
-
- |
-
-
- void SetOrigin(float x, float y);
- |
-
-
- |
-
- |
-
-
- BPoint Origin() const;
- |
-
-
- |
-
- |
-
-
- void PushState();
- |
-
-
- |
-
- |
-
-
- void PopState();
- |
-
-
- |
-
- |
-
-
- void MovePenTo(BPoint pt);
- |
-
-
- |
-
- |
-
-
- void MovePenTo(float x, float y);
- |
-
-
- |
-
- |
-
-
- void MovePenBy(float x, float y);
- |
-
-
- |
-
- |
-
-
- BPoint PenLocation() const;
- |
-
-
- |
-
- |
-
-
- void StrokeLine(BPoint toPt, pattern p = B_SOLID_HIGH);
- |
-
-
- |
-
- |
-
-
- void StrokeLine(BPoint pt0, BPoint pt1, pattern p = B_SOLID_HIGH);
- |
-
-
- |
-
- |
-
-
- void BeginLineArray(int32 count);
- |
-
-
- |
-
- |
-
-
- void AddLine(BPoint pt0, BPoint pt1, rgb_color col);
- |
-
-
- |
-
- |
-
-
- void EndLineArray();
- |
-
-
- |
-
- |
-
-
- void StrokePolygon(const BPolygon* aPolygon, bool closed = true, pattern p = B_SOLID_HIGH);
- |
-
-
- |
-
- |
-
-
- void StrokePolygon(const BPoint* ptArray, int32 numPts, bool closed = true, pattern p = B_SOLID_HIGH);
- |
-
-
- |
-
- |
-
-
- void StrokePolygon(const BPoint* ptArray, int32 numPts, BRect bounds, bool closed = true, pattern p = B_SOLID_HIGH);
- |
-
-
- |
-
- |
-
-
- void FillPolygon(const BPolygon* aPolygon, pattern p = B_SOLID_HIGH);
- |
-
-
- |
-
- |
-
-
- void FillPolygon(const BPoint* ptArray, int32 numPts, pattern p = B_SOLID_HIGH);
- |
-
-
- |
-
- |
-
-
- void FillPolygon(const BPoint* ptArray, int32 numPts, BRect bounds, pattern p = B_SOLID_HIGH);
- |
-
-
- |
-
- |
-
-
- void StrokeTriangle(BPoint pt1, BPoint pt2, BPoint pt3, BRect bounds, pattern p = B_SOLID_HIGH);
- |
-
-
- |
-
- |
-
-
- void StrokeTriangle(BPoint pt1, BPoint pt2, BPoint pt3, pattern p = B_SOLID_HIGH);
- |
-
-
- |
-
- |
-
-
- void FillTriangle(BPoint pt1, BPoint pt2, BPoint pt3, pattern p = B_SOLID_HIGH);
- |
-
-
- |
-
- |
-
-
- void FillTriangle(BPoint pt1, BPoint pt2, BPoint pt3, BRect bounds,pattern p = B_SOLID_HIGH);
- |
-
-
- |
-
- |
-
-
- void StrokeRect(BRect r, pattern p = B_SOLID_HIGH);
- |
-
-
- |
-
- |
-
-
- void FillRect(BRect r, pattern p = B_SOLID_HIGH);
- |
-
-
- |
-
- |
-
-
- void FillRegion(BRegion* a_region, pattern p= B_SOLID_HIGH);
- |
-
-
- |
-
- |
-
-
- void InvertRect(BRect r);
- |
-
-
- |
-
- |
-
-
- void StrokeRoundRect(BRect r, float xRadius, float yRadius, pattern p = B_SOLID_HIGH);
- |
-
-
- |
-
- |
-
-
- void FillRoundRect(BRect r, float xRadius, float yRadius, pattern p = B_SOLID_HIGH);
- |
-
-
- |
-
- |
-
-
- void StrokeEllipse(BPoint center, float xRadius, float yRadius, pattern p = B_SOLID_HIGH);
- |
-
-
- |
-
- |
-
-
- void StrokeEllipse(BRect r, pattern p = B_SOLID_HIGH);
- |
-
-
- |
-
- |
-
-
- void FillEllipse(BPoint center, float xRadius, float yRadius, pattern p = B_SOLID_HIGH);
- |
-
-
- |
-
- |
-
-
- void FillEllipse(BRect r, pattern p = B_SOLID_HIGH);
- |
-
-
- |
-
- |
-
-
- void StrokeArc(BPoint center, float xRadius, float yRadius, float start_angle, float arc_angle, pattern p = B_SOLID_HIGH);
- |
-
-
- |
-
- |
-
-
- void StrokeArc(BRect r, float start_angle, float arc_angle, pattern p = B_SOLID_HIGH);
- |
-
-
- |
-
- |
-
-
- void FillArc(BPoint center, float xRadius, float yRadius, float start_angle, float arc_angle, pattern p = B_SOLID_HIGH);
- |
-
-
- |
-
- |
-
-
- void FillArc(BRect r, float start_angle, float arc_angle, pattern p = B_SOLID_HIGH);
- |
-
-
- |
-
- |
-
-
- void StrokeBezier(BPoint* controlPoints, pattern p = B_SOLID_HIGH);
- |
-
-
- |
-
- |
-
-
- void FillBezier( BPoint* controlPoints, pattern p = B_SOLID_HIGH);
- |
-
-
- |
-
- |
-
-
- void StrokeShape(BShape* shape, pattern p = B_SOLID_HIGH);
- |
-
-
- |
-
- |
-
-
- void FillShape(BShape* shape, pattern p = B_SOLID_HIGH);
- |
-
-
- |
-
- |
-
-
- void CopyBits(BRect src, BRect dst);
- |
-
-
- |
-
- |
-
-
- void DrawBitmapAsync(const BBitmap* aBitmap, BRect srcRect, BRect dstRect);
- |
-
-
- |
-
- |
-
-
- void DrawBitmapAsync(const BBitmap* aBitmap);
- |
-
-
- |
-
- |
-
-
- void DrawBitmapAsync(const BBitmap* aBitmap, BPoint where);
- |
-
-
- |
-
- |
-
-
- void DrawBitmapAsync(const BBitmap* aBitmap, BRect dstRect);
- |
-
-
- |
-
- |
-
-
- void DrawBitmap(const BBitmap* aBitmap, BRect srcRect, BRect dstRect);
- |
-
-
- |
-
- |
-
-
- void DrawBitmap(const BBitmap* aBitmap);
- |
-
-
- |
-
- |
-
-
- void DrawBitmap(const BBitmap* aBitmap, BPoint where);
- |
-
-
- |
-
- |
-
-
- void DrawBitmap(const BBitmap* aBitmap, BRect dstRect);
- |
-
-
- |
-
- |
-
-
- void DrawChar(char aChar);
- |
-
-
- |
-
- |
-
-
- void DrawChar(char aChar, BPoint location);
- |
-
-
- |
-
- |
-
-
- void DrawString(const char* aString, escapement_delta* delta = NULL);
- |
-
-
- |
-
- |
-
-
- void DrawString(const char* aString, BPoint location, escapement_delta* delta = NULL);
- |
-
-
- |
-
- |
-
-
- void DrawString(const char* aString, int32 length, escapement_delta* delta = NULL);
- |
-
-
- |
-
- |
-
-
- void DrawString(const char* aString, int32 length, BPoint location, escapement_delta* delta = 0L);
- |
-
-
- |
-
- |
-
-
- virtual void SetFont(const BFont* font, uint32 mask = B_FONT_ALL);
- |
-
-
- |
-
- |
-
-
- void GetFont(BFont* font) const;
- |
-
-
- |
-
- |
-
-
- void TruncateString(BString* in_out, uint32 mode, float width) const;
- |
-
-
- |
-
- |
-
-
- float StringWidth(const char* string) const;
- |
-
-
- |
-
- |
-
-
- float StringWidth(const char* string, int32 length) const;
- |
-
-
- |
-
- |
-
-
- void GetStringWidths(char* stringArray[], int32 lengthArray[], int32 numStrings, float widthArray[]) const;
- |
-
-
- |
-
- |
-
-
- void SetFontSize(float size);
- |
-
-
- |
-
- |
-
-
- void ForceFontAliasing(bool enable);
- |
-
-
- |
-
- |
-
-
- void GetFontHeight(font_height* height) const;
- |
-
-
- |
-
- |
-
-
- void Invalidate(BRect invalRect);
- |
-
-
- |
-
- |
-
-
- void Invalidate(const BRegion* invalRegion);
- |
-
-
- |
-
- |
-
-
- void Invalidate();
- |
-
-
- |
-
- |
-
-
- void SetDiskMode(char* filename, long offset);
- |
-
-
- |
-
- |
-
-
- void BeginPicture(BPicture* a_picture);
- |
-
-
- |
-
- |
-
-
- void AppendToPicture(BPicture* a_picture);
- |
-
-
- |
-
- |
-
-
- BPicture* EndPicture();
- |
-
-
- |
-
- |
-
-
- void DrawPicture(const BPicture* a_picture);
- |
-
-
- |
-
- |
-
-
- void DrawPicture(const BPicture* a_picture, BPoint where);
- |
-
-
- |
-
- |
-
-
- void DrawPicture(const char* filename, long offset, BPoint where);
- |
-
-
- |
-
- |
-
-
- void DrawPictureAsync(const BPicture* a_picture);
- |
-
-
- |
-
- |
-
-
- void DrawPictureAsync(const BPicture* a_picture, BPoint where);
- |
-
-
- |
-
- |
-
-
- void DrawPictureAsync(const char* filename, long offset, BPoint where);
- |
-
-
- |
-
- |
-
-
- status_t SetEventMask(uint32 mask, uint32 options=0);
- |
-
-
- |
-
- |
-
-
- uint32 EventMask();
- |
-
-
- |
-
- |
-
-
- status_t SetMouseEventMask(uint32 mask, uint32 options=0);
- |
-
-
- |
-
- |
-
-
- virtual void SetFlags(uint32 flags);
- |
-
-
- |
-
- |
-
-
- uint32 Flags() const;
- |
-
-
- |
-
- |
-
-
- virtual void SetResizingMode(uint32 mode);
- |
-
-
- |
-
- |
-
-
- uint32 ResizingMode() const;
- |
-
-
- |
-
- |
-
-
- void MoveBy(float dh, float dv);
- |
-
-
- |
-
- |
-
-
- void MoveTo(BPoint where);
- |
-
-
- |
-
- |
-
-
- void MoveTo(float x, float y);
- |
-
-
- |
-
- |
-
-
- void ResizeBy(float dh, float dv);
- |
-
-
- |
-
- |
-
-
- void ResizeTo(float width, float height);
- |
-
-
- |
-
- |
-
-
- void ScrollBy(float dh, float dv);
- |
-
-
- |
-
- |
-
-
- void ScrollTo(float x, float y);
- |
-
-
- |
-
- |
-
-
- virtual void ScrollTo(BPoint where);
- |
-
-
- |
-
- |
-
-
- virtual void MakeFocus(bool focusState = true);
- |
-
-
- |
-
- |
-
-
- bool IsFocus() const;
- |
-
-
- |
-
- |
-
-
- virtual void Show();
- |
-
-
- |
-
- |
-
-
- virtual void Hide();
- |
-
-
- |
-
- |
-
-
- bool IsHidden() const;
- |
-
-
- |
-
- |
-
-
- bool IsHidden(const BView* looking_from) const;
- |
-
-
- |
-
- |
-
-
- void Flush() const;
- |
-
-
- |
-
- |
-
-
- void Sync() const;
- |
-
-
- |
-
- |
-
-
- virtual void GetPreferredSize(float* width, float* height);
- |
-
-
- |
-
- |
-
-
- virtual void ResizeToPreferred();
- |
-
-
- |
-
- |
-
-
- BScrollBar* ScrollBar(orientation posture) const;
- |
-
-
- |
-
- |
-
-
- virtual BHandler* ResolveSpecifier(BMessage* msg, int32 index, BMessage* specifier, int32 form, const char* property);
- |
-
-
- |
-
- |
-
-
- virtual status_t GetSupportedSuites(BMessage* data);
- |
-
-
- |
-
- |
-
-
- bool IsPrinting() const;
- |
-
-
- |
-
- |
-
-
- void SetScale(float scale) const;
- |
-
-
- |
-
- |
-
-
- virtual status_t Perform(perform_code d, void* arg);
- |
-
-
- |
-
- |
-
-
- virtual void DrawAfterChildren(BRect r);
- |
-
-
-
-
-
-
- |
-
- |
- Task Details |
-
-
-
-
- | BWindow Class |
-
-
- |
-
- |
-
-
- BWindow(BRect frame, const char* title, window_type type, uint32 flags, uint32 workspace = B_CURRENT_WORKSPACE);
- |
-
-
- |
-
- |
-
-
- BWindow(BRect frame, const char* title, window_look look, window_feel feel, uint32 flags, uint32 workspace = B_CURRENT_WORKSPACE);
- |
-
-
- |
-
- |
-
-
- BWindow(BMessage* data);
- |
-
-
- |
-
- |
-
-
- virtual ~BWindow();
- |
-
-
- |
-
- |
-
-
- static BArchivable* Instantiate(BMessage* data);
- |
-
-
- |
-
- |
-
-
- virtual status_t Archive(BMessage* data, bool deep = true) const;
- |
-
-
- |
-
- |
-
-
- virtual void Quit();
- |
-
-
- |
-
- |
-
-
- void Close();
- |
-
-
- |
-
- |
-
-
- void AddChild(BView* child, BView* before = NULL);
- |
-
-
- |
-
- |
-
-
- bool RemoveChild(BView* child);
- |
-
-
- |
-
- |
-
-
- int32 CountChildren() const;
- |
-
-
- |
-
- |
-
-
- BView* ChildAt(int32 index) const;
- |
-
-
- |
-
- |
-
-
- virtual void DispatchMessage(BMessage* message, BHandler* handler);
- |
-
-
- |
-
- |
-
-
- virtual void MessageReceived(BMessage* message);
- |
-
-
- |
-
- |
-
-
- virtual void FrameMoved(BPoint new_position);
- |
-
-
- |
-
- |
-
-
- virtual void WorkspacesChanged(uint32 old_ws, uint32 new_ws);
- |
-
-
- |
-
- |
-
-
- virtual void WorkspaceActivated(int32 ws, bool state);
- |
-
-
- |
-
- |
-
-
- virtual void FrameResized(float new_width, float new_height);
- |
-
-
- |
-
- |
-
-
- virtual void Minimize(bool minimize);
- |
-
-
- |
-
- |
-
-
- virtual void Zoom(BPoint rec_position, float rec_width, float rec_height);
- |
-
-
- |
-
- |
-
-
- void Zoom();
- |
-
-
- |
-
- |
-
-
- void SetZoomLimits(float max_h, float max_v);
- |
-
-
- |
-
- |
-
-
- virtual void ScreenChanged(BRect screen_size, color_space depth);
- |
-
-
- |
-
- |
-
-
- void SetPulseRate(bigtime_t rate);
- |
-
-
- |
-
- |
-
-
- bigtime_t PulseRate() const;
- |
-
-
- |
-
- |
-
-
- void AddShortcut(uint32 key, uint32 modifiers, BMessage* msg);
- |
-
-
- |
-
- |
-
-
- void AddShortcut(uint32 key, uint32 modifiers, BMessage* msg, BHandler* target);
- |
-
-
- |
-
- |
-
-
- void RemoveShortcut(uint32 key, uint32 modifiers);
- |
-
-
- |
-
- |
-
-
- void SetDefaultButton(BButton* button);
- |
-
-
- |
-
- |
-
-
- BButton* DefaultButton() const;
- |
-
-
- |
-
- |
-
-
- virtual void MenusBeginning();
- |
-
-
- |
-
- |
-
-
- virtual void MenusEnded();
- |
-
-
- |
-
- |
-
-
- bool NeedsUpdate() const;
- |
-
-
- |
-
- |
-
-
- void UpdateIfNeeded();
- |
-
-
- |
-
- |
-
-
- BView* FindView(const char* view_name) const;
- |
-
-
- |
-
- |
-
-
- BView* FindView(BPoint) const;
- |
-
-
- |
-
- |
-
-
- BView* CurrentFocus() const;
- |
-
-
- |
-
- |
-
-
- void Activate(bool = true);
- |
-
-
- |
-
- |
-
-
- virtual void WindowActivated(bool state);
- |
-
-
- |
-
- |
-
-
- void ConvertToScreen(BPoint* pt) const;
- |
-
-
- |
-
- |
-
-
- BPoint ConvertToScreen(BPoint pt) const;
- |
-
-
- |
-
- |
-
-
- void ConvertFromScreen(BPoint* pt) const;
- |
-
-
- |
-
- |
-
-
- BPoint ConvertFromScreen(BPoint pt) const;
- |
-
-
- |
-
- |
-
-
- void ConvertToScreen(BRect* rect) const;
- |
-
-
- |
-
- |
-
-
- BRect ConvertToScreen(BRect rect) const;
- |
-
-
- |
-
- |
-
-
- void ConvertFromScreen(BRect* rect) const;
- |
-
-
- |
-
- |
-
-
- BRect ConvertFromScreen(BRect rect) const;
- |
-
-
- |
-
- |
-
-
- void MoveBy(float dx, float dy);
- |
-
-
- |
-
- |
-
-
- void MoveTo(BPoint);
- |
-
-
- |
-
- |
-
-
- void MoveTo(float x, float y);
- |
-
-
- |
-
- |
-
-
- void ResizeBy(float dx, float dy);
- |
-
-
- |
-
- |
-
-
- void ResizeTo(float width, float height);
- |
-
-
- |
-
- |
-
-
- virtual void Show();
- |
-
-
- |
-
- |
-
-
- virtual void Hide();
- |
-
-
- |
-
- |
-
-
- bool IsHidden() const;
- |
-
-
- |
-
- |
-
-
- bool IsMinimized() const;
- |
-
-
- |
-
- |
-
-
- void Flush() const;
- |
-
-
- |
-
- |
-
-
- void Sync() const;
- |
-
-
- |
-
- |
-
-
- status_t SendBehind(const BWindow* window);
- |
-
-
- |
-
- |
-
-
- void DisableUpdates();
- |
-
-
- |
-
- |
-
-
- void EnableUpdates();
- |
-
-
- |
-
- |
-
-
- void BeginViewTransaction();
- |
-
-
- |
-
- |
-
-
- void EndViewTransaction();
- |
-
-
- |
-
- |
-
-
- BRect Bounds() const;
- |
-
-
- |
-
- |
-
-
- BRect Frame() const;
- |
-
-
- |
-
- |
-
-
- const char* Title() const;
- |
-
-
- |
-
- |
-
-
- void SetTitle(const char* title);
- |
-
-
- |
-
- |
-
-
- bool IsFront() const;
- |
-
-
- |
-
- |
-
-
- bool IsActive() const;
- |
-
-
- |
-
- |
-
-
- void SetKeyMenuBar(BMenuBar* bar);
- |
-
-
- |
-
- |
-
-
- BMenuBar* KeyMenuBar() const;
- |
-
-
- |
-
- |
-
-
- void SetSizeLimits(float min_h, float max_h, float min_v, float max_v);
- |
-
-
- |
-
- |
-
-
- void GetSizeLimits(float* min_h, float* max_h, float* min_v, float* max_v);
- |
-
-
- |
-
- |
-
-
- uint32 Workspaces() const;
- |
-
-
- |
-
- |
-
-
- void SetWorkspaces(uint32);
- |
-
-
- |
-
- |
-
-
- BView* LastMouseMovedView() const;
- |
-
-
- |
-
- |
-
-
- virtual BHandler* ResolveSpecifier(BMessage* msg, int32 index, BMessage* specifier, int32 form, const char* property);
- |
-
-
- |
-
- |
-
-
- virtual status_t GetSupportedSuites(BMessage* data);
- |
-
-
- |
-
- |
-
-
- status_t AddToSubset(BWindow* window);
- |
-
-
- |
-
- |
-
-
- status_t RemoveFromSubset(BWindow* window);
- |
-
-
- |
-
- |
-
-
- virtual status_t Perform(perform_code d, void* arg);
- |
-
-
- |
-
- |
-
-
- status_t SetType(window_type type);
- |
-
-
- |
-
- |
-
-
- window_type Type() const;
- |
-
-
- |
-
- |
-
-
- status_t SetLook(window_look look);
- |
-
-
- |
-
- |
-
-
- window_look Look() const;
- |
-
-
- |
-
- |
-
-
- status_t SetFeel(window_feel feel);
- |
-
-
- |
-
- |
-
-
- window_feel Feel() const;
- |
-
-
- |
-
- |
-
-
- status_t SetFlags(uint32);
- |
-
-
- |
-
- |
-
-
- uint32 Flags() const;
- |
-
-
- |
-
- |
-
-
- bool IsModal() const;
- |
-
-
- |
-
- |
-
-
- bool IsFloating() const;
- |
-
-
- |
-
- |
-
-
- status_t SetWindowAlignment(window_alignment mode, int32 h, int32 hOffset = 0, int32 width = 0, int32 widthOffset = 0, int32 v = 0, int32 vOffset = 0, int32 height = 0, int32 heightOffset = 0);
- |
-
-
- |
-
- |
-
-
- status_t GetWindowAlignment(window_alignment* mode = NULL, int32* h = NULL, int32* hOffset = NULL, int32* width = NULL, int32* widthOffset = NULL, int32* v = NULL, int32* vOffset = NULL, int32* height = NULL, int32* heightOffset = NULL) const;
- |
-
-
- |
-
- |
-
-
- virtual bool QuitRequested();
- |
-
-
- |
-
- |
-
-
- virtual thread_id Run();
- |
-
-
- |
-
- |
-
-
- virtual void task_looper();
- |
-
-
-
-
-
-
- |
-
- |
- Task Details |
-
-
-
-
- | BChannelControl Class |
-
-
- |
-
- |
-
-
- BChannelControl(BRect frame, const char * name, const char * label, BMessage * model, int32 channel_count = 1, uint32 resize = B_FOLLOW_LEFT | B_FOLLOW_TOP, uint32 flags = B_WILL_DRAW);
- |
-
-
- |
-
- |
-
-
- BChannelControl(BMessage* from);
- |
-
-
- |
-
- |
-
-
- virtual ~BChannelControl();
- |
-
-
- |
-
- |
-
-
- virtual status_t Archive(BMessage* into, bool deep = true) const;
- |
-
-
- |
-
- |
-
-
- virtual void Draw(BRect area) = 0;
- |
-
-
- |
-
- |
-
-
- virtual void MouseDown(BPoint where) = 0;
- |
-
-
- |
-
- |
-
-
- virtual void KeyDown(const char* bytes, int32 size) = 0;
- |
-
-
- |
-
- |
-
-
- virtual void FrameResized(float width, float height);
- |
-
-
- |
-
- |
-
-
- virtual void SetFont(const BFont* font, uint32 mask = B_FONT_ALL);
- |
-
-
- |
-
- |
-
-
- virtual void AttachedToWindow();
- |
-
-
- |
-
- |
-
-
- virtual void DetachedFromWindow();
- |
-
-
- |
-
- |
-
-
- virtual void ResizeToPreferred();
- |
-
-
- |
-
- |
-
-
- virtual void GetPreferredSize(float* width, float* height) = 0;
- |
-
-
- |
-
- |
-
-
- virtual void MessageReceived(BMessage* message);
- |
-
-
- |
-
- |
-
-
- virtual BHandler *ResolveSpecifier(BMessage *msg, int32 index, BMessage *specifier, int32 form, const char *property);
- |
-
-
- |
-
- |
-
-
- virtual status_t GetSupportedSuites(BMessage *data);
- |
-
-
- |
-
- |
-
-
- virtual void SetModificationMessage(BMessage *message);
- |
-
-
- |
-
- |
-
-
- BMessage *ModificationMessage() const;
- |
-
-
- |
-
- |
-
-
- virtual status_t Invoke(BMessage *msg = NULL);
- |
-
-
- |
-
- |
-
-
- virtual status_t InvokeChannel(BMessage *msg = NULL, int32 from_channel = 0, int32 channel_count = -1, const bool* in_mask = NULL);
- |
-
-
- |
-
- |
-
-
- status_t InvokeNotifyChannel(BMessage *msg = NULL, uint32 kind = B_CONTROL_INVOKED, int32 from_channel = 0, int32 channel_count = -1, const bool* in_mask = NULL);
- |
-
-
- |
-
- |
-
-
- virtual voidSetValue(int32 value);
- |
-
-
- |
-
- |
-
-
- virtual status_t SetCurrentChannel(int32 channel);
- |
-
-
- |
-
- |
-
-
- int32 CurrentChannel() const;
- |
-
-
- |
-
- |
-
-
- virtual int32 CountChannels() const;
- |
-
-
- |
-
- |
-
-
- virtual int32 MaxChannelCount() const = 0;
- |
-
-
- |
-
- |
-
-
- virtual status_t SetChannelCount(int32 channel_count);
- |
-
-
- |
-
- |
-
-
- int32 ValueFor(int32 channel) const;
- |
-
-
- |
-
- |
-
-
- virtual int32 GetValue(int32* out_values, int32 from_channel, int32 channel_count) const;
- |
-
-
- |
-
- |
-
-
- status_t SetValueFor(int32 channel, int32 value);
- |
-
-
- |
-
- |
-
-
- virtual status_t SetValue(int32 from_channel, int32 channel_count, const int32* in_values);
- |
-
-
- |
-
- |
-
-
- status_t SetAllValue(int32 values);
- |
-
-
- |
-
- |
-
-
- status_t SetLimitsFor(int32 channel, int32 minimum, int32 maximum);
- |
-
-
- |
-
- |
-
-
- status_t GetLimitsFor(int32 channel, int32* minimum, int32* maximum) const ;
- |
-
-
- |
-
- |
-
-
- virtual status_t SetLimitsFor(int32 from_channel, int32 channel_count, const int32* minimum, const int32* maximum);
- |
-
-
- |
-
- |
-
-
- virtual status_t GetLimitsFor(int32 from_channel, int32 channel_count, int32* minimum, int32* maximum) const;
- |
-
-
- |
-
- |
-
-
- status_t SetLimits(int32 minimum, int32 maximum);
- |
-
-
- |
-
- |
-
-
- status_t GetLimits(int32* outMinimum, int32* outMaximum) const;
- |
-
-
- |
-
- |
-
-
- virtual bool SupportsIndividualLimits() const = 0;
- |
-
-
- |
-
- |
-
-
- virtual status_t SetLimitLabels(const char* min_label, const char* max_label);
- |
-
-
- |
-
- |
-
-
- const char* MinLimitLabel() const;
- |
-
-
- |
-
- |
-
-
- const char* MaxLimitLabel() const;
- |
-
-
- |
-
- |
-
-
- virtual status_t SetLimitLabelsFor(int32 channel, const char* minLabel, const char* maxLabel);
- |
-
-
- |
-
- |
-
-
- virtual status_t SetLimitLabelsFor(int32 from_channel, int32 channel_count, const char* minLabel, const char* maxLabel);
- |
-
-
- |
-
- |
-
-
- const char* MinLimitLabelFor(int32 channel) const;
- |
-
-
- |
-
- |
-
-
- const char* MaxLimitLabelFor(int32 channel) const;
- |
-
-
-
- | BChannelSlider Class |
-
-
- |
-
- |
-
-
- BChannelSlider(BRect area, const char* name, const char* label, BMessage* model, int32 channels = 1, uint32 resize = B_FOLLOW_LEFT | B_FOLLOW_TOP, uint32 flags = B_WILL_DRAW);
- |
-
-
- |
-
- |
-
-
- BChannelSlider(BRect area, const char* name, const char* label, BMessage* model, orientation o, int32 channels = 1, uint32 resize = B_FOLLOW_LEFT | B_FOLLOW_TOP, uint32 flags = B_WILL_DRAW);
- |
-
-
- |
-
- |
-
-
- BChannelSlider(BMessage* from);
- |
-
-
- |
-
- |
-
-
- virtual ~BChannelSlider();
- |
-
-
- |
-
- |
-
-
- static BArchivable* Instantiate(BMessage* from);
- |
-
-
- |
-
- |
-
-
- virtual status_t Archive(BMessage* into, bool deep = true) const;
- |
-
-
- |
-
- |
-
-
- virtual orientation Orientation() const;
- |
-
-
- |
-
- |
-
-
- void SetOrientation(orientation o);
- |
-
-
- |
-
- |
-
-
- virtual int32 MaxChannelCount() const;
- |
-
-
- |
-
- |
-
-
- virtual bool SupportsIndividualLimits() const;
- |
-
-
- |
-
- |
-
-
- virtual void AttachedToWindow();
- |
-
-
- |
-
- |
-
-
- virtual void AllAttached();
- |
-
-
- |
-
- |
-
-
- virtual void DetachedFromWindow();
- |
-
-
- |
-
- |
-
-
- virtual void AllDetached();
- |
-
-
- |
-
- |
-
-
- virtual void MessageReceived(BMessage* msg);
- |
-
-
- |
-
- |
-
-
- virtual void Draw(BRect area);
- |
-
-
- |
-
- |
-
-
- virtual void MouseDown(BPoint where);
- |
-
-
- |
-
- |
-
-
- virtual void MouseUp(BPoint pt);
- |
-
-
- |
-
- |
-
-
- virtual void MouseMoved(BPoint pt, uint32 code, const BMessage* message);
- |
-
-
- |
-
- |
-
-
- virtual void WindowActivated(bool state);
- |
-
-
- |
-
- |
-
-
- virtual void KeyDown(const char* bytes, int32 numBytes);
- |
-
-
- |
-
- |
-
-
- virtual void KeyUp(const char* bytes, int32 numBytes);
- |
-
-
- |
-
- |
-
-
- virtual void FrameResized(float width, float height);
- |
-
-
- |
-
- |
-
-
- virtual void SetFont(const BFont* font, uint32 mask = B_FONT_ALL);
- |
-
-
- |
-
- |
-
-
- virtual void MakeFocus(bool focusState = true);
- |
-
-
- |
-
- |
-
-
- virtual void SetEnabled(bool on);
- |
-
-
- |
-
- |
-
-
- virtual void GetPreferredSize(float* width, float* height);
- |
-
-
- |
-
- |
-
-
- virtual BHandler* ResolveSpecifier(BMessage* msg, int32 index, BMessage* specifier, int32 form, const char* property);
- |
-
-
- |
-
- |
-
-
- virtual status_t GetSupportedSuites(BMessage* data);
- |
-
-
- |
-
- |
-
-
- virtual void DrawChannel(BView* into, int32 channel, BRect area, bool pressed);
- |
-
-
- |
-
- |
-
-
- virtual void DrawGroove(BView* into, int32 channel, BPoint tl, BPoint br);
- |
-
-
- |
-
- |
-
-
- virtual void DrawThumb(BView* into, int32 channel, BPoint where, bool pressed );
- |
-
-
- |
-
- |
-
-
- virtual const BBitmap* ThumbFor(int32 channel, bool pressed);
- |
-
-
- |
-
- |
-
-
- virtual BRect ThumbFrameFor(int32 channel);
- |
-
-
- |
-
- |
-
-
- virtual float ThumbDeltaFor(int32 channel);
- |
-
-
- |
-
- |
-
-
- virtual float ThumbRangeFor(int32 channel);
- |
-
-
-
- | BMultiChannelControl Class |
-
-
- |
-
- |
-
-
- BMultiChannelControl(BRect frame, const char* name, const char* label, BMessage* model, int32 channel_count = 1, uint32 resize = B_FOLLOW_LEFT | B_FOLLOW_TOP, uint32 flags = B_WILL_DRAW);
- |
-
-
- |
-
- |
-
-
- BMultiChannelControl(BMessage* from);
- |
-
-
- |
-
- |
-
-
- virtual ~BMultiChannelControl();
- |
-
-
- |
-
- |
-
-
- virtual status_t Archive(BMessage* into, bool deep = true) const;
- |
-
-
- |
-
- |
-
-
- virtual void Draw(BRect area) = 0;
- |
-
-
- |
-
- |
-
-
- virtual void MouseDown(BPoint where) = 0;
- |
-
-
- |
-
- |
-
-
- virtual void KeyDown(const char* bytes, int32 size) = 0;
- |
-
-
- |
-
- |
-
-
- virtual void FrameResized(float width, float height);
- |
-
-
- |
-
- |
-
-
- virtual void SetFont(const BFont* font, uint32 mask = B_FONT_ALL);
- |
-
-
- |
-
- |
-
-
- virtual void AttachedToWindow();
- |
-
-
- |
-
- |
-
-
- virtual void DetachedFromWindow();
- |
-
-
- |
-
- |
-
-
- virtual void ResizeToPreferred();
- |
-
-
- |
-
- |
-
-
- virtual void GetPreferredSize(float* width, float* height) = 0;
- |
-
-
- |
-
- |
-
-
- virtual void MessageReceived(BMessage* message);
- |
-
-
- |
-
- |
-
-
- virtual void SetValue(int32 value);
- |
-
-
- |
-
- |
-
-
- virtual status_t SetCurrentChannel(int32 channel);
- |
-
-
- |
-
- |
-
-
- int32 CurrentChannel() const;
- |
-
-
- |
-
- |
-
-
- virtual int32 CountChannels() const;
- |
-
-
- |
-
- |
-
-
- virtual int32 MaxChannelCount() const = 0;
- |
-
-
- |
-
- |
-
-
- virtual status_t SetChannelCount(int32 channel_count);
- |
-
-
- |
-
- |
-
-
- int32 ValueFor(int32 channel) const;
- |
-
-
- |
-
- |
-
-
- virtual int32 GetValues(int32* out_values, int32 from_channel, int32 channel_count) const;
- |
-
-
- |
-
- |
-
-
- status_t SetValueFor(int32 channel, int32 value);
- |
-
-
- |
-
- |
-
-
- virtual status_t SetValues(int32 from_channel, int32 channel_count, const int32* in_values);
- |
-
-
- |
-
- |
-
-
- status_t SetAllValues(int32 values);
- |
-
-
- |
-
- |
-
-
- status_t SetLimitsFor(int32 channel, int32 minimum, int32 maximum);
- |
-
-
- |
-
- |
-
-
- status_t GetLimitsFor(int32 channel, int32* minimum, int32* maximum) const ;
- |
-
-
- |
-
- |
-
-
- virtual status_t SetLimits(int32 from_channel, int32 channel_count, const int32* minimum, const int32* maximum);
- |
-
-
- |
-
- |
-
-
- virtual status_t GetLimits(int32 from_channel, int32 channel_count, int32* minimum, int32* maximum) const;
- |
-
-
- |
-
- |
-
-
- status_t SetAllLimits(int32 minimum, int32 maximum);
- |
-
-
- |
-
- |
-
-
- virtual status_t SetLimitLabels(const char* min_label, const char* max_label);
- |
-
-
- |
-
- |
-
-
- const char* MinLimitLabel() const;
- |
-
-
- |
-
- |
-
-
- const char* MaxLimitLabel() const;
- |
-
-
-
- | BOptionControl Class |
-
-
- |
-
- |
-
-
- BOptionControl(BRect frame, const char* name, const char* label, BMessage* message, uint32 resize = B_FOLLOW_LEFT | B_FOLLOW_TOP, uint32 flags = B_WILL_DRAW);
- |
-
-
- |
-
- |
-
-
- virtual ~BOptionControl();
- |
-
-
- |
-
- |
-
-
- virtual void MessageReceived(BMessage* message);
- |
-
-
- |
-
- |
-
-
- status_t AddOption(const char* name, int32 value);
- |
-
-
- |
-
- |
-
-
- virtual boolGetOptionAt(int32 index, const char** out_name, int32* out_value) = 0;
- |
-
-
- |
-
- |
-
-
- virtual void RemoveOptionAt(int32 index) = 0;
- |
-
-
- |
-
- |
-
-
- virtual int32 CountOptions() const = 0;
- |
-
-
- |
-
- |
-
-
- virtual status_tAddOptionAt(const char* name, int32 value, int32 index) = 0;
- |
-
-
- |
-
- |
-
-
- virtual int32 SelectedOption(const char** name = 0, int32* value = 0) const = 0;
- |
-
-
- |
-
- |
-
-
- virtual status_t SelectOptionFor(int32 value);
- |
-
-
- |
-
- |
-
-
- virtual status_t SelectOptionFor(const char *name);
- |
-
-
- |
-
- |
-
-
- BMessage* MakeValueMessage(int32 value);
- |
-
-
-
- | BOptionPopUp Class |
-
-
- |
-
- |
-
-
- BOptionPopUp(BRect frame, const char* name, const char* label, BMessage* message, uint32 resize = B_FOLLOW_LEFT | B_FOLLOW_TOP, uint32 flags = B_WILL_DRAW);
- |
-
-
- |
-
- |
-
-
- BOptionPopUp(BRect frame, const char* name, const char* label, BMessage* message, bool fixed, uint32 resize = B_FOLLOW_LEFT | B_FOLLOW_TOP, uint32 flags = B_WILL_DRAW);
- |
-
-
- |
-
- |
-
-
- ~BOptionPopUp();
- |
-
-
- |
-
- |
-
-
- BMenuField* MenuField();
- |
-
-
- |
-
- |
-
-
- virtual bool GetOptionAt(int32 index, const char** out_name, int32* out_value);
- |
-
-
- |
-
- |
-
-
- virtual void RemoveOptionAt(int32 index);
- |
-
-
- |
-
- |
-
-
- virtual int32 CountOptions() const;
- |
-
-
- |
-
- |
-
-
- virtual status_t AddOptionAt(const char* name, int32 value, int32 index);
- |
-
-
- |
-
- |
-
-
- virtual void AllAttached();
- |
-
-
- |
-
- |
-
-
- virtual void MessageReceived(BMessage* message);
- |
-
-
- |
-
- |
-
-
- virtual void SetLabel(const char* text);
- |
-
-
- |
-
- |
-
-
- virtual void SetValue(int32 value);
- |
-
-
- |
-
- |
-
-
- virtual voidSetEnabled(bool on);
- |
-
-
- |
-
- |
-
-
- virtual void GetPreferredSize(float* width, float* height);
- |
-
-
- |
-
- |
-
-
- virtual void ResizeToPreferred();
- |
-
-
- |
-
- |
-
-
- virtual int32 SelectedOption(const char** outName = 0, int32* outValue = 0) const;
- |
-
-
-
-
-
-
- |
-
- |
- Task Details |
-
-
-
-
- | BControl Class |
-
-
- |
-
- |
-
-
- BControl(BRect frame, const char* name, const char* label, BMessage* message, uint32 resizeMask, uint32 flags);
- |
-
-
- |
-
- |
-
-
- BControl(BMessage* data);
- |
-
-
- |
-
- |
-
-
- virtual ~BControl();
- |
-
-
- |
-
- |
-
-
- static BArchivable* Instantiate(BMessage* data);
- |
-
-
- |
-
- |
-
-
- virtual status_t Archive(BMessage* data, bool deep = true) const;
- |
-
-
- |
-
- |
-
-
- virtual void WindowActivated(bool state);
- |
-
-
- |
-
- |
-
-
- virtual void AttachedToWindow();
- |
-
-
- |
-
- |
-
-
- virtual void MessageReceived(BMessage* msg);
- |
-
-
- |
-
- |
-
-
- virtual void MakeFocus(bool state = true);
- |
-
-
- |
-
- |
-
-
- virtual void KeyDown(const char* bytes, int32 numBytes);
- |
-
-
- |
-
- |
-
-
- virtual void MouseDown(BPoint pt);
- |
-
-
- |
-
- |
-
-
- virtual void MouseUp(BPoint pt);
- |
-
-
- |
-
- |
-
-
- virtual void MouseMoved(BPoint pt, uint32 code, const BMessage* msg);
- |
-
-
- |
-
- |
-
-
- virtual void DetachedFromWindow();
- |
-
-
- |
-
- |
-
-
- virtual void SetLabel(const char* text);
- |
-
-
- |
-
- |
-
-
- const char* Label() const;
- |
-
-
- |
-
- |
-
-
- virtual void SetValue(int32 value);
- |
-
-
- |
-
- |
-
-
- int32 Value() const;
- |
-
-
- |
-
- |
-
-
- virtual void SetEnabled(bool on);
- |
-
-
- |
-
- |
-
-
- bool IsEnabled() const;
- |
-
-
- |
-
- |
-
-
- virtual void GetPreferredSize(float* width, float* height);
- |
-
-
- |
-
- |
-
-
- virtual void ResizeToPreferred();
- |
-
-
- |
-
- |
-
-
- virtual status_t Invoke(BMessage* msg = NULL);
- |
-
-
- |
-
- |
-
-
- virtual BHandler* ResolveSpecifier(BMessage* msg, int32 index, BMessage* specifier, int32 form, const char* property);
- |
-
-
- |
-
- |
-
-
- virtual status_t GetSupportedSuites(BMessage* data);
- |
-
-
- |
-
- |
-
-
- virtual void AllAttached();
- |
-
-
- |
-
- |
-
-
- virtual void AllDetached();
- |
-
-
- |
-
- |
-
-
- bool IsFocusChanging() const;
- |
-
-
- |
-
- |
-
-
- bool IsTracking() const;
- |
-
-
- |
-
- |
-
-
- void SetTracking(bool state);
- |
-
-
- |
-
- |
-
-
- void SetValueNoUpdate(int32 value);
- |
-
-
-
- | BButton Class |
-
-
- |
-
- |
-
-
- BButton(BRect frame, const char* name, const char* label, BMessage* message, uint32 resizeMask = B_FOLLOW_LEFT | B_FOLLOW_TOP, uint32 flags = B_WILL_DRAW | B_NAVIGABLE);
- |
-
-
- |
-
- |
-
-
- BButton(BMessage* data);
- |
-
-
- |
-
- |
-
-
- virtual ~BButton();
- |
-
-
- |
-
- |
-
-
- static BArchivable* Instantiate(BMessage* data);
- |
-
-
- |
-
- |
-
-
- virtual status_t Archive(BMessage* data, bool deep = true) const;
- |
-
-
- |
-
- |
-
-
- virtual void Draw(BRect updateRect);
- |
-
-
- |
-
- |
-
-
- virtual void MouseDown(BPoint where);
- |
-
-
- |
-
- |
-
-
- virtual void AttachedToWindow();
- |
-
-
- |
-
- |
-
-
- virtual void KeyDown(const char* bytes, int32 numBytes);
- |
-
-
- |
-
- |
-
-
- virtual void MakeDefault(bool state);
- |
-
-
- |
-
- |
-
-
- virtual void SetLabel(const char* text);
- |
-
-
- |
-
- |
-
-
- bool IsDefault() const;
- |
-
-
- |
-
- |
-
-
- virtual void MessageReceived(BMessage* msg);
- |
-
-
- |
-
- |
-
-
- virtual void WindowActivated(bool state);
- |
-
-
- |
-
- |
-
-
- virtual void MouseUp(BPoint pt);
- |
-
-
- |
-
- |
-
-
- virtual void MouseMoved(BPoint pt, uint32 code, const BMessage* msg);
- |
-
-
- |
-
- |
-
-
- virtual void DetachedFromWindow();
- |
-
-
- |
-
- |
-
-
- virtual void SetValue(int32 value);
- |
-
-
- |
-
- |
-
-
- virtual void GetPreferredSize(float* width, float* height);
- |
-
-
- |
-
- |
-
-
- virtual void ResizeToPreferred();
- |
-
-
- |
-
- |
-
-
- virtual status_t Invoke(BMessage* msg = NULL);
- |
-
-
- |
-
- |
-
-
- virtual void FrameMoved(BPoint new_position);
- |
-
-
- |
-
- |
-
-
- virtual void FrameResized(float new_width, float new_height);
- |
-
-
- |
-
- |
-
-
- virtual void MakeFocus(bool state = true);
- |
-
-
- |
-
- |
-
-
- virtual void AllAttached();
- |
-
-
- |
-
- |
-
-
- virtual void AllDetached();
- |
-
-
- |
-
- |
-
-
- virtual BHandler* ResolveSpecifier(BMessage* msg, int32 index, BMessage* specifier, int32 form, const char* property);
- |
-
-
- |
-
- |
-
-
- virtual status_t GetSupportedSuites(BMessage* data);
- |
-
-
-
- | BCheckBox Class |
-
-
- |
-
- |
-
-
- BCheckBox(BRect frame, const char* name, const char* label, BMessage* message, uint32 resizeMask = B_FOLLOW_LEFT | B_FOLLOW_TOP, uint32 flags = B_WILL_DRAW | B_NAVIGABLE);
- |
-
-
- |
-
- |
-
-
- BCheckBox(BMessage* data);
- |
-
-
- |
-
- |
-
-
- virtual ~BCheckBox();
- |
-
-
- |
-
- |
-
-
- static BArchivable* Instantiate(BMessage* data);
- |
-
-
- |
-
- |
-
-
- virtual status_t Archive(BMessage* data, bool deep = true) const;
- |
-
-
- |
-
- |
-
-
- virtual void Draw(BRect updateRect);
- |
-
-
- |
-
- |
-
-
- virtual void AttachedToWindow();
- |
-
-
- |
-
- |
-
-
- virtual void MouseDown(BPoint where);
- |
-
-
- |
-
- |
-
-
- virtual void MessageReceived(BMessage* msg);
- |
-
-
- |
-
- |
-
-
- virtual void WindowActivated(bool state);
- |
-
-
- |
-
- |
-
-
- virtual void KeyDown(const char* bytes, int32 numBytes);
- |
-
-
- |
-
- |
-
-
- virtual void MouseUp(BPoint pt);
- |
-
-
- |
-
- |
-
-
- virtual void MouseMoved(BPoint pt, uint32 code, const BMessage* msg);
- |
-
-
- |
-
- |
-
-
- virtual void DetachedFromWindow();
- |
-
-
- |
-
- |
-
-
- virtual void SetValue(int32 value);
- |
-
-
- |
-
- |
-
-
- virtual void GetPreferredSize(float* width, float* height);
- |
-
-
- |
-
- |
-
-
- virtual void ResizeToPreferred();
- |
-
-
- |
-
- |
-
-
- virtual status_t Invoke(BMessage* msg = NULL);
- |
-
-
- |
-
- |
-
-
- virtual void FrameMoved(BPoint new_position);
- |
-
-
- |
-
- |
-
-
- virtual void FrameResized(float new_width, float new_height);
- |
-
-
- |
-
- |
-
-
- virtual BHandler* ResolveSpecifier(BMessage* msg, int32 index, BMessage* specifier, int32 form, const char* property);
- |
-
-
- |
-
- |
-
-
- virtual status_t GetSupportedSuites(BMessage* data);
- |
-
-
- |
-
- |
-
-
- virtual void MakeFocus(bool state = true);
- |
-
-
- |
-
- |
-
-
- virtual void AllAttached();
- |
-
-
- |
-
- |
-
-
- virtual void AllDetached();
- |
-
-
-
- | BColorControl Class |
-
-
- |
-
- |
-
-
- BColorControl(BPoint start, color_control_layout layout, float cell_size, const char *name, BMessage *message = NULL, bool use_offscreen = false);
- |
-
-
- |
-
- |
-
-
- BColorControl(BMessage *data);
- |
-
-
- |
-
- |
-
-
- virtual ~BColorControl();
- |
-
-
- |
-
- |
-
-
- static BArchivable *Instantiate(BMessage *data);
- |
-
-
- |
-
- |
-
-
- virtual status_t Archive(BMessage *data, bool deep = true) const;
- |
-
-
- |
-
- |
-
-
- virtual void SetValue(int32 color_value);
- |
-
-
- |
-
- |
-
-
- void SetValue(rgb_color color);
- |
-
-
- |
-
- |
-
-
- rgb_color ValueAsColor();
- |
-
-
- |
-
- |
-
-
- virtual void SetEnabled(bool state);
- |
-
-
- |
-
- |
-
-
- virtual void AttachedToWindow();
- |
-
-
- |
-
- |
-
-
- virtual void MessageReceived(BMessage *msg);
- |
-
-
- |
-
- |
-
-
- virtual void Draw(BRect updateRect);
- |
-
-
- |
-
- |
-
-
- virtual void MouseDown(BPoint where);
- |
-
-
- |
-
- |
-
-
- virtual void KeyDown(const char *bytes, int32 numBytes);
- |
-
-
- |
-
- |
-
-
- virtual void SetCellSize(float size);
- |
-
-
- |
-
- |
-
-
- float CellSize() const;
- |
-
-
- |
-
- |
-
-
- virtual void SetLayout(color_control_layout layout);
- |
-
-
- |
-
- |
-
-
- color_control_layout Layout() const;
- |
-
-
- |
-
- |
-
-
- virtual void WindowActivated(bool state);
- |
-
-
- |
-
- |
-
-
- virtual void MouseUp(BPoint pt);
- |
-
-
- |
-
- |
-
-
- virtual void MouseMoved(BPoint pt, uint32 code, const BMessage *msg);
- |
-
-
- |
-
- |
-
-
- virtual void DetachedFromWindow();
- |
-
-
- |
-
- |
-
-
- virtual void GetPreferredSize(float *width, float *height);
- |
-
-
- |
-
- |
-
-
- virtual void ResizeToPreferred();
- |
-
-
- |
-
- |
-
-
- virtual status_t Invoke(BMessage *msg = NULL);
- |
-
-
- |
-
- |
-
-
- virtual void FrameMoved(BPoint new_position);
- |
-
-
- |
-
- |
-
-
- virtual void FrameResized(float new_width, float new_height);
- |
-
-
- |
-
- |
-
-
- virtual BHandler *ResolveSpecifier(BMessage *msg, int32 index, BMessage *specifier, int32 form, const char *property);
- |
-
-
- |
-
- |
-
-
- virtual status_t GetSupportedSuites(BMessage *data);
- |
-
-
- |
-
- |
-
-
- virtual void MakeFocus(bool state = true);
- |
-
-
- |
-
- |
-
-
- virtual void AllAttached();
- |
-
-
- |
-
- |
-
-
- virtual void AllDetached();
- |
-
-
-
- | BPictureButton Class |
-
-
- |
-
- |
-
-
- BPictureButton(BRect frame, const char* name, BPicture* off, BPicture* on, BMessage* message, uint32 behavior = B_ONE_STATE_BUTTON, uint32 resizeMask = B_FOLLOW_LEFT | B_FOLLOW_TOP, uint32 flgs = B_WILL_DRAW | B_NAVIGABLE);
- |
-
-
- |
-
- |
-
-
- BPictureButton(BMessage* data);
- |
-
-
- |
-
- |
-
-
- virtual ~BPictureButton();
- |
-
-
- |
-
- |
-
-
- static BArchivable* Instantiate(BMessage* data);
- |
-
-
- |
-
- |
-
-
- virtual status_t Archive(BMessage* data, bool deep = true) const;
- |
-
-
- |
-
- |
-
-
- virtual void Draw(BRect updateRect);
- |
-
-
- |
-
- |
-
-
- virtual void MouseDown(BPoint where);
- |
-
-
- |
-
- |
-
-
- virtual void KeyDown(const char* bytes, int32 numBytes);
- |
-
-
- |
-
- |
-
-
- virtual void SetEnabledOn(BPicture* on);
- |
-
-
- |
-
- |
-
-
- virtual void SetEnabledOff(BPicture* off);
- |
-
-
- |
-
- |
-
-
- virtual void SetDisabledOn(BPicture* on);
- |
-
-
- |
-
- |
-
-
- virtual void SetDisabledOff(BPicture* off);
- |
-
-
- |
-
- |
-
-
- BPicture* EnabledOn() const;
- |
-
-
- |
-
- |
-
-
- BPicture* EnabledOff() const;
- |
-
-
- |
-
- |
-
-
- BPicture* DisabledOn() const;
- |
-
-
- |
-
- |
-
-
- BPicture* DisabledOff() const;
- |
-
-
- |
-
- |
-
-
- virtual void SetBehavior(uint32 behavior);
- |
-
-
- |
-
- |
-
-
- uint32 Behavior() const;
- |
-
-
- |
-
- |
-
-
- virtual void MessageReceived(BMessage* msg);
- |
-
-
- |
-
- |
-
-
- virtual void MouseUp(BPoint pt);
- |
-
-
- |
-
- |
-
-
- virtual void WindowActivated(bool state);
- |
-
-
- |
-
- |
-
-
- virtual void MouseMoved(BPoint pt, uint32 code, const BMessage* msg);
- |
-
-
- |
-
- |
-
-
- virtual void AttachedToWindow();
- |
-
-
- |
-
- |
-
-
- virtual void DetachedFromWindow();
- |
-
-
- |
-
- |
-
-
- virtual void SetValue(int32 value);
- |
-
-
- |
-
- |
-
-
- virtual status_t Invoke(BMessage* msg = NULL);
- |
-
-
- |
-
- |
-
-
- virtual void FrameMoved(BPoint new_position);
- |
-
-
- |
-
- |
-
-
- virtual void FrameResized(float new_width, float new_height);
- |
-
-
- |
-
- |
-
-
- virtual BHandler* ResolveSpecifier(BMessage* msg, int32 index, BMessage* specifier, int32 form, const char* property);
- |
-
-
- |
-
- |
-
-
- virtual status_t GetSupportedSuites(BMessage* data);
- |
-
-
- |
-
- |
-
-
- virtual void ResizeToPreferred();
- |
-
-
- |
-
- |
-
-
- virtual void GetPreferredSize(float* width, float* height);
- |
-
-
- |
-
- |
-
-
- virtual void MakeFocus(bool state = true);
- |
-
-
- |
-
- |
-
-
- virtual void AllAttached();
- |
-
-
- |
-
- |
-
-
- virtual void AllDetached();
- |
-
-
-
- | BRadioButton Class |
-
-
- |
-
- |
-
-
- BRadioButton(BRect frame, const char* name, const char* label, BMessage* message, uint32 resizMask = B_FOLLOW_LEFT | B_FOLLOW_TOP, uint32 flags = B_WILL_DRAW | B_NAVIGABLE);
- |
-
-
- |
-
- |
-
-
- BRadioButton(BMessage* data);
- |
-
-
- |
-
- |
-
-
- virtual ~BRadioButton();
- |
-
-
- |
-
- |
-
-
- static BArchivable* Instantiate(BMessage* data);
- |
-
-
- |
-
- |
-
-
- virtual status_t Archive(BMessage* data, bool deep = true) const;
- |
-
-
- |
-
- |
-
-
- virtual void Draw(BRect updateRect);
- |
-
-
- |
-
- |
-
-
- virtual void MouseDown(BPoint where);
- |
-
-
- |
-
- |
-
-
- virtual void AttachedToWindow();
- |
-
-
- |
-
- |
-
-
- virtual void KeyDown(const char* bytes, int32 numBytes);
- |
-
-
- |
-
- |
-
-
- virtual void SetValue(int32 value);
- |
-
-
- |
-
- |
-
-
- virtual void GetPreferredSize(float* width, float* height);
- |
-
-
- |
-
- |
-
-
- virtual void ResizeToPreferred();
- |
-
-
- |
-
- |
-
-
- virtual status_t Invoke(BMessage* msg = NULL);
- |
-
-
- |
-
- |
-
-
- virtual void MessageReceived(BMessage* msg);
- |
-
-
- |
-
- |
-
-
- virtual void WindowActivated(bool state);
- |
-
-
- |
-
- |
-
-
- virtual void MouseUp(BPoint pt);
- |
-
-
- |
-
- |
-
-
- virtual void MouseMoved(BPoint pt, uint32 code, const BMessage* msg);
- |
-
-
- |
-
- |
-
-
- virtual void DetachedFromWindow();
- |
-
-
- |
-
- |
-
-
- virtual void FrameMoved(BPoint new_position);
- |
-
-
- |
-
- |
-
-
- virtual void FrameResized(float new_width, float new_height);
- |
-
-
- |
-
- |
-
-
- virtual BHandler* ResolveSpecifier(BMessage* msg, int32 index, BMessage* specifier, int32 form, const char* property);
- |
-
-
- |
-
- |
-
-
- virtual void MakeFocus(bool state = true);
- |
-
-
- |
-
- |
-
-
- virtual void AllAttached();
- |
-
-
- |
-
- |
-
-
- virtual void AllDetached();
- |
-
-
- |
-
- |
-
-
- virtual status_t GetSupportedSuites(BMessage* data);
- |
-
-
-
- | BSlider Class |
-
-
- |
-
- |
-
-
- BSlider(BRect frame, const char* name, const char* label, BMessage* message, int32 minValue, int32 maxValue, thumb_style thumbType = B_BLOCK_THUMB, uint32 resizingMode = B_FOLLOW_LEFT | B_FOLLOW_TOP, uint32 flags = B_NAVIGABLE | B_WILL_DRAW | B_FRAME_EVENTS);
- |
-
-
- |
-
- |
-
-
- BSlider(BRect frame, const char* name, const char* label, BMessage* message, int32 minValue, int32 maxValue, orientation posture /*= B_HORIZONTAL*/, thumb_style thumbType = B_BLOCK_THUMB, uint32 resizingMode = B_FOLLOW_LEFT | B_FOLLOW_TOP, uint32 flags = B_NAVIGABLE | B_WILL_DRAW | B_FRAME_EVENTS);
- |
-
-
- |
-
- |
-
-
- BSlider(BMessage* data);
- |
-
-
- |
-
- |
-
-
- virtual ~BSlider();
- |
-
-
- |
-
- |
-
-
- static BArchivable* Instantiate(BMessage* data);
- |
-
-
- |
-
- |
-
-
- virtual status_t Archive(BMessage* data, bool deep = true) const;
- |
-
-
- |
-
- |
-
-
- virtual status_t Perform(perform_code d, void* arg);
- |
-
-
- |
-
- |
-
-
- virtual void WindowActivated(bool state);
- |
-
-
- |
-
- |
-
-
- virtual void AttachedToWindow();
- |
-
-
- |
-
- |
-
-
- virtual void AllAttached();
- |
-
-
- |
-
- |
-
-
- virtual void AllDetached();
- |
-
-
- |
-
- |
-
-
- virtual void DetachedFromWindow();
- |
-
-
- |
-
- |
-
-
- virtual void MessageReceived(BMessage* msg);
- |
-
-
- |
-
- |
-
-
- virtual void FrameMoved(BPoint new_position);
- |
-
-
- |
-
- |
-
-
- virtual void FrameResized(float w,float h);
- |
-
-
- |
-
- |
-
-
- virtual void KeyDown(const char* bytes, int32 n);
- |
-
-
- |
-
- |
-
-
- virtual void MouseDown(BPoint);
- |
-
-
- |
-
- |
-
-
- virtual void MouseUp(BPoint pt);
- |
-
-
- |
-
- |
-
-
- virtual void MouseMoved(BPoint pt, uint32 c, const BMessage* m);
- |
-
-
- |
-
- |
-
-
- virtual void Pulse();
- |
-
-
- |
-
- |
-
-
- virtual void SetLabel(const char* label);
- |
-
-
- |
-
- |
-
-
- virtual void SetLimitLabels(const char* minLabel, const char* maxLabel);
- |
-
-
- |
-
- |
-
-
- const char* MinLimitLabel() const;
- |
-
-
- |
-
- |
-
-
- const char* MaxLimitLabel() const;
- |
-
-
- |
-
- |
-
-
- virtual void SetValue(int32);
- |
-
-
- |
-
- |
-
-
- virtual int32 ValueForPoint(BPoint) const;
- |
-
-
- |
-
- |
-
-
- virtual void SetPosition(float);
- |
-
-
- |
-
- |
-
-
- float Position() const;
- |
-
-
- |
-
- |
-
-
- virtual void SetEnabled(bool on);
- |
-
-
- |
-
- |
-
-
- void GetLimits(int32* minimum, int32* maximum);
- |
-
-
- |
-
- |
-
-
- virtual void Draw(BRect);
- |
-
-
- |
-
- |
-
-
- virtual void DrawSlider();
- |
-
-
- |
-
- |
-
-
- virtual void DrawBar();
- |
-
-
- |
-
- |
-
-
- virtual void DrawHashMarks();
- |
-
-
- |
-
- |
-
-
- virtual void DrawThumb();
- |
-
-
- |
-
- |
-
-
- virtual void DrawFocusMark();
- |
-
-
- |
-
- |
-
-
- virtual void DrawText();
- |
-
-
- |
-
- |
-
-
- virtual char* UpdateText() const;
- |
-
-
- |
-
- |
-
-
- virtual BRect BarFrame() const;
- |
-
-
- |
-
- |
-
-
- virtual BRect HashMarksFrame() const;
- |
-
-
- |
-
- |
-
-
- virtual BRect ThumbFrame() const;
- |
-
-
- |
-
- |
-
-
- virtual void SetFlags(uint32 flags);
- |
-
-
- |
-
- |
-
-
- virtual void SetResizingMode(uint32 mode);
- |
-
-
- |
-
- |
-
-
- virtual void GetPreferredSize( float* width, float* height);
- |
-
-
- |
-
- |
-
-
- virtual void ResizeToPreferred();
- |
-
-
- |
-
- |
-
-
- virtual status_t Invoke(BMessage* msg=NULL);
- |
-
-
- |
-
- |
-
-
- virtual BHandler* ResolveSpecifier(BMessage* msg, int32 index, BMessage* specifier, int32 form, const char* property);
- |
-
-
- |
-
- |
-
-
- virtual status_t GetSupportedSuites(BMessage* data);
- |
-
-
- |
-
- |
-
-
- virtual void SetModificationMessage(BMessage* message);
- |
-
-
- |
-
- |
-
-
- BMessage* ModificationMessage() const;
- |
-
-
- |
-
- |
-
-
- virtual void SetSnoozeAmount(int32);
- |
-
-
- |
-
- |
-
-
- int32 SnoozeAmount() const;
- |
-
-
- |
-
- |
-
-
- virtual void SetKeyIncrementValue(int32 value);
- |
-
-
- |
-
- |
-
-
- int32 KeyIncrementValue() const;
- |
-
-
- |
-
- |
-
-
- virtual void SetHashMarkCount(int32 count);
- |
-
-
- |
-
- |
-
-
- int32 HashMarkCount() const;
- |
-
-
- |
-
- |
-
-
- virtual void SetHashMarks(hash_mark_location where);
- |
-
-
- |
-
- |
-
-
- hash_mark_location HashMarks() const;
- |
-
-
- |
-
- |
-
-
- virtual void SetStyle(thumb_style s);
- |
-
-
- |
-
- |
-
-
- thumb_style Style() const;
- |
-
-
- |
-
- |
-
-
- virtual void SetBarColor(rgb_color);
- |
-
-
- |
-
- |
-
-
- rgb_color BarColor() const;
- |
-
-
- |
-
- |
-
-
- virtual void UseFillColor(bool, const rgb_color* c=NULL);
- |
-
-
- |
-
- |
-
-
- bool FillColor(rgb_color*) const;
- |
-
-
- |
-
- |
-
-
- BView* OffscreenView() const;
- |
-
-
- |
-
- |
-
-
- orientation Orientation() const;
- |
-
-
- |
-
- |
-
-
- virtual void SetOrientation(orientation);
- |
-
-
- |
-
- |
-
-
- float BarThickness() const;
- |
-
-
- |
-
- |
-
-
- virtual void SetBarThickness(float thickness);
- |
-
-
- |
-
- |
-
-
- virtual void SetFont(const BFont* font, uint32 properties = B_FONT_ALL);
- |
-
-
-
- | BTab Class |
-
-
- |
-
- |
-
-
- BTab(BView* contents=NULL);
- |
-
-
- |
-
- |
-
-
- BTab(BMessage* data);
- |
-
-
- |
-
- |
-
-
- virtual ~BTab();
- |
-
-
- |
-
- |
-
-
- static BArchivable* Instantiate(BMessage* data);
- |
-
-
- |
-
- |
-
-
- virtual status_t Archive(BMessage* data, bool deep = true) const;
- |
-
-
- |
-
- |
-
-
- virtual status_t Perform(uint32 d, void* arg);
- |
-
-
- |
-
- |
-
-
- const char* Label() const;
- |
-
-
- |
-
- |
-
-
- virtual void SetLabel(const char* label);
- |
-
-
- |
-
- |
-
-
- bool IsSelected() const;
- |
-
-
- |
-
- |
-
-
- virtual void Select(BView* owner);
- |
-
-
- |
-
- |
-
-
- virtual void Deselect();
- |
-
-
- |
-
- |
-
-
- virtual void SetEnabled(bool on);
- |
-
-
- |
-
- |
-
-
- bool IsEnabled() const;
- |
-
-
- |
-
- |
-
-
- void MakeFocus(bool infocus=true);
- |
-
-
- |
-
- |
-
-
- bool IsFocus() const;
- |
-
-
- |
-
- |
-
-
- virtual void SetView(BView* contents);
- |
-
-
- |
-
- |
-
-
- BView* View() const;
- |
-
-
- |
-
- |
-
-
- virtual void DrawFocusMark(BView* owner, BRect tabFrame);
- |
-
-
- |
-
- |
-
-
- virtual void DrawLabel(BView* owner, BRect tabFrame);
- |
-
-
- |
-
- |
-
-
- virtual void DrawTab(BView* owner, BRect tabFrame, tab_position, bool full=true);
- |
-
-
-
- | BTabView Class |
-
-
- |
-
- |
-
-
- BTabView(BRect frame, const char* name, button_width width = B_WIDTH_AS_USUAL, uint32 resizingMode = B_FOLLOW_ALL, uint32 flags = B_FULL_UPDATE_ON_RESIZE | B_WILL_DRAW | B_NAVIGABLE_JUMP | B_FRAME_EVENTS | B_NAVIGABLE);
- |
-
-
- |
-
- |
-
-
- BTabView(BMessage*);
- |
-
-
- |
-
- |
-
-
- virtual ~BTabView();
- |
-
-
- |
-
- |
-
-
- static BArchivable* Instantiate(BMessage*);
- |
-
-
- |
-
- |
-
-
- virtual status_t Archive(BMessage*, bool deep=true) const;
- |
-
-
- |
-
- |
-
-
- virtual status_t Perform(perform_code d, void* arg);
- |
-
-
- |
-
- |
-
-
- virtual void WindowActivated(bool state);
- |
-
-
- |
-
- |
-
-
- virtual void AttachedToWindow();
- |
-
-
- |
-
- |
-
-
- virtual void AllAttached();
- |
-
-
- |
-
- |
-
-
- virtual void AllDetached();
- |
-
-
- |
-
- |
-
-
- virtual void DetachedFromWindow();
- |
-
-
- |
-
- |
-
-
- virtual void MessageReceived(BMessage* msg);
- |
-
-
- |
-
- |
-
-
- virtual void FrameMoved(BPoint new_position);
- |
-
-
- |
-
- |
-
-
- virtual void FrameResized(float w,float h);
- |
-
-
- |
-
- |
-
-
- virtual void KeyDown(const char* bytes, int32 n);
- |
-
-
- |
-
- |
-
-
- virtual void MouseDown(BPoint);
- |
-
-
- |
-
- |
-
-
- virtual void MouseUp(BPoint);
- |
-
-
- |
-
- |
-
-
- virtual void MouseMoved(BPoint pt, uint32 code, const BMessage* msg);
- |
-
-
- |
-
- |
-
-
- virtual void Pulse();
- |
-
-
- |
-
- |
-
-
- virtual void Select(int32 tabIndex);
- |
-
-
- |
-
- |
-
-
- int32 Selection() const;
- |
-
-
- |
-
- |
-
-
- virtual void MakeFocus(bool focusState = true);
- |
-
-
- |
-
- |
-
-
- virtual void SetFocusTab(int32 tabIndex, bool focusState);
- |
-
-
- |
-
- |
-
-
- int32 FocusTab() const;
- |
-
-
- |
-
- |
-
-
- virtual void Draw(BRect);
- |
-
-
- |
-
- |
-
-
- virtual BRect DrawTabs();
- |
-
-
- |
-
- |
-
-
- virtual void DrawBox(BRect selectedTabFrame);
- |
-
-
- |
-
- |
-
-
- virtual BRect TabFrame(int32 tabIndex) const;
- |
-
-
- |
-
- |
-
-
- virtual void SetFlags(uint32 flags);
- |
-
-
- |
-
- |
-
-
- virtual void SetResizingMode(uint32 mode);
- |
-
-
- |
-
- |
-
-
- virtual void GetPreferredSize( float* width, float* height);
- |
-
-
- |
-
- |
-
-
- virtual void ResizeToPreferred();
- |
-
-
- |
-
- |
-
-
- virtual BHandler* ResolveSpecifier(BMessage* msg, int32 index, BMessage* specifier, int32 form, const char* property);
- |
-
-
- |
-
- |
-
-
- virtual status_t GetSupportedSuites(BMessage* data);
- |
-
-
- |
-
- |
-
-
- virtual void AddTab(BView* tabContents, BTab* tab=NULL);
- |
-
-
- |
-
- |
-
-
- virtual BTab* RemoveTab(int32 tabIndex);
- |
-
-
- |
-
- |
-
-
- virtual BTab* TabAt(int32 tabIndex) const;
- |
-
-
- |
-
- |
-
-
- virtual void SetTabWidth(button_width s);
- |
-
-
- |
-
- |
-
-
- button_width TabWidth() const;
- |
-
-
- |
-
- |
-
-
- virtual void SetTabHeight(float height);
- |
-
-
- |
-
- |
-
-
- float TabHeight() const;
- |
-
-
- |
-
- |
-
-
- BView* ContainerView() const;
- |
-
-
- |
-
- |
-
-
- int32 CountTabs() const;
- |
-
-
- |
-
- |
-
-
- BView* ViewForTab(int32 tabIndex) const;
- |
-
-
-
-
-
-
- |
-
- |
- Task Details |
-
-
-
-
- | BPoint Class |
-
-
- |
-
- |
-
-
- BPoint();
- |
-
-
- |
-
- |
-
-
- BPoint(float X, float Y);
- |
-
-
- |
-
- |
-
-
- BPoint(const BPoint& pt);
- |
-
-
- |
-
- |
-
-
- BPoint& operator=(const BPoint& from);
- |
-
-
- |
-
- |
-
-
- void Set(float X, float Y);
- |
-
-
- |
-
- |
-
-
- void ConstrainTo(BRect rect);
- |
-
-
- |
-
- |
-
-
- void PrintToStream() const;
- |
-
-
- |
-
- |
-
-
- BPoint operator+(const BPoint&) const;
- |
-
-
- |
-
- |
-
-
- BPoint operator-(const BPoint&) const;
- |
-
-
- |
-
- |
-
-
- BPoint& operator+=(const BPoint&);
- |
-
-
- |
-
- |
-
-
- BPoint& operator-=(const BPoint&);
- |
-
-
- |
-
- |
-
-
- bool operator!=(const BPoint&) const;
- |
-
-
- |
-
- |
-
-
- bool operator==(const BPoint&) const;
- |
-
-
-
- | BPolygon Class |
-
-
- |
-
- |
-
-
- BPolygon(const BPoint* ptArray, int32 numPoints);
- |
-
-
- |
-
- |
-
-
- BPolygon();
- |
-
-
- |
-
- |
-
-
- BPolygon(const BPolygon* poly);
- |
-
-
- |
-
- |
-
-
- virtual ~BPolygon();
- |
-
-
- |
-
- |
-
-
- BPolygon& operator=(const BPolygon& from);
- |
-
-
- |
-
- |
-
-
- BRect Frame() const;
- |
-
-
- |
-
- |
-
-
- void AddPoints(const BPoint* ptArray, int32 numPoints);
- |
-
-
- |
-
- |
-
-
- int32 CountPoints() const;
- |
-
-
- |
-
- |
-
-
- void MapTo(BRect srcRect, BRect dstRect);
- |
-
-
- |
-
- |
-
-
- void PrintToStream() const;
- |
-
-
-
- | BRect Class |
-
-
- |
-
- |
-
-
- BRect();
- |
-
-
- |
-
- |
-
-
- BRect(const BRect &);
- |
-
-
- |
-
- |
-
-
- BRect(float l, float t, float r, float b);
- |
-
-
- |
-
- |
-
-
- BRect(BPoint leftTop, BPoint rightBottom);
- |
-
-
- |
-
- |
-
-
- BRect& operator=(const BRect &from);
- |
-
-
- |
-
- |
-
-
- void Set(float l, float t, float r, float b);
- |
-
-
- |
-
- |
-
-
- void PrintToStream() const;
- |
-
-
- |
-
- |
-
-
- BPoint LeftTop() const;
- |
-
-
- |
-
- |
-
-
- BPoint RightBottom() const;
- |
-
-
- |
-
- |
-
-
- BPoint LeftBottom() const;
- |
-
-
- |
-
- |
-
-
- BPoint RightTop() const;
- |
-
-
- |
-
- |
-
-
- void SetLeftTop(const BPoint);
- |
-
-
- |
-
- |
-
-
- void SetRightBottom(const BPoint);
- |
-
-
- |
-
- |
-
-
- void SetLeftBottom(const BPoint);
- |
-
-
- |
-
- |
-
-
- void SetRightTop(const BPoint);
- |
-
-
- |
-
- |
-
-
- void InsetBy(BPoint);
- |
-
-
- |
-
- |
-
-
- void InsetBy(float dx, float dy);
- |
-
-
- |
-
- |
-
-
- void OffsetBy(BPoint);
- |
-
-
- |
-
- |
-
-
- void OffsetBy(float dx, float dy);
- |
-
-
- |
-
- |
-
-
- void OffsetTo(BPoint);
- |
-
-
- |
-
- |
-
-
- void OffsetTo(float x, float y);
- |
-
-
- |
-
- |
-
-
- BRect& InsetBySelf(BPoint);
- |
-
-
- |
-
- |
-
-
- BRect& InsetBySelf(float dx, float dy);
- |
-
-
- |
-
- |
-
-
- BRect InsetByCopy(BPoint);
- |
-
-
- |
-
- |
-
-
- BRect InsetByCopy(float dx, float dy);
- |
-
-
- |
-
- |
-
-
- BRect& OffsetBySelf(BPoint);
- |
-
-
- |
-
- |
-
-
- BRect& OffsetBySelf(float dx, float dy);
- |
-
-
- |
-
- |
-
-
- BRect OffsetByCopy(BPoint);
- |
-
-
- |
-
- |
-
-
- BRect OffsetByCopy(float dx, float dy);
- |
-
-
- |
-
- |
-
-
- BRect& OffsetToSelf(BPoint);
- |
-
-
- |
-
- |
-
-
- BRect& OffsetToSelf(float dx, float dy);
- |
-
-
- |
-
- |
-
-
- BRect OffsetToCopy(BPoint);
- |
-
-
- |
-
- |
-
-
- BRect OffsetToCopy(float dx, float dy);
- |
-
-
- |
-
- |
-
-
- bool operator==(BRect) const;
- |
-
-
- |
-
- |
-
-
- bool operator!=(BRect) const;
- |
-
-
- |
-
- |
-
-
- BRect operator&(BRect) const;
- |
-
-
- |
-
- |
-
-
- BRect operator|(BRect) const;
- |
-
-
- |
-
- |
-
-
- bool Intersects(BRect r) const;
- |
-
-
- |
-
- |
-
-
- bool IsValid() const;
- |
-
-
- |
-
- |
-
-
- float Width() const;
- |
-
-
- |
-
- |
-
-
- int32 IntegerWidth() const;
- |
-
-
- |
-
- |
-
-
- float Height() const;
- |
-
-
- |
-
- |
-
-
- int32 IntegerHeight() const;
- |
-
-
- |
-
- |
-
-
- bool Contains(BPoint) const;
- |
-
-
- |
-
- |
-
-
- bool Contains(BRect) const;
- |
-
-
-
- | BRegion Class |
-
-
- |
-
- |
-
-
- BRegion();
- |
-
-
- |
-
- |
-
-
- BRegion(const BRegion ®ion);
- |
-
-
- |
-
- |
-
-
- BRegion(const BRect rect);
- |
-
-
- |
-
- |
-
-
- virtual ~BRegion();
- |
-
-
- |
-
- |
-
-
- BRegion& operator=(const BRegion &from);
- |
-
-
- |
-
- |
-
-
- BRect Frame() const;
- |
-
-
- |
-
- |
-
-
- clipping_rect FrameInt() const;
- |
-
-
- |
-
- |
-
-
- BRect RectAt(int32 index);
- |
-
-
- |
-
- |
-
-
- clipping_rect RectAtInt(int32 index);
- |
-
-
- |
-
- |
-
-
- int32 CountRects();
- |
-
-
- |
-
- |
-
-
- void Set(BRect newBounds);
- |
-
-
- |
-
- |
-
-
- void Set(clipping_rect newBounds);
- |
-
-
- |
-
- |
-
-
- bool Intersects(BRect r) const;
- |
-
-
- |
-
- |
-
-
- bool Intersects(clipping_rect r) const;
- |
-
-
- |
-
- |
-
-
- bool Contains(BPoint pt) const;
- |
-
-
- |
-
- |
-
-
- bool Contains(int32 x, int32 y);
- |
-
-
- |
-
- |
-
-
- void PrintToStream() const;
- |
-
-
- |
-
- |
-
-
- void OffsetBy(int32 dh, int32 dv);
- |
-
-
- |
-
- |
-
-
- void MakeEmpty();
- |
-
-
- |
-
- |
-
-
- void Include(BRect r);
- |
-
-
- |
-
- |
-
-
- void Include(clipping_rect r);
- |
-
-
- |
-
- |
-
-
- void Include(const BRegion*);
- |
-
-
- |
-
- |
-
-
- void Exclude(BRect r);
- |
-
-
- |
-
- |
-
-
- void Exclude(clipping_rect r);
- |
-
-
- |
-
- |
-
-
- void Exclude(const BRegion*);
- |
-
-
- |
-
- |
-
-
- void IntersectWith(const BRegion*);
- |
-
-
-
-
-
-
- |
-
- |
- Task Details |
-
-
-
-
- | BBitmap Class |
-
-
- |
-
- |
-
-
- BBitmap(BRect bounds, uint32 flags, color_space depth, int32 bytesPerRow=B_ANY_BYTES_PER_ROW, screen_id screenID=B_MAIN_SCREEN_ID);
- |
-
-
- |
-
- |
-
-
- BBitmap(BRect bounds, color_space depth, bool accepts_views = false, bool need_contiguous = false);
- |
-
-
- |
-
- |
-
-
- BBitmap(const BBitmap* source, bool accepts_views = false, bool need_contiguous = false);
- |
-
-
- |
-
- |
-
-
- BBitmap(BMessage* data);
- |
-
-
- |
-
- |
-
-
- virtual ~BBitmap();
- |
-
-
- |
-
- |
-
-
- static BArchivable* Instantiate(BMessage* data);
- |
-
-
- |
-
- |
-
-
- virtual status_t Archive(BMessage* data, bool deep = true) const;
- |
-
-
- |
-
- |
-
-
- status_t InitCheck() const;
- |
-
-
- |
-
- |
-
-
- bool IsValid() const;
- |
-
-
- |
-
- |
-
-
- status_t LockBits(uint32* state=NULL);
- |
-
-
- |
-
- |
-
-
- void UnlockBits();
- |
-
-
- |
-
- |
-
-
- area_id Area() const;
- |
-
-
- |
-
- |
-
-
- void* Bits() const;
- |
-
-
- |
-
- |
-
-
- int32 BitsLength() const;
- |
-
-
- |
-
- |
-
-
- int32 BytesPerRow() const;
- |
-
-
- |
-
- |
-
-
- color_space ColorSpace() const;
- |
-
-
- |
-
- |
-
-
- BRect Bounds() const;
- |
-
-
- |
-
- |
-
-
- void SetBits(const void* data, int32 length, int32 offset, color_space cs);
- |
-
-
- |
-
- |
-
-
- status_t GetOverlayRestrictions(overlay_restrictions* restrict) const;
- |
-
-
- |
-
- |
-
-
- virtual void AddChild(BView* view);
- |
-
-
- |
-
- |
-
-
- virtual bool RemoveChild(BView* view);
- |
-
-
- |
-
- |
-
-
- int32 CountChildren() const;
- |
-
-
- |
-
- |
-
-
- BView* ChildAt(int32 index) const;
- |
-
-
- |
-
- |
-
-
- BView* FindView(const char* view_name) const;
- |
-
-
- |
-
- |
-
-
- BView* FindView(BPoint point) const;
- |
-
-
- |
-
- |
-
-
- bool Lock();
- |
-
-
- |
-
- |
-
-
- void Unlock();
- |
-
-
- |
-
- |
-
-
- bool IsLocked() const;
- |
-
-
-
- | BFont Class |
-
-
- |
-
- |
-
-
- BFont();
- |
-
-
- |
-
- |
-
-
- BFont(const BFont &font);
- |
-
-
- |
-
- |
-
-
- BFont(const BFont* font);
- |
-
-
- |
-
- |
-
-
- status_t SetFamilyAndStyle(const font_family family,
- |
-
-
- |
-
- |
-
-
- void SetFamilyAndStyle(uint32 code);
- |
-
-
- |
-
- |
-
-
- status_t SetFamilyAndFace(const font_family family, uint16 face);
- |
-
-
- |
-
- |
-
-
- void SetSize(float size);
- |
-
-
- |
-
- |
-
-
- void SetShear(float shear);
- |
-
-
- |
-
- |
-
-
- void SetRotation(float rotation);
- |
-
-
- |
-
- |
-
-
- void SetSpacing(uint8 spacing);
- |
-
-
- |
-
- |
-
-
- void SetEncoding(uint8 encoding);
- |
-
-
- |
-
- |
-
-
- void SetFace(uint16 face);
- |
-
-
- |
-
- |
-
-
- void SetFlags(uint32 flags);
- |
-
-
- |
-
- |
-
-
- void GetFamilyAndStyle(font_family* family, font_style* style) const;
- |
-
-
- |
-
- |
-
-
- uint32 FamilyAndStyle() const;
- |
-
-
- |
-
- |
-
-
- float Size() const;
- |
-
-
- |
-
- |
-
-
- float Shear() const;
- |
-
-
- |
-
- |
-
-
- float Rotation() const;
- |
-
-
- |
-
- |
-
-
- uint8 Spacing() const;
- |
-
-
- |
-
- |
-
-
- uint8 Encoding() const;
- |
-
-
- |
-
- |
-
-
- uint16 Face() const;
- |
-
-
- |
-
- |
-
-
- uint32 Flags() const;
- |
-
-
- |
-
- |
-
-
- font_direction Direction() const;
- |
-
-
- |
-
- |
-
-
- bool IsFixed() const;
- |
-
-
- |
-
- |
-
-
- bool IsFullAndHalfFixed() const;
- |
-
-
- |
-
- |
-
-
- BRect BoundingBox() const;
- |
-
-
- |
-
- |
-
-
- unicode_block Blocks() const;
- |
-
-
- |
-
- |
-
-
- font_file_format FileFormat() const;
- |
-
-
- |
-
- |
-
-
- int32 CountTuned() const;
- |
-
-
- |
-
- |
-
-
- void GetTunedInfo(int32 index, tuned_font_info* info) const;
- |
-
-
- |
-
- |
-
-
- void TruncateString(BString* in_out, uint32 mode, float width) const;
- |
-
-
- |
-
- |
-
-
- void GetTruncatedStrings(const char* stringArray[], int32 numStrings, uint32 mode, float width, BString resultArray[]) const;
- |
-
-
- |
-
- |
-
-
- void GetTruncatedStrings(const char* stringArray[], int32 numStrings, uint32 mode, float width, char* resultArray[]) const;
- |
-
-
- |
-
- |
-
-
- float StringWidth(const char* string) const;
- |
-
-
- |
-
- |
-
-
- float StringWidth(const char* string, int32 length) const;
- |
-
-
- |
-
- |
-
-
- void GetStringWidths(const char* stringArray[], const int32 lengthArray[], int32 numStrings, float widthArray[]) const;
- |
-
-
- |
-
- |
-
-
- void GetEscapements(const char charArray[], int32 numChars, float escapementArray[]) const;
- |
-
-
- |
-
- |
-
-
- void GetEscapements(const char charArray[], int32 numChars, escapement_delta* delta, float escapementArray[]) const;
- |
-
-
- |
-
- |
-
-
- void GetEscapements(const char charArray[], int32 numChars, escapement_delta* delta, BPoint escapementArray[]) const;
- |
-
-
- |
-
- |
-
-
- void GetEscapements(const char charArray[], int32 numChars, escapement_delta* delta, BPoint escapementArray[], BPoint offsetArray[]) const;
- |
-
-
- |
-
- |
-
-
- void GetEdges(const char charArray[], int32 numBytes, edge_info edgeArray[]) const;
- |
-
-
- |
-
- |
-
-
- void GetHeight(font_height* height) const;
- |
-
-
- |
-
- |
-
-
- void GetBoundingBoxesAsGlyphs(const char charArray[], int32 numChars, font_metric_mode mode, BRect boundingBoxArray[]) const;
- |
-
-
- |
-
- |
-
-
- void GetBoundingBoxesAsString(const char charArray[], int32 numChars, font_metric_mode mode, escapement_delta* delta, BRect boundingBoxArray[]) const;
- |
-
-
- |
-
- |
-
-
- void GetBoundingBoxesForStrings(const char* stringArray[], int32 numStrings, font_metric_mode mode, escapement_delta deltas[], BRect boundingBoxArray[]) const;
- |
-
-
- |
-
- |
-
-
- void GetGlyphShapes(const char charArray[], int32 numChars, BShape* glyphShapeArray[]) const;
- |
-
-
- |
-
- |
-
-
- void GetHasGlyphs(const char charArray[], int32 numChars, bool hasArray[]) const;
- |
-
-
- |
-
- |
-
-
- BFont& operator=(const BFont &font);
- |
-
-
- |
-
- |
-
-
- bool operator==(const BFont &font) const;
- |
-
-
- |
-
- |
-
-
- bool operator!=(const BFont &font) const;
- |
-
-
- |
-
- |
-
-
- void PrintToStream() const;
- |
-
-
-
- | Font Support Functions |
-
-
- |
-
- |
-
-
- int32 count_font_families();
- |
-
-
- |
-
- |
-
-
- status_t get_font_family(int32 index, font_family* name, uint32* flags = NULL);
- |
-
-
- |
-
- |
-
-
- int32 count_font_styles(font_family name);
- |
-
-
- |
-
- |
-
-
- status_t get_font_style(font_family family, int32 index, font_style* name, uint32* flags = NULL);
- |
-
-
- |
-
- |
-
-
- status_t get_font_style(font_family family, int32 index, font_style* name, uint16* face, uint32* flags = NULL);
- |
-
-
- |
-
- |
-
-
- bool update_font_families(bool check_only);
- |
-
-
- |
-
- |
-
-
- status_t get_font_cache_info(uint32 id, void* set);
- |
-
-
- |
-
- |
-
-
- status_t set_font_cache_info(uint32 id, void* set);
- |
-
-
-
-
-
-
- |
-
- |
- Task Details |
-
-
-
-
- | BListItem Class |
-
-
- |
-
- |
-
-
- BListItem(uint32 outlineLevel = 0, bool expanded = true);
- |
-
-
- |
-
- |
-
-
- BListItem(BMessage* data);
- |
-
-
- |
-
- |
-
-
- virtual ~BListItem();
- |
-
-
- |
-
- |
-
-
- virtual status_t Archive(BMessage* data, bool deep = true) const;
- |
-
-
- |
-
- |
-
-
- float Height() const;
- |
-
-
- |
-
- |
-
-
- float Width() const;
- |
-
-
- |
-
- |
-
-
- bool IsSelected() const;
- |
-
-
- |
-
- |
-
-
- void Select();
- |
-
-
- |
-
- |
-
-
- void Deselect();
- |
-
-
- |
-
- |
-
-
- virtual void SetEnabled(bool on);
- |
-
-
- |
-
- |
-
-
- bool IsEnabled() const;
- |
-
-
- |
-
- |
-
-
- void SetHeight(float height);
- |
-
-
- |
-
- |
-
-
- void SetWidth(float width);
- |
-
-
- |
-
- |
-
-
- virtual void DrawItem(BView* owner, BRect bounds, bool complete = false) = 0;
- |
-
-
- |
-
- |
-
-
- virtual void Update(BView* owner, const BFont* font);
- |
-
-
- |
-
- |
-
-
- virtual status_t Perform(perform_code d, void* arg);
- |
-
-
- |
-
- |
-
-
- bool IsExpanded() const;
- |
-
-
- |
-
- |
-
-
- void SetExpanded(bool expanded);
- |
-
-
- |
-
- |
-
-
- uint32 OutlineLevel() const;
- |
-
-
- |
-
- |
-
-
- bool IsItemVisible() const;
- |
-
-
- |
-
- |
-
-
- void SetItemVisible(bool);
- |
-
-
-
- | BStringItem Class |
-
-
- |
-
- |
-
-
- BStringItem(const char* text, uint32 outlineLevel = 0, bool expanded = true);
- |
-
-
- |
-
- |
-
-
- virtual ~BStringItem();
- |
-
-
- |
-
- |
-
-
- BStringItem(BMessage* data);
- |
-
-
- |
-
- |
-
-
- static BArchivable* Instantiate(BMessage* data);
- |
-
-
- |
-
- |
-
-
- virtual status_t Archive(BMessage* data, bool deep = true) const;
- |
-
-
- |
-
- |
-
-
- virtual void DrawItem(BView* owner, BRect frame, bool complete = false);
- |
-
-
- |
-
- |
-
-
- virtual void SetText(const char* text);
- |
-
-
- |
-
- |
-
-
- const char* Text() const;
- |
-
-
- |
-
- |
-
-
- virtual void Update(BView* owner, const BFont* font);
- |
-
-
- |
-
- |
-
-
- virtual status_t Perform(perform_code d, void* arg);
- |
-
-
-
- | BListView Class |
-
-
- |
-
- |
-
-
- BListView(BRect frame, const char *name, list_view_type type = B_SINGLE_SELECTION_LIST, uint32 resizeMask = B_FOLLOW_LEFT | B_FOLLOW_TOP, uint32 flags = B_WILL_DRAW | B_FRAME_EVENTS | B_NAVIGABLE);
- |
-
-
- |
-
- |
-
-
- BListView(BMessage *data);
- |
-
-
- |
-
- |
-
-
- virtual ~BListView();
- |
-
-
- |
-
- |
-
-
- static BArchivable *Instantiate(BMessage *data);
- |
-
-
- |
-
- |
-
-
- virtual status_t Archive(BMessage *data, bool deep = true) const;
- |
-
-
- |
-
- |
-
-
- virtual void Draw(BRect updateRect);
- |
-
-
- |
-
- |
-
-
- virtual void MessageReceived(BMessage *msg);
- |
-
-
- |
-
- |
-
-
- virtual void MouseDown(BPoint where);
- |
-
-
- |
-
- |
-
-
- virtual void KeyDown(const char *bytes, int32 numBytes);
- |
-
-
- |
-
- |
-
-
- virtual void MakeFocus(bool state = true);
- |
-
-
- |
-
- |
-
-
- virtual void FrameResized(float newWidth, float newHeight);
- |
-
-
- |
-
- |
-
-
- virtual void TargetedByScrollView(BScrollView *scroller);
- |
-
-
- |
-
- |
-
-
- void ScrollTo(float x, float y);
- |
-
-
- |
-
- |
-
-
- virtual void ScrollTo(BPoint where);
- |
-
-
- |
-
- |
-
-
- virtual bool AddItem(BListItem *item);
- |
-
-
- |
-
- |
-
-
- virtual bool AddItem(BListItem *item, int32 atIndex);
- |
-
-
- |
-
- |
-
-
- virtual bool AddList(BList *newItems);
- |
-
-
- |
-
- |
-
-
- virtual bool AddList(BList *newItems, int32 atIndex);
- |
-
-
- |
-
- |
-
-
- virtual bool RemoveItem(BListItem *item);
- |
-
-
- |
-
- |
-
-
- virtual BListItem *RemoveItem(int32 index);
- |
-
-
- |
-
- |
-
-
- virtual bool RemoveItems(int32 index, int32 count);
- |
-
-
- |
-
- |
-
-
- virtual void SetSelectionMessage(BMessage *message);
- |
-
-
- |
-
- |
-
-
- virtual void SetInvocationMessage(BMessage *message);
- |
-
-
- |
-
- |
-
-
- BMessage *SelectionMessage() const;
- |
-
-
- |
-
- |
-
-
- uint32 SelectionCommand() const;
- |
-
-
- |
-
- |
-
-
- BMessage *InvocationMessage() const;
- |
-
-
- |
-
- |
-
-
- uint32 InvocationCommand() const;
- |
-
-
- |
-
- |
-
-
- virtual void SetListType(list_view_type type);
- |
-
-
- |
-
- |
-
-
- list_view_type ListType() const;
- |
-
-
- |
-
- |
-
-
- BListItem *ItemAt(int32 index) const;
- |
-
-
- |
-
- |
-
-
- int32 IndexOf(BPoint point) const;
- |
-
-
- |
-
- |
-
-
- int32 IndexOf(BListItem *item) const;
- |
-
-
- |
-
- |
-
-
- BListItem *FirstItem() const;
- |
-
-
- |
-
- |
-
-
- BListItem *LastItem() const;
- |
-
-
- |
-
- |
-
-
- bool HasItem(BListItem *item) const;
- |
-
-
- |
-
- |
-
-
- int32 CountItems() const;
- |
-
-
- |
-
- |
-
-
- virtual void MakeEmpty();
- |
-
-
- |
-
- |
-
-
- bool IsEmpty() const;
- |
-
-
- |
-
- |
-
-
- void DoForEach(bool (*func)(BListItem *));
- |
-
-
- |
-
- |
-
-
- void DoForEach(bool (*func)(BListItem *, void *), void *);
- |
-
-
- |
-
- |
-
-
- const BListItem **Items() const;
- |
-
-
- |
-
- |
-
-
- void InvalidateItem(int32 index);
- |
-
-
- |
-
- |
-
-
- void ScrollToSelection();
- |
-
-
- |
-
- |
-
-
- void Select(int32 index, bool extend = false);
- |
-
-
- |
-
- |
-
-
- void Select(int32 from, int32 to, bool extend = false);
- |
-
-
- |
-
- |
-
-
- bool IsItemSelected(int32 index) const;
- |
-
-
- |
-
- |
-
-
- int32 CurrentSelection(int32 index = 0) const;
- |
-
-
- |
-
- |
-
-
- virtual status_t Invoke(BMessage *msg = NULL);
- |
-
-
- |
-
- |
-
-
- void DeselectAll();
- |
-
-
- |
-
- |
-
-
- void DeselectExcept(int32 except_from, int32 except_to);
- |
-
-
- |
-
- |
-
-
- void Deselect(int32 index);
- |
-
-
- |
-
- |
-
-
- virtual void SelectionChanged();
- |
-
-
- |
-
- |
-
-
- void SortItems(int (*cmp)(const void *, const void *));
- |
-
-
- |
-
- |
-
-
- bool SwapItems(int32 a, int32 b);
- |
-
-
- |
-
- |
-
-
- bool MoveItem(int32 from, int32 to);
- |
-
-
- |
-
- |
-
-
- bool ReplaceItem(int32 index, BListItem * item);
- |
-
-
- |
-
- |
-
-
- virtual void AttachedToWindow();
- |
-
-
- |
-
- |
-
-
- virtual void FrameMoved(BPoint new_position);
- |
-
-
- |
-
- |
-
-
- BRect ItemFrame(int32 index);
- |
-
-
- |
-
- |
-
-
- virtual BHandler *ResolveSpecifier(BMessage *msg, int32 index, BMessage *specifier, int32 form, const char *property);
- |
-
-
- |
-
- |
-
-
- virtual status_t GetSupportedSuites(BMessage *data);
- |
-
-
- |
-
- |
-
-
- virtual status_t Perform(perform_code d, void *arg);
- |
-
-
- |
-
- |
-
-
- virtual void WindowActivated(bool state);
- |
-
-
- |
-
- |
-
-
- virtual void MouseUp(BPoint pt);
- |
-
-
- |
-
- |
-
-
- virtual void MouseMoved(BPoint pt, uint32 code, const BMessage *msg);
- |
-
-
- |
-
- |
-
-
- virtual void DetachedFromWindow();
- |
-
-
- |
-
- |
-
-
- virtual bool InitiateDrag(BPoint pt, int32 itemIndex, bool initialySelected);
- |
-
-
- |
-
- |
-
-
- virtual void ResizeToPreferred();
- |
-
-
- |
-
- |
-
-
- virtual void GetPreferredSize(float *width, float *height);
- |
-
-
- |
-
- |
-
-
- virtual void AllAttached();
- |
-
-
- |
-
- |
-
-
- virtual void AllDetached();
- |
-
-
- |
-
- |
-
-
- virtual bool DoMiscellaneous(MiscCode code, MiscData * data);
- |
-
-
- |
-
- |
-
-
- virtual void DrawItem(BListItem *item, BRect itemRect, bool complete = false);
- |
-
-
-
- | BOutlineListView Class |
-
-
- |
-
- |
-
-
- BOutlineListView(BRect frame, const char* name, list_view_type type = B_SINGLE_SELECTION_LIST, uint32 resizeMask = B_FOLLOW_LEFT | B_FOLLOW_TOP, uint32 flags = B_WILL_DRAW | B_FRAME_EVENTS | B_NAVIGABLE);
- |
-
-
- |
-
- |
-
-
- BOutlineListView(BMessage* data);
- |
-
-
- |
-
- |
-
-
- virtual ~BOutlineListView();
- |
-
-
- |
-
- |
-
-
- static BArchivable* Instantiate(BMessage* data);
- |
-
-
- |
-
- |
-
-
- virtual status_t Archive(BMessage* data, bool deep = true) const;
- |
-
-
- |
-
- |
-
-
- virtual void MouseDown(BPoint where);
- |
-
-
- |
-
- |
-
-
- virtual void KeyDown(const char* bytes, int32 numBytes);
- |
-
-
- |
-
- |
-
-
- virtual void FrameMoved(BPoint new_position);
- |
-
-
- |
-
- |
-
-
- virtual void FrameResized(float new_width, float new_height);
- |
-
-
- |
-
- |
-
-
- virtual void MouseUp(BPoint where);
- |
-
-
- |
-
- |
-
-
- virtual bool AddUnder(BListItem* item, BListItem* underItem);
- |
-
-
- |
-
- |
-
-
- virtual bool AddItem(BListItem* item);
- |
-
-
- |
-
- |
-
-
- virtual bool AddItem(BListItem* item, int32 fullListIndex);
- |
-
-
- |
-
- |
-
-
- virtual bool AddList(BList* newItems);
- |
-
-
- |
-
- |
-
-
- virtual bool AddList(BList* newItems, int32 fullListIndex);
- |
-
-
- |
-
- |
-
-
- virtual bool RemoveItem(BListItem* item);
- |
-
-
- |
-
- |
-
-
- virtual BListItem* RemoveItem(int32 fullListIndex);
- |
-
-
- |
-
- |
-
-
- virtual bool RemoveItems(int32 fullListIndex, int32 count);
- |
-
-
- |
-
- |
-
-
- BListItem* FullListItemAt(int32 fullListIndex) const;
- |
-
-
- |
-
- |
-
-
- int32 FullListIndexOf(BPoint point) const;
- |
-
-
- |
-
- |
-
-
- int32 FullListIndexOf(BListItem* item) const;
- |
-
-
- |
-
- |
-
-
- BListItem* FullListFirstItem() const;
- |
-
-
- |
-
- |
-
-
- BListItem* FullListLastItem() const;
- |
-
-
- |
-
- |
-
-
- bool FullListHasItem(BListItem* item) const;
- |
-
-
- |
-
- |
-
-
- int32 FullListCountItems() const;
- |
-
-
- |
-
- |
-
-
- int32 FullListCurrentSelection(int32 index = 0) const;
- |
-
-
- |
-
- |
-
-
- virtual void MakeEmpty();
- |
-
-
- |
-
- |
-
-
- bool FullListIsEmpty() const;
- |
-
-
- |
-
- |
-
-
- void FullListDoForEach(bool (*func)(BListItem* ));
- |
-
-
- |
-
- |
-
-
- void FullListDoForEach(bool (*func)(BListItem* , void* ), void*);
- |
-
-
- |
-
- |
-
-
- BListItem* Superitem(const BListItem* item);
- |
-
-
- |
-
- |
-
-
- void Expand(BListItem* item);
- |
-
-
- |
-
- |
-
-
- void Collapse(BListItem* item);
- |
-
-
- |
-
- |
-
-
- bool IsExpanded(int32 fullListIndex);
- |
-
-
- |
-
- |
-
-
- virtual BHandler* ResolveSpecifier(BMessage* msg, int32 index, BMessage* specifier, int32 form, const char* property);
- |
-
-
- |
-
- |
-
-
- virtual status_t GetSupportedSuites(BMessage* data);
- |
-
-
- |
-
- |
-
-
- virtual status_t Perform(perform_code d, void* arg);
- |
-
-
- |
-
- |
-
-
- virtual void ResizeToPreferred();
- |
-
-
- |
-
- |
-
-
- virtual void GetPreferredSize(float* width, float* height);
- |
-
-
- |
-
- |
-
-
- virtual void MakeFocus(bool state = true);
- |
-
-
- |
-
- |
-
-
- virtual void AllAttached();
- |
-
-
- |
-
- |
-
-
- virtual void AllDetached();
- |
-
-
- |
-
- |
-
-
- virtual void DetachedFromWindow();
- |
-
-
- |
-
- |
-
-
- void FullListSortItems(int (*compareFunc)(const BListItem* , const BListItem* ));
- |
-
-
- |
-
- |
-
-
- void SortItemsUnder(BListItem* underItem, bool oneLevelOnly, int (*compareFunc)(const BListItem* , const BListItem*));
- |
-
-
- |
-
- |
-
-
- int32 CountItemsUnder(BListItem* under, bool oneLevelOnly) const;
- |
-
-
- |
-
- |
-
-
- BListItem* EachItemUnder(BListItem* underItem, bool oneLevelOnly, BListItem* (*eachFunc)(BListItem* , void* ), void* );
- |
-
-
- |
-
- |
-
-
- BListItem* ItemUnderAt(BListItem* underItem, bool oneLevelOnly, int32 index) const;
- |
-
-
- |
-
- |
-
-
- virtual bool DoMiscellaneous(MiscCode code, MiscData* data);
- |
-
-
- |
-
- |
-
-
- virtual void MessageReceived(BMessage* );
- |
-
-
- |
-
- |
-
-
- virtual void ExpandOrCollapse(BListItem* underItem, bool expand);
- |
-
-
-
-
-
-
- |
-
- |
- Task Details |
-
-
-
-
- | BMenu Class |
-
-
- |
-
- |
-
-
- BMenu(const char* title, menu_layout layout = B_ITEMS_IN_COLUMN);
- |
-
-
- |
-
- |
-
-
- BMenu(const char* title, float width, float height);
- |
-
-
- |
-
- |
-
-
- BMenu(BMessage* data);
- |
-
-
- |
-
- |
-
-
- virtual ~BMenu();
- |
-
-
- |
-
- |
-
-
- static BArchivable* Instantiate(BMessage* data);
- |
-
-
- |
-
- |
-
-
- virtual status_t Archive(BMessage* data, bool deep = true) const;
- |
-
-
- |
-
- |
-
-
- virtual void AttachedToWindow();
- |
-
-
- |
-
- |
-
-
- virtual void DetachedFromWindow();
- |
-
-
- |
-
- |
-
-
- bool AddItem(BMenuItem* item);
- |
-
-
- |
-
- |
-
-
- bool AddItem(BMenuItem* item, int32 index);
- |
-
-
- |
-
- |
-
-
- bool AddItem(BMenuItem* item, BRect frame);
- |
-
-
- |
-
- |
-
-
- bool AddItem(BMenu* menu);
- |
-
-
- |
-
- |
-
-
- bool AddItem(BMenu* menu, int32 index);
- |
-
-
- |
-
- |
-
-
- bool AddItem(BMenu* menu, BRect frame);
- |
-
-
- |
-
- |
-
-
- bool AddList(BList* list, int32 index);
- |
-
-
- |
-
- |
-
-
- bool AddSeparatorItem();
- |
-
-
- |
-
- |
-
-
- bool RemoveItem(BMenuItem* item);
- |
-
-
- |
-
- |
-
-
- BMenuItem* RemoveItem(int32 index);
- |
-
-
- |
-
- |
-
-
- bool RemoveItems(int32 index, int32 count, bool del = false);
- |
-
-
- |
-
- |
-
-
- bool RemoveItem(BMenu* menu);
- |
-
-
- |
-
- |
-
-
- BMenuItem* ItemAt(int32 index) const;
- |
-
-
- |
-
- |
-
-
- BMenu* SubmenuAt(int32 index) const;
- |
-
-
- |
-
- |
-
-
- int32 CountItems() const;
- |
-
-
- |
-
- |
-
-
- int32 IndexOf(BMenuItem* item) const;
- |
-
-
- |
-
- |
-
-
- int32 IndexOf(BMenu* menu) const;
- |
-
-
- |
-
- |
-
-
- BMenuItem* FindItem(uint32 command) const;
- |
-
-
- |
-
- |
-
-
- BMenuItem* FindItem(const char* name) const;
- |
-
-
- |
-
- |
-
-
- virtual status_t SetTargetForItems(BHandler* target);
- |
-
-
- |
-
- |
-
-
- virtual status_t SetTargetForItems(BMessenger messenger);
- |
-
-
- |
-
- |
-
-
- virtual void SetEnabled(bool state);
- |
-
-
- |
-
- |
-
-
- virtual void SetRadioMode(bool state);
- |
-
-
- |
-
- |
-
-
- virtual void SetTriggersEnabled(bool state);
- |
-
-
- |
-
- |
-
-
- virtual void SetMaxContentWidth(float max);
- |
-
-
- |
-
- |
-
-
- void SetLabelFromMarked(bool on);
- |
-
-
- |
-
- |
-
-
- bool IsLabelFromMarked();
- |
-
-
- |
-
- |
-
-
- bool IsEnabled() const;
- |
-
-
- |
-
- |
-
-
- bool IsRadioMode() const;
- |
-
-
- |
-
- |
-
-
- bool AreTriggersEnabled() const;
- |
-
-
- |
-
- |
-
-
- bool IsRedrawAfterSticky() const;
- |
-
-
- |
-
- |
-
-
- float MaxContentWidth() const;
- |
-
-
- |
-
- |
-
-
- BMenuItem* FindMarked();
- |
-
-
- |
-
- |
-
-
- BMenu* Supermenu() const;
- |
-
-
- |
-
- |
-
-
- BMenuItem* Superitem() const;
- |
-
-
- |
-
- |
-
-
- virtual void MessageReceived(BMessage* msg);
- |
-
-
- |
-
- |
-
-
- virtual void KeyDown(const char* bytes, int32 numBytes);
- |
-
-
- |
-
- |
-
-
- virtual void Draw(BRect updateRect);
- |
-
-
- |
-
- |
-
-
- virtual void GetPreferredSize(float* width, float* height);
- |
-
-
- |
-
- |
-
-
- virtual void ResizeToPreferred();
- |
-
-
- |
-
- |
-
-
- virtual void FrameMoved(BPoint new_position);
- |
-
-
- |
-
- |
-
-
- virtual void FrameResized(float new_width, float new_height);
- |
-
-
- |
-
- |
-
-
- void InvalidateLayout();
- |
-
-
- |
-
- |
-
-
- virtual BHandler* ResolveSpecifier(BMessage* msg, int32 index, BMessage* specifier, int32 form, const char* property);
- |
-
-
- |
-
- |
-
-
- virtual status_t GetSupportedSuites(BMessage* data);
- |
-
-
- |
-
- |
-
-
- virtual status_t Perform(perform_code d, void* arg);
- |
-
-
- |
-
- |
-
-
- virtual void MakeFocus(bool state = true);
- |
-
-
- |
-
- |
-
-
- virtual void AllAttached();
- |
-
-
- |
-
- |
-
-
- virtual void AllDetached();
- |
-
-
- |
-
- |
-
-
- BMenu(BRect frame, const char* viewName, uint32 resizeMask, uint32 flags, menu_layout layout, bool resizeToFit);
- |
-
-
- |
-
- |
-
-
- virtual BPoint ScreenLocation();
- |
-
-
- |
-
- |
-
-
- void SetItemMargins(float left, float top, float right, float bottom);
- |
-
-
- |
-
- |
-
-
- void GetItemMargins(float* left, float* top, float* right,float* bottom) const;
- |
-
-
- |
-
- |
-
-
- menu_layout Layout() const;
- |
-
-
- |
-
- |
-
-
- virtual void Show();
- |
-
-
- |
-
- |
-
-
- void Show(bool selectFirstItem);
- |
-
-
- |
-
- |
-
-
- void Hide();
- |
-
-
- |
-
- |
-
-
- BMenuItem* Track(bool start_opened = false, BRect* special_rect = NULL);
- |
-
-
- |
-
- |
-
-
- virtual bool AddDynamicItem(add_state s);
- |
-
-
- |
-
- |
-
-
- virtual void DrawBackground(BRect update);
- |
-
-
- |
-
- |
-
-
- void SetTrackingHook(menu_tracking_hook func, void* state);
- |
-
-
-
- | BMenuBar Class |
-
-
- |
-
- |
-
-
- BMenuBar(BRect frame, const char* title, uint32 resizeMask = B_FOLLOW_LEFT_RIGHT | B_FOLLOW_TOP, menu_layout layout = B_ITEMS_IN_ROW, bool resizeToFit = true);
- |
-
-
- |
-
- |
-
-
- BMenuBar(BMessage* data);
- |
-
-
- |
-
- |
-
-
- virtual ~BMenuBar();
- |
-
-
- |
-
- |
-
-
- static BArchivable* Instantiate(BMessage* data);
- |
-
-
- |
-
- |
-
-
- virtual status_t Archive(BMessage* data, bool deep = true) const;
- |
-
-
- |
-
- |
-
-
- virtual void SetBorder(menu_bar_border border);
- |
-
-
- |
-
- |
-
-
- menu_bar_border Border() const;
- |
-
-
- |
-
- |
-
-
- virtual void Draw(BRect updateRect);
- |
-
-
- |
-
- |
-
-
- virtual void AttachedToWindow();
- |
-
-
- |
-
- |
-
-
- virtual void DetachedFromWindow();
- |
-
-
- |
-
- |
-
-
- virtual void MessageReceived(BMessage* msg);
- |
-
-
- |
-
- |
-
-
- virtual void MouseDown(BPoint where);
- |
-
-
- |
-
- |
-
-
- virtual void WindowActivated(bool state);
- |
-
-
- |
-
- |
-
-
- virtual void MouseUp(BPoint where);
- |
-
-
- |
-
- |
-
-
- virtual void FrameMoved(BPoint new_position);
- |
-
-
- |
-
- |
-
-
- virtual void FrameResized(float new_width, float new_height);
- |
-
-
- |
-
- |
-
-
- virtual void Show();
- |
-
-
- |
-
- |
-
-
- virtual void Hide();
- |
-
-
- |
-
- |
-
-
- virtual BHandler* ResolveSpecifier(BMessage* msg, int32 index, BMessage* specifier, int32 form, const char* property);
- |
-
-
- |
-
- |
-
-
- virtual status_t GetSupportedSuites(BMessage* data);
- |
-
-
- |
-
- |
-
-
- virtual void ResizeToPreferred();
- |
-
-
- |
-
- |
-
-
- virtual void GetPreferredSize(float* width, float* height);
- |
-
-
- |
-
- |
-
-
- virtual void MakeFocus(bool state = true);
- |
-
-
- |
-
- |
-
-
- virtual void AllAttached();
- |
-
-
- |
-
- |
-
-
- virtual void AllDetached();
- |
-
-
- |
-
- |
-
-
- virtual status_t Perform(perform_code d, void* arg);
- |
-
-
-
- | BMenuItem Class |
-
-
- |
-
- |
-
-
- BMenuItem(const char* label, BMessage* message, char shortcut = 0, uint32 modifiers = 0);
- |
-
-
- |
-
- |
-
-
- BMenuItem(BMenu* menu, BMessage* message = NULL);
- |
-
-
- |
-
- |
-
-
- BMenuItem(BMessage* data);
- |
-
-
- |
-
- |
-
-
- virtual ~BMenuItem();
- |
-
-
- |
-
- |
-
-
- static BArchivable* Instantiate(BMessage* data);
- |
-
-
- |
-
- |
-
-
- virtual status_t Archive(BMessage* data, bool deep = true) const;
- |
-
-
- |
-
- |
-
-
- virtual void SetLabel(const char* name);
- |
-
-
- |
-
- |
-
-
- virtual void SetEnabled(bool state);
- |
-
-
- |
-
- |
-
-
- virtual void SetMarked(bool state);
- |
-
-
- |
-
- |
-
-
- virtual void SetTrigger(char ch);
- |
-
-
- |
-
- |
-
-
- virtual void SetShortcut(char ch, uint32 modifiers);
- |
-
-
- |
-
- |
-
-
- const char* Label() const;
- |
-
-
- |
-
- |
-
-
- bool IsEnabled() const;
- |
-
-
- |
-
- |
-
-
- bool IsMarked() const;
- |
-
-
- |
-
- |
-
-
- char Trigger() const;
- |
-
-
- |
-
- |
-
-
- char Shortcut(uint32* modifiers = NULL) const;
- |
-
-
- |
-
- |
-
-
- BMenu* Submenu() const;
- |
-
-
- |
-
- |
-
-
- BMenu* Menu() const;
- |
-
-
- |
-
- |
-
-
- BRect Frame() const;
- |
-
-
- |
-
- |
-
-
- virtual void GetContentSize(float* width, float* height);
- |
-
-
- |
-
- |
-
-
- virtual void TruncateLabel(float max, char* new_label);
- |
-
-
- |
-
- |
-
-
- virtual void DrawContent();
- |
-
-
- |
-
- |
-
-
- virtual void Draw();
- |
-
-
- |
-
- |
-
-
- virtual void Highlight(bool on);
- |
-
-
- |
-
- |
-
-
- bool IsSelected() const;
- |
-
-
- |
-
- |
-
-
- BPoint ContentLocation() const;
- |
-
-
- |
-
- |
-
-
- virtual status_t Invoke(BMessage* msg = NULL);
- |
-
-
-
- | BSeparatorItem Class |
-
-
- |
-
- |
-
-
- BSeparatorItem();
- |
-
-
- |
-
- |
-
-
- BSeparatorItem(BMessage* data);
- |
-
-
- |
-
- |
-
-
- virtual ~BSeparatorItem();
- |
-
-
- |
-
- |
-
-
- virtual status_t Archive(BMessage* data, bool deep = true) const;
- |
-
-
- |
-
- |
-
-
- static BArchivable* Instantiate(BMessage* data);
- |
-
-
- |
-
- |
-
-
- virtual void SetEnabled(bool state);
- |
-
-
- |
-
- |
-
-
- virtual void GetContentSize(float* width, float* height);
- |
-
-
- |
-
- |
-
-
- virtual void Draw();
- |
-
-
-
- | BMenuField Class |
-
-
- |
-
- |
-
-
- BMenuField(BRect frame, const char* name, const char* label, BMenu* menu, uint32 resize = B_FOLLOW_LEFT|B_FOLLOW_TOP, uint32 flags = B_WILL_DRAW | B_NAVIGABLE);
- |
-
-
- |
-
- |
-
-
- BMenuField(BRect frame, const char* name, const char* label, BMenu* menu, bool fixed_size, uint32 resize = B_FOLLOW_LEFT|B_FOLLOW_TOP, uint32 flags = B_WILL_DRAW | B_NAVIGABLE);
- |
-
-
- |
-
- |
-
-
- BMenuField(BMessage* data);
- |
-
-
- |
-
- |
-
-
- virtual ~BMenuField();
- |
-
-
- |
-
- |
-
-
- static BArchivable* Instantiate(BMessage* data);
- |
-
-
- |
-
- |
-
-
- virtual status_t Archive(BMessage* data, bool deep = true) const;
- |
-
-
- |
-
- |
-
-
- virtual void Draw(BRect update);
- |
-
-
- |
-
- |
-
-
- virtual void AttachedToWindow();
- |
-
-
- |
-
- |
-
-
- virtual void AllAttached();
- |
-
-
- |
-
- |
-
-
- virtual void MouseDown(BPoint where);
- |
-
-
- |
-
- |
-
-
- virtual void KeyDown(const char* bytes, int32 numBytes);
- |
-
-
- |
-
- |
-
-
- virtual void MakeFocus(bool state);
- |
-
-
- |
-
- |
-
-
- virtual void MessageReceived(BMessage* msg);
- |
-
-
- |
-
- |
-
-
- virtual void WindowActivated(bool state);
- |
-
-
- |
-
- |
-
-
- virtual void MouseUp(BPoint pt);
- |
-
-
- |
-
- |
-
-
- virtual void MouseMoved(BPoint pt, uint32 code, const BMessage* msg);
- |
-
-
- |
-
- |
-
-
- virtual void DetachedFromWindow();
- |
-
-
- |
-
- |
-
-
- virtual void AllDetached();
- |
-
-
- |
-
- |
-
-
- virtual void FrameMoved(BPoint new_position);
- |
-
-
- |
-
- |
-
-
- virtual void FrameResized(float new_width, float new_height);
- |
-
-
- |
-
- |
-
-
- BMenu* Menu() const;
- |
-
-
- |
-
- |
-
-
- BMenuBar* MenuBar() const;
- |
-
-
- |
-
- |
-
-
- BMenuItem* MenuItem() const;
- |
-
-
- |
-
- |
-
-
- virtual void SetLabel(const char* label);
- |
-
-
- |
-
- |
-
-
- const char* Label() const;
- |
-
-
- |
-
- |
-
-
- virtual void SetEnabled(bool on);
- |
-
-
- |
-
- |
-
-
- bool IsEnabled() const;
- |
-
-
- |
-
- |
-
-
- virtual void SetAlignment(alignment label);
- |
-
-
- |
-
- |
-
-
- alignment Alignment() const;
- |
-
-
- |
-
- |
-
-
- virtual void SetDivider(float dividing_line);
- |
-
-
- |
-
- |
-
-
- float Divider() const;
- |
-
-
- |
-
- |
-
-
- void ShowPopUpMarker();
- |
-
-
- |
-
- |
-
-
- void HidePopUpMarker();
- |
-
-
- |
-
- |
-
-
- virtual BHandler* ResolveSpecifier(BMessage* msg, int32 index, BMessage* specifier, int32 form, const char* property);
- |
-
-
- |
-
- |
-
-
- virtual status_t GetSupportedSuites(BMessage* data);
- |
-
-
- |
-
- |
-
-
- virtual void ResizeToPreferred();
- |
-
-
- |
-
- |
-
-
- virtual void GetPreferredSize(float* width, float* height);
- |
-
-
- |
-
- |
-
-
- virtual status_t Perform(perform_code d, void* arg);
- |
-
-
-
- | BPopUpMenu Class |
-
-
- |
-
- |
-
-
- BPopUpMenu(const char* title, bool radioMode = true, bool autoRename = true, menu_layout layout = B_ITEMS_IN_COLUMN);
- |
-
-
- |
-
- |
-
-
- BPopUpMenu(BMessage* data);
- |
-
-
- |
-
- |
-
-
- virtual ~BPopUpMenu();
- |
-
-
- |
-
- |
-
-
- virtual status_t Archive(BMessage* data, bool deep = true) const;
- |
-
-
- |
-
- |
-
-
- static BArchivable* Instantiate(BMessage* data);
- |
-
-
- |
-
- |
-
-
- BMenuItem* Go(BPoint where, bool delivers_message = false, bool open_anyway = false, bool async = false);
- |
-
-
- |
-
- |
-
-
- BMenuItem* Go(BPoint where, bool delivers_message, bool open_anyway, BRect click_to_open, bool async = false);
- |
-
-
- |
-
- |
-
-
- virtual void MessageReceived(BMessage* msg);
- |
-
-
- |
-
- |
-
-
- virtual void MouseDown(BPoint pt);
- |
-
-
- |
-
- |
-
-
- virtual void MouseUp(BPoint pt);
- |
-
-
- |
-
- |
-
-
- virtual void MouseMoved(BPoint pt, uint32 code, const BMessage* msg);
- |
-
-
- |
-
- |
-
-
- virtual void AttachedToWindow();
- |
-
-
- |
-
- |
-
-
- virtual void DetachedFromWindow();
- |
-
-
- |
-
- |
-
-
- virtual void FrameMoved(BPoint new_position);
- |
-
-
- |
-
- |
-
-
- virtual void FrameResized(float new_width, float new_height);
- |
-
-
- |
-
- |
-
-
- virtual BHandler* ResolveSpecifier(BMessage* msg, int32 index, BMessage* specifier, int32 form, const char* property);
- |
-
-
- |
-
- |
-
-
- virtual status_t GetSupportedSuites(BMessage* data);
- |
-
-
- |
-
- |
-
-
- virtual status_t Perform(perform_code d, void* arg);
- |
-
-
- |
-
- |
-
-
- virtual void ResizeToPreferred();
- |
-
-
- |
-
- |
-
-
- virtual void GetPreferredSize(float* width, float* height);
- |
-
-
- |
-
- |
-
-
- virtual void MakeFocus(bool state = true);
- |
-
-
- |
-
- |
-
-
- virtual void AllAttached();
- |
-
-
- |
-
- |
-
-
- virtual void AllDetached();
- |
-
-
- |
-
- |
-
-
- void SetAsyncAutoDestruct(bool state);
- |
-
-
- |
-
- |
-
-
- bool AsyncAutoDestruct() const;
- |
-
-
- |
-
- |
-
-
- virtual BPoint ScreenLocation();
- |
-
-
-
- | Menu Config Functions |
-
-
- |
-
- |
-
-
- status_t set_menu_info(menu_info* info);
- |
-
-
- |
-
- |
-
-
- status_t get_menu_info(menu_info* info);
- |
-
-
-
-
-
-
- |
-
- |
- Task Details |
-
-
-
-
- | BAlert Class |
-
-
- |
-
- |
-
-
- BAlert(const char *title, const char *text, const char *button1, const char *button2 = NULL, const char *button3 = NULL, button_width width = B_WIDTH_AS_USUAL, alert_type type = B_INFO_ALERT);
- |
-
-
- |
-
- |
-
-
- BAlert(const char *title, const char *text, const char *button1, const char *button2, const char *button3, button_width width, button_spacing spacing, alert_type type = B_INFO_ALERT);
- |
-
-
- |
-
- |
-
-
- BAlert(BMessage *data);
- |
-
-
- |
-
- |
-
-
- ~BAlert();
- |
-
-
- |
-
- |
-
-
- static BArchivable *Instantiate(BMessage *data);
- |
-
-
- |
-
- |
-
-
- virtual status_t Archive(BMessage *data, bool deep = true) const;
- |
-
-
- |
-
- |
-
-
- void SetShortcut(int32 button_index, char key);
- |
-
-
- |
-
- |
-
-
- char Shortcut(int32 button_index) const;
- |
-
-
- |
-
- |
-
-
- int32 Go();
- |
-
-
- |
-
- |
-
-
- status_t Go(BInvoker *invoker);
- |
-
-
- |
-
- |
-
-
- virtual void MessageReceived(BMessage *an_event);
- |
-
-
- |
-
- |
-
-
- virtual void FrameResized(float new_width, float new_height);
- |
-
-
- |
-
- |
-
-
- BButton* ButtonAt(int32 index) const;
- |
-
-
- |
-
- |
-
-
- BTextView* TextView() const;
- |
-
-
- |
-
- |
-
-
- virtual BHandler* ResolveSpecifier(BMessage *msg, int32 index, BMessage* specifier, int32 form, const char* property);
- |
-
-
- |
-
- |
-
-
- virtual status_t GetSupportedSuites(BMessage* data);
- |
-
-
- |
-
- |
-
-
- virtual void DispatchMessage(BMessage* msg, BHandler* handler);
- |
-
-
- |
-
- |
-
-
- virtual void Quit();
- |
-
-
- |
-
- |
-
-
- virtual bool QuitRequested();
- |
-
-
- |
-
- |
-
-
- static BPoint AlertPosition(float width, float height);
- |
-
-
-
- | BDeskbar Class |
-
-
- |
-
- |
-
-
- BDeskbar();
- |
-
-
- |
-
- |
-
-
- ~BDeskbar();
- |
-
-
- |
-
- |
-
-
- BRect Frame() const;
- |
-
-
- |
-
- |
-
-
- deskbar_location Location(bool* isExpanded=NULL) const;
- |
-
-
- |
-
- |
-
-
- status_t SetLocation(deskbar_location location, bool expanded=false);
- |
-
-
- |
-
- |
-
-
- bool IsExpanded() const;
- |
-
-
- |
-
- |
-
-
- status_t Expand(bool yn);
- |
-
-
- |
-
- |
-
-
- status_t GetItemInfo(int32 id, const char** name) const;
- |
-
-
- |
-
- |
-
-
- status_t GetItemInfo(const char* name, int32* id) const;
- |
-
-
- |
-
- |
-
-
- bool HasItem(int32 id) const;
- |
-
-
- |
-
- |
-
-
- bool HasItem(const char* name) const;
- |
-
-
- |
-
- |
-
-
- uint32 CountItems() const;
- |
-
-
- |
-
- |
-
-
- status_t AddItem(BView* archivableView, int32* id=NULL);
- |
-
-
- |
-
- |
-
-
- status_t AddItem(entry_ref* addon, int32* id=NULL);
- |
-
-
- |
-
- |
-
-
- status_t RemoveItem(int32 id);
- |
-
-
- |
-
- |
-
-
- status_t RemoveItem(const char* name);
- |
-
-
-
- | unicode_block Class |
-
-
- |
-
- |
-
-
- unicode_block();
- |
-
-
- |
-
- |
-
-
- unicode_block(uint64 block2, uint64 block1);
- |
-
-
- |
-
- |
-
-
- bool Includes(const unicode_block &block) const;
- |
-
-
- |
-
- |
-
-
- unicode_block operator&(const unicode_block &block) const;
- |
-
-
- |
-
- |
-
-
- unicode_block operator|(const unicode_block &block) const;
- |
-
-
- |
-
- |
-
-
- unicode_block& operator=(const unicode_block &block);
- |
-
-
- |
-
- |
-
-
- bool operator==(const unicode_block &block) const;
- |
-
-
- |
-
- |
-
-
- bool operator!=(const unicode_block &block) const;
- |
-
-
-
- | Deskbar Support Functions |
-
-
- |
-
- |
-
-
- status_t get_deskbar_frame(BRect* frame);
- |
-
-
-
- | Mouse Config Functions |
-
-
- |
-
- |
-
-
- status_t get_mouse_type(int32* type);
- |
-
-
- |
-
- |
-
-
- status_t set_mouse_type(int32 type);
- |
-
-
- |
-
- |
-
-
- status_t get_mouse_map(mouse_map* map);
- |
-
-
- |
-
- |
-
-
- status_t set_mouse_map(mouse_map* map);
- |
-
-
- |
-
- |
-
-
- status_t get_click_speed(bigtime_t* speed);
- |
-
-
- |
-
- |
-
-
- status_t set_click_speed(bigtime_t speed);
- |
-
-
- |
-
- |
-
-
- status_t get_mouse_speed(int32* speed);
- |
-
-
- |
-
- |
-
-
- status_t set_mouse_speed(int32 speed);
- |
-
-
- |
-
- |
-
-
- status_t get_mouse_acceleration(int32* speed);
- |
-
-
- |
-
- |
-
-
- status_t set_mouse_acceleration(int32 speed);
- |
-
-
- |
-
- |
-
-
- void set_focus_follows_mouse(bool follow);
- |
-
-
- |
-
- |
-
-
- bool focus_follows_mouse();
- |
-
-
- |
-
- |
-
-
- void set_mouse_mode(mode_mouse mode);
- |
-
-
- |
-
- |
-
-
- mode_mouse mouse_mode();
- |
-
-
-
- | Workspace Support Functions |
-
-
- |
-
- |
-
-
- int32 count_workspaces();
- |
-
-
- |
-
- |
-
-
- void set_workspace_count(int32 count);
- |
-
-
- |
-
- |
-
-
- int32 current_workspace();
- |
-
-
- |
-
- |
-
-
- void activate_workspace(int32 workspace);
- |
-
-
-
- | Keyboard Config Functions |
-
-
- |
-
- |
-
-
- status_t get_key_repeat_rate(int32* rate);
- |
-
-
- |
-
- |
-
-
- status_t set_key_repeat_rate(int32 rate);
- |
-
-
- |
-
- |
-
-
- status_t get_key_repeat_delay(bigtime_t* delay);
- |
-
-
- |
-
- |
-
-
- status_t set_key_repeat_delay(bigtime_t delay);
- |
-
-
- |
-
- |
-
-
- uint32 modifiers();
- |
-
-
- |
-
- |
-
-
- status_t get_key_info(key_info* info);
- |
-
-
- |
-
- |
-
-
- void get_key_map(key_map** map, char** key_buffer);
- |
-
-
- |
-
- |
-
-
- status_t get_keyboard_id(uint16* id);
- |
-
-
- |
-
- |
-
-
- void set_modifier_key(uint32 modifier, uint32 key);
- |
-
-
- |
-
- |
-
-
- void set_keyboard_locks(uint32 modifiers);
- |
-
-
-
- | UI Color Info Functions |
-
-
- |
-
- |
-
-
- rgb_color keyboard_navigation_color();
- |
-
-
- |
-
- |
-
-
- rgb_color ui_color(color_which which);
- |
-
-
- |
-
- |
-
-
- rgb_color tint_color(rgb_color color, float tint);
- |
-
-
-
- | Miscellaneous Functions |
-
-
- |
-
- |
-
-
- bigtime_t idle_time();
- |
-
-
- |
-
- |
-
-
- void run_select_printer_panel();
- |
-
-
- |
-
- |
-
-
- void run_add_printer_panel();
- |
-
-
- |
-
- |
-
-
- void run_be_about();
- |
-
-
- |
-
- |
-
-
- status_t _init_interface_kit_();
- |
-
-
- |
-
- |
-
-
- void _ReservedShelf1__6BShelfFv(BShelf* const, int32, const BMessage*, const BView*);
- |
-
-
- |
-
- |
-
-
- uint32 _rule_(uint32 r1, uint32 r2, uint32 r3, uint32 r4);
- |
-
-
-
-
-
-
- |
-
- |
- Task Details |
-
-
-
-
- | BBox Class |
-
-
- |
-
- |
-
-
- BBox(BRect bounds, const char* name = NULL, uint32 resizeFlags = B_FOLLOW_LEFT | B_FOLLOW_TOP, uint32 flags = B_WILL_DRAW | B_FRAME_EVENTS | B_NAVIGABLE_JUMP, border_style border = B_FANCY_BORDER);
- |
-
-
- |
-
- |
-
-
- BBox(BMessage* data);
- |
-
-
- |
-
- |
-
-
- virtual ~BBox(void);
- |
-
-
- |
-
- |
-
-
- static BArchivable* Instantiate(BMessage* data);
- |
-
-
- |
-
- |
-
-
- virtual status_t Archive(BMessage* data, bool deep = true) const;
- |
-
-
- |
-
- |
-
-
- virtual void SetBorder(border_style style);
- |
-
-
- |
-
- |
-
-
- border_style Border() const;
- |
-
-
- |
-
- |
-
-
- void SetLabel(const char* label);
- |
-
-
- |
-
- |
-
-
- status_t SetLabel(BView* view_label);
- |
-
-
- |
-
- |
-
-
- const char* Label() const;
- |
-
-
- |
-
- |
-
-
- BView* LabelView() const;
- |
-
-
- |
-
- |
-
-
- virtual void Draw(BRect bounds);
- |
-
-
- |
-
- |
-
-
- virtual void AttachedToWindow();
- |
-
-
- |
-
- |
-
-
- virtual void DetachedFromWindow();
- |
-
-
- |
-
- |
-
-
- virtual void AllAttached();
- |
-
-
- |
-
- |
-
-
- virtual void AllDetached();
- |
-
-
- |
-
- |
-
-
- virtual void FrameResized(float new_width, float new_height);
- |
-
-
- |
-
- |
-
-
- virtual void MessageReceived(BMessage* msg);
- |
-
-
- |
-
- |
-
-
- virtual void MouseDown(BPoint pt);
- |
-
-
- |
-
- |
-
-
- virtual void MouseUp(BPoint pt);
- |
-
-
- |
-
- |
-
-
- virtual void WindowActivated(bool state);
- |
-
-
- |
-
- |
-
-
- virtual void MouseMoved(BPoint pt, uint32 code, const BMessage* msg);
- |
-
-
- |
-
- |
-
-
- virtual void FrameMoved(BPoint new_position);
- |
-
-
- |
-
- |
-
-
- virtual BHandler* ResolveSpecifier(BMessage* msg, int32 index, BMessage* specifier, int32 form, const char* property);
- |
-
-
- |
-
- |
-
-
- virtual void ResizeToPreferred();
- |
-
-
- |
-
- |
-
-
- virtual void GetPreferredSize(float* width, float* height);
- |
-
-
- |
-
- |
-
-
- virtual void MakeFocus(bool state = true);
- |
-
-
- |
-
- |
-
-
- virtual status_t GetSupportedSuites(BMessage* data);
- |
-
-
-
- | BStringView Class |
-
-
- |
-
- |
-
-
- BStringView(BRect bounds, const char* name, const char* text, uint32 resizeFlags = B_FOLLOW_LEFT | B_FOLLOW_TOP, uint32 flags = B_WILL_DRAW);
- |
-
-
- |
-
- |
-
-
- BStringView(BMessage* data);
- |
-
-
- |
-
- |
-
-
- virtual ~BStringView();
- |
-
-
- |
-
- |
-
-
- static BArchivable* Instantiate(BMessage* data);
- |
-
-
- |
-
- |
-
-
- virtual status_t Archive(BMessage* data, bool deep = true) const;
- |
-
-
- |
-
- |
-
-
- void SetText(const char* text);
- |
-
-
- |
-
- |
-
-
- const char* Text() const;
- |
-
-
- |
-
- |
-
-
- void SetAlignment(alignment flag);
- |
-
-
- |
-
- |
-
-
- alignment Alignment() const;
- |
-
-
- |
-
- |
-
-
- virtual void AttachedToWindow();
- |
-
-
- |
-
- |
-
-
- virtual void Draw(BRect bounds);
- |
-
-
- |
-
- |
-
-
- virtual void MessageReceived(BMessage* msg);
- |
-
-
- |
-
- |
-
-
- virtual void MouseDown(BPoint pt);
- |
-
-
- |
-
- |
-
-
- virtual void MouseUp(BPoint pt);
- |
-
-
- |
-
- |
-
-
- virtual void MouseMoved(BPoint pt, uint32 code, const BMessage* msg);
- |
-
-
- |
-
- |
-
-
- virtual void DetachedFromWindow();
- |
-
-
- |
-
- |
-
-
- virtual void FrameMoved(BPoint new_position);
- |
-
-
- |
-
- |
-
-
- virtual void FrameResized(float new_width, float new_height);
- |
-
-
- |
-
- |
-
-
- virtual BHandler* ResolveSpecifier(BMessage* msg, int32 index, BMessage* specifier, int32 form, const char* property);
- |
-
-
- |
-
- |
-
-
- virtual void ResizeToPreferred();
- |
-
-
- |
-
- |
-
-
- virtual void GetPreferredSize(float* width, float* height);
- |
-
-
- |
-
- |
-
-
- virtual void MakeFocus(bool state = true);
- |
-
-
- |
-
- |
-
-
- virtual void AllAttached();
- |
-
-
- |
-
- |
-
-
- virtual void AllDetached();
- |
-
-
- |
-
- |
-
-
- virtual status_t GetSupportedSuites(BMessage* data);
- |
-
-
-
- | BStatusBar Class |
-
-
- |
-
- |
-
-
- BStatusBar(BRect frame, const char* name, const char* label = NULL, const char* trailing_label = NULL);
- |
-
-
- |
-
- |
-
-
- BStatusBar(BMessage* data);
- |
-
-
- |
-
- |
-
-
- virtual ~BStatusBar();
- |
-
-
- |
-
- |
-
-
- static BArchivable* Instantiate(BMessage* data);
- |
-
-
- |
-
- |
-
-
- virtual status_t Archive(BMessage* data, bool deep = true) const;
- |
-
-
- |
-
- |
-
-
- virtual void AttachedToWindow();
- |
-
-
- |
-
- |
-
-
- virtual void MessageReceived(BMessage* msg);
- |
-
-
- |
-
- |
-
-
- virtual void Draw(BRect updateRect);
- |
-
-
- |
-
- |
-
-
- virtual void SetBarColor(rgb_color color);
- |
-
-
- |
-
- |
-
-
- virtual void SetBarHeight(float height);
- |
-
-
- |
-
- |
-
-
- virtual void SetText(const char* str);
- |
-
-
- |
-
- |
-
-
- virtual void SetTrailingText(const char* str);
- |
-
-
- |
-
- |
-
-
- virtual void SetMaxValue(float max);
- |
-
-
- |
-
- |
-
-
- virtual void Update(float delta, const char* main_text = NULL, const char* trailing_text = NULL);
- |
-
-
- |
-
- |
-
-
- virtual void Reset(const char* label = NULL, const char* trailing_label = NULL);
- |
-
-
- |
-
- |
-
-
- float CurrentValue() const;
- |
-
-
- |
-
- |
-
-
- float MaxValue() const;
- |
-
-
- |
-
- |
-
-
- rgb_color BarColor() const;
- |
-
-
- |
-
- |
-
-
- float BarHeight() const;
- |
-
-
- |
-
- |
-
-
- const char* Text() const;
- |
-
-
- |
-
- |
-
-
- const char* TrailingText() const;
- |
-
-
- |
-
- |
-
-
- const char* Label() const;
- |
-
-
- |
-
- |
-
-
- const char* TrailingLabel() const;
- |
-
-
- |
-
- |
-
-
- virtual void MouseDown(BPoint pt);
- |
-
-
- |
-
- |
-
-
- virtual void MouseUp(BPoint pt);
- |
-
-
- |
-
- |
-
-
- virtual void WindowActivated(bool state);
- |
-
-
- |
-
- |
-
-
- virtual void MouseMoved(BPoint pt, uint32 code, const BMessage* msg);
- |
-
-
- |
-
- |
-
-
- virtual void DetachedFromWindow();
- |
-
-
- |
-
- |
-
-
- virtual void FrameMoved(BPoint new_position);
- |
-
-
- |
-
- |
-
-
- virtual void FrameResized(float new_width, float new_height);
- |
-
-
- |
-
- |
-
-
- virtual BHandler* ResolveSpecifier(BMessage* msg, int32 index, BMessage* specifier, int32 form, const char* property);
- |
-
-
- |
-
- |
-
-
- virtual void ResizeToPreferred();
- |
-
-
- |
-
- |
-
-
- virtual void GetPreferredSize(float* width, float* height);
- |
-
-
- |
-
- |
-
-
- virtual void MakeFocus(bool state = true);
- |
-
-
- |
-
- |
-
-
- virtual void AllAttached();
- |
-
-
- |
-
- |
-
-
- virtual void AllDetached();
- |
-
-
- |
-
- |
-
-
- virtual status_t GetSupportedSuites(BMessage* data);
- |
-
-
-
-
-
-
- |
-
- |
- Task Details |
-
-
-
-
- | BDragger Class |
-
-
- |
-
- |
-
-
- BDragger(BRect bounds, BView* target, uint32 rmask = B_FOLLOW_NONE, uint32 flags = B_WILL_DRAW);
- |
-
-
- |
-
- |
-
-
- BDragger(BMessage* data);
- |
-
-
- |
-
- |
-
-
- virtual ~BDragger();
- |
-
-
- |
-
- |
-
-
- static BArchivable* Instantiate(BMessage* data);
- |
-
-
- |
-
- |
-
-
- virtual status_t Archive(BMessage* data, bool deep = true) const;
- |
-
-
- |
-
- |
-
-
- virtual void AttachedToWindow();
- |
-
-
- |
-
- |
-
-
- virtual void DetachedFromWindow();
- |
-
-
- |
-
- |
-
-
- virtual void Draw(BRect update);
- |
-
-
- |
-
- |
-
-
- virtual void MouseDown(BPoint where);
- |
-
-
- |
-
- |
-
-
- virtual void MouseUp(BPoint pt);
- |
-
-
- |
-
- |
-
-
- virtual void MouseMoved(BPoint pt, uint32 code, const BMessage* msg);
- |
-
-
- |
-
- |
-
-
- virtual void MessageReceived(BMessage* msg);
- |
-
-
- |
-
- |
-
-
- virtual void FrameMoved(BPoint new_position);
- |
-
-
- |
-
- |
-
-
- virtual void FrameResized(float new_width, float new_height);
- |
-
-
- |
-
- |
-
-
- static status_t ShowAllDraggers(); /* system wide!*/
- |
-
-
- |
-
- |
-
-
- static status_t HideAllDraggers(); /* system wide!*/
- |
-
-
- |
-
- |
-
-
- static bool AreDraggersDrawn();
- |
-
-
- |
-
- |
-
-
- virtual BHandler* ResolveSpecifier(BMessage* msg, int32 index, BMessage* specifier, int32 form, const char* property);
- |
-
-
- |
-
- |
-
-
- virtual status_t GetSupportedSuites(BMessage* data);
- |
-
-
- |
-
- |
-
-
- virtual status_t Perform(perform_code d, void* arg);
- |
-
-
- |
-
- |
-
-
- virtual void ResizeToPreferred();
- |
-
-
- |
-
- |
-
-
- virtual void GetPreferredSize(float* width, float* height);
- |
-
-
- |
-
- |
-
-
- virtual void MakeFocus(bool state = true);
- |
-
-
- |
-
- |
-
-
- virtual void AllAttached();
- |
-
-
- |
-
- |
-
-
- virtual void AllDetached();
- |
-
-
- |
-
- |
-
-
- status_t SetPopUp(BPopUpMenu* context_menu);
- |
-
-
- |
-
- |
-
-
- BPopUpMenu* PopUp() const;
- |
-
-
- |
-
- |
-
-
- bool InShelf() const;
- |
-
-
- |
-
- |
-
-
- BView* Target() const;
- |
-
-
- |
-
- |
-
-
- virtual BBitmap* DragBitmap(BPoint* offset, drawing_mode* mode);
- |
-
-
- |
-
- |
-
-
- bool IsVisibilityChanging() const;
- |
-
-
-
- | BShelf Class |
-
-
- |
-
- |
-
-
- BShelf(BView* view, bool allow_drags = true, const char* shelf_type = NULL);
- |
-
-
- |
-
- |
-
-
- BShelf(const entry_ref* ref, BView* view, bool allow_drags = true, const char* shelf_type = NULL);
- |
-
-
- |
-
- |
-
-
- BShelf(BDataIO* stream, BView* view, bool allow_drags = true, const char* shelf_type = NULL);
- |
-
-
- |
-
- |
-
-
- BShelf(BMessage* data);
- |
-
-
- |
-
- |
-
-
- virtual ~BShelf();
- |
-
-
- |
-
- |
-
-
- virtual status_t Archive(BMessage* data, bool deep = true) const;
- |
-
-
- |
-
- |
-
-
- static BArchivable* Instantiate(BMessage* data);
- |
-
-
- |
-
- |
-
-
- virtual void MessageReceived(BMessage* msg);
- |
-
-
- |
-
- |
-
-
- status_t Save();
- |
-
-
- |
-
- |
-
-
- virtual void SetDirty(bool state);
- |
-
-
- |
-
- |
-
-
- bool IsDirty() const;
- |
-
-
- |
-
- |
-
-
- virtual BHandler* ResolveSpecifier(BMessage* msg, int32 index, BMessage* specifier, int32 form, const char* property);
- |
-
-
- |
-
- |
-
-
- virtual status_t GetSupportedSuites(BMessage* data);
- |
-
-
- |
-
- |
-
-
- virtual status_t Perform(perform_code d, void* arg);
- |
-
-
- |
-
- |
-
-
- bool AllowsDragging() const;
- |
-
-
- |
-
- |
-
-
- void SetAllowsDragging(bool state);
- |
-
-
- |
-
- |
-
-
- bool AllowsZombies() const;
- |
-
-
- |
-
- |
-
-
- void SetAllowsZombies(bool state);
- |
-
-
- |
-
- |
-
-
- bool DisplaysZombies() const;
- |
-
-
- |
-
- |
-
-
- void SetDisplaysZombies(bool state);
- |
-
-
- |
-
- |
-
-
- bool IsTypeEnforced() const;
- |
-
-
- |
-
- |
-
-
- void SetTypeEnforced(bool state);
- |
-
-
- |
-
- |
-
-
- status_t SetSaveLocation(BDataIO* data_io);
- |
-
-
- |
-
- |
-
-
- status_t SetSaveLocation(const entry_ref* ref);
- |
-
-
- |
-
- |
-
-
- BDataIO* SaveLocation(entry_ref* ref) const;
- |
-
-
- |
-
- |
-
-
- status_t AddReplicant(BMessage* data, BPoint location);
- |
-
-
- |
-
- |
-
-
- status_t DeleteReplicant(BView* replicant);
- |
-
-
- |
-
- |
-
-
- status_t DeleteReplicant(BMessage* data);
- |
-
-
- |
-
- |
-
-
- status_t DeleteReplicant(int32 index);
- |
-
-
- |
-
- |
-
-
- int32 CountReplicants() const;
- |
-
-
- |
-
- |
-
-
- BMessage* ReplicantAt(int32 index, BView** view = NULL, uint32* uid = NULL, status_t* perr = NULL) const;
- |
-
-
- |
-
- |
-
-
- int32 IndexOf(const BView* replicant_view) const;
- |
-
-
- |
-
- |
-
-
- int32 IndexOf(const BMessage* archive) const;
- |
-
-
- |
-
- |
-
-
- int32 IndexOf(uint32 id) const;
- |
-
-
- |
-
- |
-
-
- virtual bool CanAcceptReplicantMessage(BMessage*) const;
- |
-
-
- |
-
- |
-
-
- virtual bool CanAcceptReplicantView(BRect, BView*, BMessage*) const;
- |
-
-
- |
-
- |
-
-
- virtual BPoint AdjustReplicantBy(BRect, BMessage*) const;
- |
-
-
- |
-
- |
-
-
- virtual void ReplicantDeleted(int32 index, const BMessage* archive, const BView* replicant);
- |
-
-
-
-
-
-
- |
-
- |
- Task Details |
-
-
-
-
- | BScrollBar Class |
-
-
- |
-
- |
-
-
- BScrollBar(BRect frame, const char* name, BView* target, float min, float max, orientation direction);
- |
-
-
- |
-
- |
-
-
- BScrollBar(BMessage* data);
- |
-
-
- |
-
- |
-
-
- virtual ~BScrollBar();
- |
-
-
- |
-
- |
-
-
- static BArchivable* Instantiate(BMessage* data);
- |
-
-
- |
-
- |
-
-
- virtual status_t Archive(BMessage* data, bool deep = true) const;
- |
-
-
- |
-
- |
-
-
- virtual void AttachedToWindow();
- |
-
-
- |
-
- |
-
-
- void SetValue(float value);
- |
-
-
- |
-
- |
-
-
- float Value() const;
- |
-
-
- |
-
- |
-
-
- void SetProportion(float);
- |
-
-
- |
-
- |
-
-
- float Proportion() const;
- |
-
-
- |
-
- |
-
-
- virtual void ValueChanged(float newValue);
- |
-
-
- |
-
- |
-
-
- void SetRange(float min, float max);
- |
-
-
- |
-
- |
-
-
- void GetRange(float* min, float* max) const;
- |
-
-
- |
-
- |
-
-
- void SetSteps(float smallStep, float largeStep);
- |
-
-
- |
-
- |
-
-
- void GetSteps(float* smallStep, float* largeStep) const;
- |
-
-
- |
-
- |
-
-
- void SetTarget(BView* target);
- |
-
-
- |
-
- |
-
-
- void SetTarget(const char* targetName);
- |
-
-
- |
-
- |
-
-
- BView* Target() const;
- |
-
-
- |
-
- |
-
-
- orientation Orientation() const;
- |
-
-
- |
-
- |
-
-
- virtual void MessageReceived(BMessage* msg);
- |
-
-
- |
-
- |
-
-
- virtual void MouseDown(BPoint pt);
- |
-
-
- |
-
- |
-
-
- virtual void MouseUp(BPoint pt);
- |
-
-
- |
-
- |
-
-
- virtual void MouseMoved(BPoint pt, uint32 code, const BMessage* msg);
- |
-
-
- |
-
- |
-
-
- virtual void DetachedFromWindow();
- |
-
-
- |
-
- |
-
-
- virtual void Draw(BRect updateRect);
- |
-
-
- |
-
- |
-
-
- virtual void FrameMoved(BPoint new_position);
- |
-
-
- |
-
- |
-
-
- virtual void FrameResized(float new_width, float new_height);
- |
-
-
- |
-
- |
-
-
- virtual BHandler* ResolveSpecifier(BMessage* msg, int32 index, BMessage* specifier, int32 form, const char* property);
- |
-
-
- |
-
- |
-
-
- virtual void ResizeToPreferred();
- |
-
-
- |
-
- |
-
-
- virtual void GetPreferredSize(float* width, float* height);
- |
-
-
- |
-
- |
-
-
- virtual void MakeFocus(bool state = true);
- |
-
-
- |
-
- |
-
-
- virtual void AllAttached();
- |
-
-
- |
-
- |
-
-
- virtual void AllDetached();
- |
-
-
- |
-
- |
-
-
- virtual status_t GetSupportedSuites(BMessage* data);
- |
-
-
-
- | BScrollView Class |
-
-
- |
-
- |
-
-
- BScrollView(const char* name, BView* target, uint32 resizeMask = B_FOLLOW_LEFT | B_FOLLOW_TOP, uint32 flags = 0, bool horizontal = false, bool vertical = false, border_style border = B_FANCY_BORDER);
- |
-
-
- |
-
- |
-
-
- BScrollView(BMessage* data);
- |
-
-
- |
-
- |
-
-
- virtual ~BScrollView();
- |
-
-
- |
-
- |
-
-
- static BArchivable* Instantiate(BMessage* data);
- |
-
-
- |
-
- |
-
-
- virtual status_t Archive(BMessage* data, bool deep = true) const;
- |
-
-
- |
-
- |
-
-
- virtual void Draw(BRect updateRect);
- |
-
-
- |
-
- |
-
-
- virtual void AttachedToWindow();
- |
-
-
- |
-
- |
-
-
- BScrollBar* ScrollBar(orientation flag) const;
- |
-
-
- |
-
- |
-
-
- virtual void SetBorder(border_style border);
- |
-
-
- |
-
- |
-
-
- border_style Border() const;
- |
-
-
- |
-
- |
-
-
- virtual status_t SetBorderHighlighted(bool state);
- |
-
-
- |
-
- |
-
-
- bool IsBorderHighlighted() const;
- |
-
-
- |
-
- |
-
-
- void SetTarget(BView* new_target);
- |
-
-
- |
-
- |
-
-
- BView* Target() const;
- |
-
-
- |
-
- |
-
-
- virtual void MessageReceived(BMessage* msg);
- |
-
-
- |
-
- |
-
-
- virtual void MouseDown(BPoint pt);
- |
-
-
- |
-
- |
-
-
- virtual void WindowActivated(bool state);
- |
-
-
- |
-
- |
-
-
- virtual void MouseUp(BPoint pt);
- |
-
-
- |
-
- |
-
-
- virtual void MouseMoved(BPoint pt, uint32 code, const BMessage* msg);
- |
-
-
- |
-
- |
-
-
- virtual void DetachedFromWindow();
- |
-
-
- |
-
- |
-
-
- virtual void AllAttached();
- |
-
-
- |
-
- |
-
-
- virtual void AllDetached();
- |
-
-
- |
-
- |
-
-
- virtual void FrameMoved(BPoint new_position);
- |
-
-
- |
-
- |
-
-
- virtual void FrameResized(float new_width, float new_height);
- |
-
-
- |
-
- |
-
-
- virtual BHandler* ResolveSpecifier(BMessage* msg, int32 index, BMessage* specifier, int32 form, const char* property);
- |
-
-
- |
-
- |
-
-
- virtual void ResizeToPreferred();
- |
-
-
- |
-
- |
-
-
- virtual void GetPreferredSize(float* width, float* height);
- |
-
-
- |
-
- |
-
-
- virtual void MakeFocus(bool state = true);
- |
-
-
- |
-
- |
-
-
- virtual status_t GetSupportedSuites(BMessage* data);
- |
-
-
-
- | Scrollbar Config Functions |
-
-
- |
-
- |
-
-
- status_t get_scroll_bar_info(scroll_bar_info* info);
- |
-
-
- |
-
- |
-
-
- status_t set_scroll_bar_info(scroll_bar_info* info);
- |
-
-
-
-
-
-
- |
-
- |
- Task Details |
-
-
-
-
- | BTextView Class |
-
-
- |
-
- |
-
-
- BTextView(BRect frame, const char* name, BRect textRect, uint32 resizeMask, uint32 flags = B_WILL_DRAW | B_PULSE_NEEDED);
- |
-
-
- |
-
- |
-
-
- BTextView(BRect frame, const char* name, BRect textRect, const BFont* initialFont, const rgb_color* initialColor, uint32 resizeMask, uint32 flags);
- |
-
-
- |
-
- |
-
-
- BTextView(BMessage* data);
- |
-
-
- |
-
- |
-
-
- virtual ~BTextView();
- |
-
-
- |
-
- |
-
-
- static BArchivable* Instantiate(BMessage* data);
- |
-
-
- |
-
- |
-
-
- virtual status_t Archive(BMessage* data, bool deep = true) const;
- |
-
-
- |
-
- |
-
-
- virtual void AttachedToWindow();
- |
-
-
- |
-
- |
-
-
- virtual void DetachedFromWindow();
- |
-
-
- |
-
- |
-
-
- virtual void Draw(BRect inRect);
- |
-
-
- |
-
- |
-
-
- virtual void MouseDown(BPoint where);
- |
-
-
- |
-
- |
-
-
- virtual void MouseUp(BPoint where);
- |
-
-
- |
-
- |
-
-
- virtual void MouseMoved(BPoint where, uint32 code, const BMessage* message);
- |
-
-
- |
-
- |
-
-
- virtual void WindowActivated(bool state);
- |
-
-
- |
-
- |
-
-
- virtual void KeyDown(const char* bytes, int32 numBytes);
- |
-
-
- |
-
- |
-
-
- virtual void Pulse();
- |
-
-
- |
-
- |
-
-
- virtual void FrameResized(float width, float height);
- |
-
-
- |
-
- |
-
-
- virtual void MakeFocus(bool focusState = true);
- |
-
-
- |
-
- |
-
-
- virtual void MessageReceived(BMessage* message);
- |
-
-
- |
-
- |
-
-
- virtual BHandler* ResolveSpecifier(BMessage* message, int32 index, BMessage* specifier, int32 form, const char* property);
- |
-
-
- |
-
- |
-
-
- virtual status_t GetSupportedSuites(BMessage* data);
- |
-
-
- |
-
- |
-
-
- virtual status_t Perform(perform_code d, void* arg);
- |
-
-
- |
-
- |
-
-
- void SetText(const char* inText, const text_run_array* inRuns = NULL);
- |
-
-
- |
-
- |
-
-
- void SetText(const char* inText, int32 inLength, const text_run_array* inRuns = NULL);
- |
-
-
- |
-
- |
-
-
- void SetText(BFile* inFile, int32 startOffset, int32 inLength, const text_run_array* inRuns = NULL);
- |
-
-
- |
-
- |
-
-
- void Insert(const char* inText, const text_run_array* inRuns = NULL);
- |
-
-
- |
-
- |
-
-
- void Insert(const char* inText, int32 inLength, const text_run_array* inRuns = NULL);
- |
-
-
- |
-
- |
-
-
- void Insert(int32 startOffset, const char* inText, int32 inLength, const text_run_array* inRuns = NULL);
- |
-
-
- |
-
- |
-
-
- void Delete();
- |
-
-
- |
-
- |
-
-
- void Delete(int32 startOffset, int32 endOffset);
- |
-
-
- |
-
- |
-
-
- const char* Text() const;
- |
-
-
- |
-
- |
-
-
- int32 TextLength() const;
- |
-
-
- |
-
- |
-
-
- void GetText(int32 offset, int32 length, char* buffer) const;
- |
-
-
- |
-
- |
-
-
- uchar ByteAt(int32 offset) const;
- |
-
-
- |
-
- |
-
-
- int32 CountLines() const;
- |
-
-
- |
-
- |
-
-
- int32 CurrentLine() const;
- |
-
-
- |
-
- |
-
-
- void GoToLine(int32 lineNum);
- |
-
-
- |
-
- |
-
-
- virtual void Cut(BClipboard* clipboard);
- |
-
-
- |
-
- |
-
-
- virtual void Copy(BClipboard* clipboard);
- |
-
-
- |
-
- |
-
-
- virtual void Paste(BClipboard* clipboard);
- |
-
-
- |
-
- |
-
-
- void Clear();
- |
-
-
- |
-
- |
-
-
- virtual bool AcceptsPaste(BClipboard* clipboard);
- |
-
-
- |
-
- |
-
-
- virtual bool AcceptsDrop(const BMessage* inMessage);
- |
-
-
- |
-
- |
-
-
- virtual void Select(int32 startOffset, int32 endOffset);
- |
-
-
- |
-
- |
-
-
- void SelectAll();
- |
-
-
- |
-
- |
-
-
- void GetSelection(int32* outStart, int32* outEnd) const;
- |
-
-
- |
-
- |
-
-
- void SetFontAndColor(const BFont* inFont, uint32 inMode = B_FONT_ALL, const rgb_color* inColor = NULL);
- |
-
-
- |
-
- |
-
-
- void SetFontAndColor(int32 startOffset, int32 endOffset, const BFont* inFont, uint32 inMode = B_FONT_ALL, const rgb_color* inColor = NULL);
- |
-
-
- |
-
- |
-
-
- void GetFontAndColor(int32 inOffset, BFont* outFont, rgb_color* outColor = NULL) const;
- |
-
-
- |
-
- |
-
-
- void GetFontAndColor(BFont* outFont, uint32* outMode, rgb_color* outColor = NULL, bool* outEqColor = NULL) const;
- |
-
-
- |
-
- |
-
-
- void SetRunArray(int32 startOffset, int32 endOffset, const text_run_array* inRuns);
- |
-
-
- |
-
- |
-
-
- text_run_array* RunArray(int32 startOffset, int32 endOffset, int32* outSize = NULL) const;
- |
-
-
- |
-
- |
-
-
- int32 LineAt(int32 offset) const;
- |
-
-
- |
-
- |
-
-
- int32 LineAt(BPoint point) const;
- |
-
-
- |
-
- |
-
-
- BPoint PointAt(int32 inOffset, float* outHeight = NULL) const;
- |
-
-
- |
-
- |
-
-
- int32 OffsetAt(BPoint point) const;
- |
-
-
- |
-
- |
-
-
- int32 OffsetAt(int32 line) const;
- |
-
-
- |
-
- |
-
-
- virtual void FindWord(int32 inOffset, int32* outFromOffset, int32* outToOffset);
- |
-
-
- |
-
- |
-
-
- virtual bool CanEndLine(int32 offset);
- |
-
-
- |
-
- |
-
-
- float LineWidth(int32 lineNum = 0) const;
- |
-
-
- |
-
- |
-
-
- float LineHeight(int32 lineNum = 0) const;
- |
-
-
- |
-
- |
-
-
- float TextHeight(int32 startLine, int32 endLine) const;
- |
-
-
- |
-
- |
-
-
- void GetTextRegion(int32 startOffset, int32 endOffset, BRegion* outRegion) const;
- |
-
-
- |
-
- |
-
-
- virtual void ScrollToOffset(int32 inOffset);
- |
-
-
- |
-
- |
-
-
- void ScrollToSelection();
- |
-
-
- |
-
- |
-
-
- void Highlight(int32 startOffset, int32 endOffset);
- |
-
-
- |
-
- |
-
-
- void SetTextRect(BRect rect);
- |
-
-
- |
-
- |
-
-
- BRect TextRect() const;
- |
-
-
- |
-
- |
-
-
- void SetStylable(bool stylable);
- |
-
-
- |
-
- |
-
-
- bool IsStylable() const;
- |
-
-
- |
-
- |
-
-
- void SetTabWidth(float width);
- |
-
-
- |
-
- |
-
-
- float TabWidth() const;
- |
-
-
- |
-
- |
-
-
- void MakeSelectable(bool selectable = true);
- |
-
-
- |
-
- |
-
-
- bool IsSelectable() const;
- |
-
-
- |
-
- |
-
-
- void MakeEditable(bool editable = true);
- |
-
-
- |
-
- |
-
-
- bool IsEditable() const;
- |
-
-
- |
-
- |
-
-
- void SetWordWrap(bool wrap);
- |
-
-
- |
-
- |
-
-
- bool DoesWordWrap() const;
- |
-
-
- |
-
- |
-
-
- void SetMaxBytes(int32 max);
- |
-
-
- |
-
- |
-
-
- int32 MaxBytes() const;
- |
-
-
- |
-
- |
-
-
- void DisallowChar(uint32 aChar);
- |
-
-
- |
-
- |
-
-
- void AllowChar(uint32 aChar);
- |
-
-
- |
-
- |
-
-
- void SetAlignment(alignment flag);
- |
-
-
- |
-
- |
-
-
- alignment Alignment() const;
- |
-
-
- |
-
- |
-
-
- void SetAutoindent(bool state);
- |
-
-
- |
-
- |
-
-
- bool DoesAutoindent() const;
- |
-
-
- |
-
- |
-
-
- void SetColorSpace(color_space colors);
- |
-
-
- |
-
- |
-
-
- color_space ColorSpace() const;
- |
-
-
- |
-
- |
-
-
- void MakeResizable(bool resize, BView* resizeView = NULL);
- |
-
-
- |
-
- |
-
-
- bool IsResizable() const;
- |
-
-
- |
-
- |
-
-
- void SetDoesUndo(bool undo);
- |
-
-
- |
-
- |
-
-
- bool DoesUndo() const;
- |
-
-
- |
-
- |
-
-
- void HideTyping(bool enabled);
- |
-
-
- |
-
- |
-
-
- bool IsTypingHidden(void) const;
- |
-
-
- |
-
- |
-
-
- virtual void ResizeToPreferred();
- |
-
-
- |
-
- |
-
-
- virtual void GetPreferredSize(float* width, float* height);
- |
-
-
- |
-
- |
-
-
- virtual void AllAttached();
- |
-
-
- |
-
- |
-
-
- virtual void AllDetached();
- |
-
-
- |
-
- |
-
-
- static void* FlattenRunArray(const text_run_array* inArray, int32* outSize = NULL);
- |
-
-
- |
-
- |
-
-
- static text_run_array* UnflattenRunArray(const void *data, int32* outSize = NULL);
- |
-
-
- |
-
- |
-
-
- virtual void InsertText(const char* inText, int32 inLength, int32 inOffset, const text_run_array* inRuns);
- |
-
-
- |
-
- |
-
-
- virtual void DeleteText(int32 fromOffset, int32 toOffset);
- |
-
-
- |
-
- |
-
-
- virtual void Undo(BClipboard* clipboard);
- |
-
-
- |
-
- |
-
-
- undo_state UndoState(bool* isRedo) const;
- |
-
-
- |
-
- |
-
-
- virtual void GetDragParameters(BMessage* drag, BBitmap** bitmap, BPoint* point, BHandler** handler);
- |
-
-
-
- | BTextControl Class |
-
-
- |
-
- |
-
-
- BTextControl(BRect frame, const char* name, const char* label, const char* initial_text, BMessage* message, uint32 rmask = B_FOLLOW_LEFT | B_FOLLOW_TOP, uint32 flags = B_WILL_DRAW | B_NAVIGABLE);
- |
-
-
- |
-
- |
-
-
- BTextControl(BMessage* data);
- |
-
-
- |
-
- |
-
-
- virtual ~BTextControl();
- |
-
-
- |
-
- |
-
-
- static BArchivable* Instantiate(BMessage* data);
- |
-
-
- |
-
- |
-
-
- virtual status_t Archive(BMessage* data, bool deep = true) const;
- |
-
-
- |
-
- |
-
-
- virtual void SetText(const char* text);
- |
-
-
- |
-
- |
-
-
- const char* Text() const;
- |
-
-
- |
-
- |
-
-
- virtual void SetValue(int32 value);
- |
-
-
- |
-
- |
-
-
- virtual status_t Invoke(BMessage* msg = NULL);
- |
-
-
- |
-
- |
-
-
- BTextView* TextView() const;
- |
-
-
- |
-
- |
-
-
- virtual void SetModificationMessage(BMessage* message);
- |
-
-
- |
-
- |
-
-
- BMessage* ModificationMessage() const;
- |
-
-
- |
-
- |
-
-
- virtual void SetAlignment(alignment label, alignment text);
- |
-
-
- |
-
- |
-
-
- void GetAlignment(alignment* label, alignment* text) const;
- |
-
-
- |
-
- |
-
-
- virtual void SetDivider(float dividing_line);
- |
-
-
- |
-
- |
-
-
- float Divider() const;
- |
-
-
- |
-
- |
-
-
- virtual void Draw(BRect updateRect);
- |
-
-
- |
-
- |
-
-
- virtual void MouseDown(BPoint where);
- |
-
-
- |
-
- |
-
-
- virtual void AttachedToWindow();
- |
-
-
- |
-
- |
-
-
- virtual void MakeFocus(bool focusState = true);
- |
-
-
- |
-
- |
-
-
- virtual void SetEnabled(bool state);
- |
-
-
- |
-
- |
-
-
- virtual void FrameMoved(BPoint new_position);
- |
-
-
- |
-
- |
-
-
- virtual void FrameResized(float new_width, float new_height);
- |
-
-
- |
-
- |
-
-
- virtual void WindowActivated(bool active);
- |
-
-
- |
-
- |
-
-
- virtual void GetPreferredSize(float* width, float* height);
- |
-
-
- |
-
- |
-
-
- virtual void ResizeToPreferred();
- |
-
-
- |
-
- |
-
-
- virtual void MessageReceived(BMessage* msg);
- |
-
-
- |
-
- |
-
-
- virtual BHandler* ResolveSpecifier(BMessage* msg, int32 index, BMessage* specifier, int32 form, const char* property);
- |
-
-
- |
-
- |
-
-
- virtual void MouseUp(BPoint pt);
- |
-
-
- |
-
- |
-
-
- virtual void MouseMoved(BPoint pt, uint32 code, const BMessage* msg);
- |
-
-
- |
-
- |
-
-
- virtual void DetachedFromWindow();
- |
-
-
- |
-
- |
-
-
- virtual void AllAttached();
- |
-
-
- |
-
- |
-
-
- virtual void AllDetached();
- |
-
-
- |
-
- |
-
-
- virtual status_t GetSupportedSuites(BMessage* data);
- |
-
-
- |
-
- |
-
-
- virtual void SetFlags(uint32 flags);
- |
-
-
-
-
-
-
- |
-
- |
- Task Details |
-
-
-
-
- | Misc Functions |
-
-
- |
-
- |
-
-
- convert_from_utf8
- |
-
-
- |
-
- |
-
-
- convert_to_utf8
- |
-
-
-
- | BString Utility Functions |
-
-
- |
-
- |
-
-
- bool operator<(const char *, const BString &);
- |
-
-
- |
-
- |
-
-
- bool operator<=(const char *, const BString &);
- |
-
-
- |
-
- |
-
-
- bool operator==(const char *, const BString &);
- |
-
-
- |
-
- |
-
-
- bool operator>(const char *, const BString &);
- |
-
-
- |
-
- |
-
-
- bool operator>=(const char *, const BString &);
- |
-
-
- |
-
- |
-
-
- bool operator!=(const char *, const BString &);
- |
-
-
- |
-
- |
-
-
- int Compare(const BString &, const BString &);
- |
-
-
- |
-
- |
-
-
- int ICompare(const BString &, const BString &);
- |
-
-
- |
-
- |
-
-
- int Compare(const BString *, const BString *);
- |
-
-
- |
-
- |
-
-
- int ICompare(const BString *, const BString *);
- |
-
-
-
- | BList Class |
-
-
- |
-
- |
-
-
- BList(int32 itemsPerBlock = 20);
- |
-
-
- |
-
- |
-
-
- BList(const BList&);
- |
-
-
- |
-
- |
-
-
- virtual ~BList();
- |
-
-
- |
-
- |
-
-
- BList& operator=(const BList &from);
- |
-
-
- |
-
- |
-
-
- bool AddItem(void *item);
- |
-
-
- |
-
- |
-
-
- bool AddItem(void *item, int32 atIndex);
- |
-
-
- |
-
- |
-
-
- bool AddList(BList *newItems);
- |
-
-
- |
-
- |
-
-
- bool AddList(BList *newItems, int32 atIndex);
- |
-
-
- |
-
- |
-
-
- bool RemoveItem(void *item);
- |
-
-
- |
-
- |
-
-
- void* RemoveItem(int32 index);
- |
-
-
- |
-
- |
-
-
- bool RemoveItems(int32 index, int32 count);
- |
-
-
- |
-
- |
-
-
- bool ReplaceItem(int32 index, void *newItem);
- |
-
-
- |
-
- |
-
-
- void MakeEmpty();
- |
-
-
- |
-
- |
-
-
- void SortItems(int (*cmp)(const void *, const void *));
- |
-
-
- |
-
- |
-
-
- bool SwapItems(int32 indexA, int32 indexB);
- |
-
-
- |
-
- |
-
-
- bool MoveItem(int32 fromIndex, int32 toIndex);
- |
-
-
- |
-
- |
-
-
- void* ItemAt(int32) const;
- |
-
-
- |
-
- |
-
-
- void* ItemAtFast(int32) const;
- |
-
-
- |
-
- |
-
-
- void* FirstItem() const;
- |
-
-
- |
-
- |
-
-
- void* LastItem() const;
- |
-
-
- |
-
- |
-
-
- void* Items() const;
- |
-
-
- |
-
- |
-
-
- bool HasItem(void *item) const;
- |
-
-
- |
-
- |
-
-
- int32 IndexOf(void *item) const;
- |
-
-
- |
-
- |
-
-
- int32 CountItems() const;
- |
-
-
- |
-
- |
-
-
- bool IsEmpty() const;
- |
-
-
- |
-
- |
-
-
- void DoForEach(bool (*func)(void *));
- |
-
-
- |
-
- |
-
-
- void DoForEach(bool (*func)(void *, void *), void *);
- |
-
-
-
- | BString Class |
-
-
- |
-
- |
-
-
- BString();
- |
-
-
- |
-
- |
-
-
- BString(const char *);
- |
-
-
- |
-
- |
-
-
- BString(const BString &);
- |
-
-
- |
-
- |
-
-
- BString(const char *, int32 maxLength);
- |
-
-
- |
-
- |
-
-
- ~BString();
- |
-
-
- |
-
- |
-
-
- const char* String() const;
- |
-
-
- |
-
- |
-
-
- int32 Length() const;
- |
-
-
- |
-
- |
-
-
- int32 CountChars() const;
- |
-
-
- |
-
- |
-
-
- BString& operator=(const BString &);
- |
-
-
- |
-
- |
-
-
- BString& operator=(const char *);
- |
-
-
- |
-
- |
-
-
- BString& operator=(char);
- |
-
-
- |
-
- |
-
-
- BString& SetTo(const char *);
- |
-
-
- |
-
- |
-
-
- BString& SetTo(const char *, int32 length);
- |
-
-
- |
-
- |
-
-
- BString& SetTo(const BString &from);
- |
-
-
- |
-
- |
-
-
- BString& Adopt(BString &from);
- |
-
-
- |
-
- |
-
-
- BString& SetTo(const BString &, int32 length);
- |
-
-
- |
-
- |
-
-
- BString& Adopt(BString &from, int32 length);
- |
-
-
- |
-
- |
-
-
- BString& SetTo(char, int32 count);
- |
-
-
- |
-
- |
-
-
- BString& CopyInto(BString &into, int32 fromOffset, int32 length) const;
- |
-
-
- |
-
- |
-
-
- void CopyInto(char *into, int32 fromOffset, int32 length) const;
- |
-
-
- |
-
- |
-
-
- BString& operator+=(const BString &);
- |
-
-
- |
-
- |
-
-
- BString& operator+=(const char *);
- |
-
-
- |
-
- |
-
-
- BString& operator+=(char);
- |
-
-
- |
-
- |
-
-
- BString& Append(const BString &);
- |
-
-
- |
-
- |
-
-
- BString& Append(const char *);
- |
-
-
- |
-
- |
-
-
- BString& Append(const BString &, int32 length);
- |
-
-
- |
-
- |
-
-
- BString& Append(const char *, int32 length);
- |
-
-
- |
-
- |
-
-
- BString& Append(char, int32 count);
- |
-
-
- |
-
- |
-
-
- BString& Prepend(const char *);
- |
-
-
- |
-
- |
-
-
- BString& Prepend(const BString &);
- |
-
-
- |
-
- |
-
-
- BString& Prepend(const char *, int32);
- |
-
-
- |
-
- |
-
-
- BString& Prepend(const BString &, int32);
- |
-
-
- |
-
- |
-
-
- BString& Prepend(char, int32 count);
- |
-
-
- |
-
- |
-
-
- BString& Insert(const char *, int32 pos);
- |
-
-
- |
-
- |
-
-
- BString& Insert(const char *, int32 length, int32 pos);
- |
-
-
- |
-
- |
-
-
- BString& Insert(const char *, int32 fromOffset, int32 length, int32 pos);
- |
-
-
- |
-
- |
-
-
- BString& Insert(const BString &, int32 pos);
- |
-
-
- |
-
- |
-
-
- BString& Insert(const BString &, int32 length, int32 pos);
- |
-
-
- |
-
- |
-
-
- BString& Insert(const BString &, int32 fromOffset, int32 length, int32 pos);
- |
-
-
- |
-
- |
-
-
- BString& Insert(char, int32 count, int32 pos);
- |
-
-
- |
-
- |
-
-
- BString& Truncate(int32 newLength, bool lazy = true);
- |
-
-
- |
-
- |
-
-
- BString& Remove(int32 from, int32 length);
- |
-
-
- |
-
- |
-
-
- BString& RemoveFirst(const BString &);
- |
-
-
- |
-
- |
-
-
- BString& RemoveLast(const BString &);
- |
-
-
- |
-
- |
-
-
- BString& RemoveAll(const BString &);
- |
-
-
- |
-
- |
-
-
- BString& RemoveFirst(const char *);
- |
-
-
- |
-
- |
-
-
- BString& RemoveLast(const char *);
- |
-
-
- |
-
- |
-
-
- BString& RemoveAll(const char *);
- |
-
-
- |
-
- |
-
-
- BString& RemoveSet(const char *setOfCharsToRemove);
- |
-
-
- |
-
- |
-
-
- BString& MoveInto(BString &into, int32 from, int32 length);
- |
-
-
- |
-
- |
-
-
- void MoveInto(char *into, int32 from, int32 length);
- |
-
-
- |
-
- |
-
-
- bool operator<(const BString &) const;
- |
-
-
- |
-
- |
-
-
- bool operator<=(const BString &) const;
- |
-
-
- |
-
- |
-
-
- bool operator==(const BString &) const;
- |
-
-
- |
-
- |
-
-
- bool operator>=(const BString &) const;
- |
-
-
- |
-
- |
-
-
- bool operator>(const BString &) const;
- |
-
-
- |
-
- |
-
-
- bool operator!=(const BString &) const;
- |
-
-
- |
-
- |
-
-
- bool operator<(const char *) const;
- |
-
-
- |
-
- |
-
-
- bool operator<=(const char *) const;
- |
-
-
- |
-
- |
-
-
- bool operator==(const char *) const;
- |
-
-
- |
-
- |
-
-
- bool operator>=(const char *) const;
- |
-
-
- |
-
- |
-
-
- bool operator>(const char *) const;
- |
-
-
- |
-
- |
-
-
- bool operator!=(const char *) const;
- |
-
-
- |
-
- |
-
-
- int Compare(const BString &) const;
- |
-
-
- |
-
- |
-
-
- int Compare(const char *) const;
- |
-
-
- |
-
- |
-
-
- int Compare(const BString &, int32 n) const;
- |
-
-
- |
-
- |
-
-
- int Compare(const char *, int32 n) const;
- |
-
-
- |
-
- |
-
-
- int ICompare(const BString &) const;
- |
-
-
- |
-
- |
-
-
- int ICompare(const char *) const;
- |
-
-
- |
-
- |
-
-
- int ICompare(const BString &, int32 n) const;
- |
-
-
- |
-
- |
-
-
- int ICompare(const char *, int32 n) const;
- |
-
-
- |
-
- |
-
-
- int32 FindFirst(const BString &) const;
- |
-
-
- |
-
- |
-
-
- int32 FindFirst(const char *) const;
- |
-
-
- |
-
- |
-
-
- int32 FindFirst(const BString &, int32 fromOffset) const;
- |
-
-
- |
-
- |
-
-
- int32 FindFirst(const char *, int32 fromOffset) const;
- |
-
-
- |
-
- |
-
-
- int32 FindFirst(char) const;
- |
-
-
- |
-
- |
-
-
- int32 FindFirst(char, int32 fromOffset) const;
- |
-
-
- |
-
- |
-
-
- int32 FindLast(const BString &) const;
- |
-
-
- |
-
- |
-
-
- int32 FindLast(const char *) const;
- |
-
-
- |
-
- |
-
-
- int32 FindLast(const BString &, int32 beforeOffset) const;
- |
-
-
- |
-
- |
-
-
- int32 FindLast(const char *, int32 beforeOffset) const;
- |
-
-
- |
-
- |
-
-
- int32 FindLast(char) const;
- |
-
-
- |
-
- |
-
-
- int32 FindLast(char, int32 fromOffset) const;
- |
-
-
- |
-
- |
-
-
- int32 IFindFirst(const BString &) const;
- |
-
-
- |
-
- |
-
-
- int32 IFindFirst(const char *) const;
- |
-
-
- |
-
- |
-
-
- int32 IFindFirst(const BString &, int32 fromOffset) const;
- |
-
-
- |
-
- |
-
-
- int32 IFindFirst(const char *, int32 fromOffset) const;
- |
-
-
- |
-
- |
-
-
- int32 IFindLast(const BString &) const;
- |
-
-
- |
-
- |
-
-
- int32 IFindLast(const char *) const;
- |
-
-
- |
-
- |
-
-
- int32 IFindLast(const BString &, int32 beforeOffset) const;
- |
-
-
- |
-
- |
-
-
- int32 IFindLast(const char *, int32 beforeOffset) const;
- |
-
-
- |
-
- |
-
-
- BString& ReplaceFirst(char replaceThis, char withThis);
- |
-
-
- |
-
- |
-
-
- BString& ReplaceLast(char replaceThis, char withThis);
- |
-
-
- |
-
- |
-
-
- BString& ReplaceAll(char replaceThis, char withThis, int32 fromOffset = 0);
- |
-
-
- |
-
- |
-
-
- BString& Replace(char replaceThis, char withThis, int32 maxReplaceCount, int32 fromOffset = 0);
- |
-
-
- |
-
- |
-
-
- BString& ReplaceFirst(const char *replaceThis, const char *withThis);
- |
-
-
- |
-
- |
-
-
- BString& ReplaceLast(const char *replaceThis, const char *withThis);
- |
-
-
- |
-
- |
-
-
- BString& ReplaceAll(const char *replaceThis, const char *withThis, int32 fromOffset = 0);
- |
-
-
- |
-
- |
-
-
- BString& Replace(const char *replaceThis, const char *withThis, int32 maxReplaceCount, int32 fromOffset = 0);
- |
-
-
- |
-
- |
-
-
- BString& IReplaceFirst(char replaceThis, char withThis);
- |
-
-
- |
-
- |
-
-
- BString& IReplaceLast(char replaceThis, char withThis);
- |
-
-
- |
-
- |
-
-
- BString& IReplaceAll(char replaceThis, char withThis, int32 fromOffset = 0);
- |
-
-
- |
-
- |
-
-
- BString& IReplace(char replaceThis, char withThis, int32 maxReplaceCount, int32 fromOffset = 0);
- |
-
-
- |
-
- |
-
-
- BString& IReplaceFirst(const char *replaceThis, const char *withThis);
- |
-
-
- |
-
- |
-
-
- BString& IReplaceLast(const char *replaceThis, const char *withThis);
- |
-
-
- |
-
- |
-
-
- BString& IReplaceAll(const char *replaceThis, const char *withThis, int32 fromOffset = 0);
- |
-
-
- |
-
- |
-
-
- BString& IReplace(const char *replaceThis, const char *withThis, int32 maxReplaceCount, int32 fromOffset = 0);
- |
-
-
- |
-
- |
-
-
- BString& ReplaceSet(const char *setOfChars, char with);
- |
-
-
- |
-
- |
-
-
- BString& ReplaceSet(const char *setOfChars, const char *with);
- |
-
-
- |
-
- |
-
-
- char operator[](int32 index) const;
- |
-
-
- |
-
- |
-
-
- char& operator[](int32 index);
- |
-
-
- |
-
- |
-
-
- char ByteAt(int32 index) const;
- |
-
-
- |
-
- |
-
-
- char* LockBuffer(int32 maxLength);
- |
-
-
- |
-
- |
-
-
- BString& UnlockBuffer(int32 length = -1);
- |
-
-
- |
-
- |
-
-
- BString& ToLower();
- |
-
-
- |
-
- |
-
-
- BString& ToUpper();
- |
-
-
- |
-
- |
-
-
- BString& Capitalize();
- |
-
-
- |
-
- |
-
-
- BString& CapitalizeEachWord();
- |
-
-
- |
-
- |
-
-
- BString& CharacterEscape(const char* original, const char* setOfCharsToEscape, char escapeWith);
- |
-
-
- |
-
- |
-
-
- BString& CharacterEscape(const char *setOfCharsToEscape, char escapeWith);
- |
-
-
- |
-
- |
-
-
- BString& CharacterDeescape(const char *original, char escapeChar);
- |
-
-
- |
-
- |
-
-
- BString& CharacterDeescape(char escapeChar);
- |
-
-
- |
-
- |
-
-
- BString& operator<<(const char *);
- |
-
-
- |
-
- |
-
-
- BString& operator<<(const BString &);
- |
-
-
- |
-
- |
-
-
- BString& operator<<(char);
- |
-
-
- |
-
- |
-
-
- BString& operator<<(int);
- |
-
-
- |
-
- |
-
-
- BString& operator<<(unsigned int);
- |
-
-
- |
-
- |
-
-
- BString& operator<<(uint32);
- |
-
-
- |
-
- |
-
-
- BString& operator<<(int32);
- |
-
-
- |
-
- |
-
-
- BString& operator<<(uint64);
- |
-
-
- |
-
- |
-
-
- BString& operator<<(int64);
- |
-
-
- |
-
- |
-
-
- BString& operator<<(float);
- |
-
-
-
- | BBlockCache Class |
-
-
- |
-
- |
-
-
- BBlockCache(size_t cache_size, size_t block_size, uint32 type);
- |
-
-
- |
-
- |
-
-
- virtual ~BBlockCache();
- |
-
-
- |
-
- |
-
-
- void* Get(size_t block_size);
- |
-
-
- |
-
- |
-
-
- void Save(void *pointer, size_t block_size);
- |
-
-
-
- | BStopWatch Class |
-
-
- |
-
- |
-
-
- BStopWatch(const char *name, bool silent = false);
- |
-
-
- |
-
- |
-
-
- virtual ~BStopWatch();
- |
-
-
- |
-
- |
-
-
- void Suspend();
- |
-
-
- |
-
- |
-
-
- void Resume();
- |
-
-
- |
-
- |
-
-
- bigtime_t Lap();
- |
-
-
- |
-
- |
-
-
- bigtime_t ElapsedTime() const;
- |
-
-
- |
-
- |
-
-
- void Reset();
- |
-
-
- |
-
- |
-
-
- const char* Name() const;
- |
-
-
-
-
-
-Here is the schedule for the Interface Kit Team. To help organize our work,
-tasks have been broken into 4 general areas:
-
-Organizationally, it's best to consider these as separate projects within the
-scope of the IK Team's charter. As such, core contributors should pick a
-project and stick with it -- it will make things a lot easier to keep track of,
-and losing track of stuff would be a bad thing. =)
-
-DarkWyrm is the technical lead for the app_server; he has done an enormous amount
-of research and he is currently in the best position to lead the effort.
-
-Erik Jakowatz will continue in his capacity as overall project lead, as well as
-being directly involved in Integration as technical lead.
-
-A word of warning: this schedule is downright huge because of the sheer number of
-items to be completed. There is a paper available in which the rationale behind the
-schedule is discussed.
-
-