3 <title>Advanced Control Widgets Tasks
</title>
6 <h1>Advanced Control Widgets Tasks
<hr></h1>
11 <!-- table column headers -->
16 <img src=
"../../images/DocumentDraw.gif" width=
"22" height=
"22" alt=
"Functional Spec" border=
"0">
21 <img src=
"../../images/User.gif" width=
"22" height=
"22" alt=
"Use Cases" border=
"0">
26 <img src=
"../../images/Help.gif" width=
"22" height=
"22" alt=
"Unit Tests" border=
"0">
31 <img src=
"../../images/Hammer.gif" width=
"22" height=
"22" alt=
"Technical Spec" border=
"0">
36 <img src=
"../../images/GoalFlag.gif" width=
"22" height=
"22" alt=
"Implementation" border=
"0">
41 <th><strong>Task Summary
</strong></th>
42 <th><strong>Owner
</strong></th>
47 ../../images/blank-20.gif
48 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
50 ../../images/blank-20.gif
51 " width=
"22" height=
"22" alt=
"Use Cases"></td>
53 ../../images/blank-20.gif
54 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
56 ../../images/blank-20.gif
57 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
59 ../../images/blank-20.gif
60 " width=
"22" height=
"22" alt=
"Implementation"></td>
76 ../../images/blank-20.gif
77 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
79 ../../images/blank-20.gif
80 " width=
"22" height=
"22" alt=
"Use Cases"></td>
82 ../../images/blank-20.gif
83 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
85 ../../images/blank-20.gif
86 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
88 ../../images/blank-20.gif
89 " width=
"22" height=
"22" alt=
"Implementation"></td>
105 ../../images/blank-20.gif
106 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
108 ../../images/blank-20.gif
109 " width=
"22" height=
"22" alt=
"Use Cases"></td>
111 ../../images/blank-20.gif
112 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
114 ../../images/blank-20.gif
115 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
117 ../../images/blank-20.gif
118 " width=
"22" height=
"22" alt=
"Implementation"></td>
134 ../../images/blank-20.gif
135 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
137 ../../images/blank-20.gif
138 " width=
"22" height=
"22" alt=
"Use Cases"></td>
140 ../../images/blank-20.gif
141 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
143 ../../images/blank-20.gif
144 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
146 ../../images/blank-20.gif
147 " width=
"22" height=
"22" alt=
"Implementation"></td>
163 ../../images/blank-20.gif
164 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
166 ../../images/blank-20.gif
167 " width=
"22" height=
"22" alt=
"Use Cases"></td>
169 ../../images/blank-20.gif
170 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
172 ../../images/blank-20.gif
173 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
175 ../../images/blank-20.gif
176 " width=
"22" height=
"22" alt=
"Implementation"></td>
197 <!-- detail table -->
199 <!-- table column headers -->
204 <img src=
"../../images/DocumentDraw.gif" width=
"22" height=
"22" alt=
"Functional Spec" border=
"0">
209 <img src=
"../../images/User.gif" width=
"22" height=
"22" alt=
"Use Cases" border=
"0">
214 <img src=
"../../images/Help.gif" width=
"22" height=
"22" alt=
"Unit Tests" border=
"0">
219 <img src=
"../../images/Hammer.gif" width=
"22" height=
"22" alt=
"Technical Spec" border=
"0">
224 <img src=
"../../images/GoalFlag.gif" width=
"22" height=
"22" alt=
"Implementation" border=
"0">
229 <th width=
"100%"><strong>Task Details
</strong></th>
230 <!-- <th><strong>Owner</strong></th> -->
232 <!-- Class header -->
234 <td colspan=
"7"><center><strong>BChannelControl Class
</strong></center></td>
240 ../../images/blank-20.gif
241 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
243 ../../images/blank-20.gif
244 " width=
"22" height=
"22" alt=
"Use Cases"></td>
246 ../../images/blank-20.gif
247 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
249 ../../images/blank-20.gif
250 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
252 ../../images/blank-20.gif
253 " width=
"22" height=
"22" alt=
"Implementation"></td>
258 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);
265 ../../images/blank-20.gif
266 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
268 ../../images/blank-20.gif
269 " width=
"22" height=
"22" alt=
"Use Cases"></td>
271 ../../images/blank-20.gif
272 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
274 ../../images/blank-20.gif
275 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
277 ../../images/blank-20.gif
278 " width=
"22" height=
"22" alt=
"Implementation"></td>
283 BChannelControl(BMessage* from);
290 ../../images/blank-20.gif
291 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
293 ../../images/blank-20.gif
294 " width=
"22" height=
"22" alt=
"Use Cases"></td>
296 ../../images/blank-20.gif
297 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
299 ../../images/blank-20.gif
300 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
302 ../../images/blank-20.gif
303 " width=
"22" height=
"22" alt=
"Implementation"></td>
308 virtual ~BChannelControl();
315 ../../images/blank-20.gif
316 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
318 ../../images/blank-20.gif
319 " width=
"22" height=
"22" alt=
"Use Cases"></td>
321 ../../images/blank-20.gif
322 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
324 ../../images/blank-20.gif
325 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
327 ../../images/blank-20.gif
328 " width=
"22" height=
"22" alt=
"Implementation"></td>
333 virtual status_t Archive(BMessage* into, bool deep = true) const;
340 ../../images/blank-20.gif
341 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
343 ../../images/blank-20.gif
344 " width=
"22" height=
"22" alt=
"Use Cases"></td>
346 ../../images/blank-20.gif
347 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
349 ../../images/blank-20.gif
350 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
352 ../../images/blank-20.gif
353 " width=
"22" height=
"22" alt=
"Implementation"></td>
358 virtual void Draw(BRect area) =
0;
365 ../../images/blank-20.gif
366 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
368 ../../images/blank-20.gif
369 " width=
"22" height=
"22" alt=
"Use Cases"></td>
371 ../../images/blank-20.gif
372 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
374 ../../images/blank-20.gif
375 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
377 ../../images/blank-20.gif
378 " width=
"22" height=
"22" alt=
"Implementation"></td>
383 virtual void MouseDown(BPoint where) =
0;
390 ../../images/blank-20.gif
391 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
393 ../../images/blank-20.gif
394 " width=
"22" height=
"22" alt=
"Use Cases"></td>
396 ../../images/blank-20.gif
397 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
399 ../../images/blank-20.gif
400 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
402 ../../images/blank-20.gif
403 " width=
"22" height=
"22" alt=
"Implementation"></td>
408 virtual void KeyDown(const char* bytes, int32 size) =
0;
415 ../../images/blank-20.gif
416 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
418 ../../images/blank-20.gif
419 " width=
"22" height=
"22" alt=
"Use Cases"></td>
421 ../../images/blank-20.gif
422 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
424 ../../images/blank-20.gif
425 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
427 ../../images/blank-20.gif
428 " width=
"22" height=
"22" alt=
"Implementation"></td>
433 virtual void FrameResized(float width, float height);
440 ../../images/blank-20.gif
441 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
443 ../../images/blank-20.gif
444 " width=
"22" height=
"22" alt=
"Use Cases"></td>
446 ../../images/blank-20.gif
447 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
449 ../../images/blank-20.gif
450 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
452 ../../images/blank-20.gif
453 " width=
"22" height=
"22" alt=
"Implementation"></td>
458 virtual void SetFont(const BFont* font, uint32 mask = B_FONT_ALL);
465 ../../images/blank-20.gif
466 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
468 ../../images/blank-20.gif
469 " width=
"22" height=
"22" alt=
"Use Cases"></td>
471 ../../images/blank-20.gif
472 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
474 ../../images/blank-20.gif
475 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
477 ../../images/blank-20.gif
478 " width=
"22" height=
"22" alt=
"Implementation"></td>
483 virtual void AttachedToWindow();
490 ../../images/blank-20.gif
491 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
493 ../../images/blank-20.gif
494 " width=
"22" height=
"22" alt=
"Use Cases"></td>
496 ../../images/blank-20.gif
497 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
499 ../../images/blank-20.gif
500 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
502 ../../images/blank-20.gif
503 " width=
"22" height=
"22" alt=
"Implementation"></td>
508 virtual void DetachedFromWindow();
515 ../../images/blank-20.gif
516 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
518 ../../images/blank-20.gif
519 " width=
"22" height=
"22" alt=
"Use Cases"></td>
521 ../../images/blank-20.gif
522 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
524 ../../images/blank-20.gif
525 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
527 ../../images/blank-20.gif
528 " width=
"22" height=
"22" alt=
"Implementation"></td>
533 virtual void ResizeToPreferred();
540 ../../images/blank-20.gif
541 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
543 ../../images/blank-20.gif
544 " width=
"22" height=
"22" alt=
"Use Cases"></td>
546 ../../images/blank-20.gif
547 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
549 ../../images/blank-20.gif
550 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
552 ../../images/blank-20.gif
553 " width=
"22" height=
"22" alt=
"Implementation"></td>
558 virtual void GetPreferredSize(float* width, float* height) =
0;
565 ../../images/blank-20.gif
566 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
568 ../../images/blank-20.gif
569 " width=
"22" height=
"22" alt=
"Use Cases"></td>
571 ../../images/blank-20.gif
572 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
574 ../../images/blank-20.gif
575 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
577 ../../images/blank-20.gif
578 " width=
"22" height=
"22" alt=
"Implementation"></td>
583 virtual void MessageReceived(BMessage* message);
590 ../../images/blank-20.gif
591 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
593 ../../images/blank-20.gif
594 " width=
"22" height=
"22" alt=
"Use Cases"></td>
596 ../../images/blank-20.gif
597 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
599 ../../images/blank-20.gif
600 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
602 ../../images/blank-20.gif
603 " width=
"22" height=
"22" alt=
"Implementation"></td>
608 virtual BHandler *ResolveSpecifier(BMessage *msg, int32 index, BMessage *specifier, int32 form, const char *property);
615 ../../images/blank-20.gif
616 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
618 ../../images/blank-20.gif
619 " width=
"22" height=
"22" alt=
"Use Cases"></td>
621 ../../images/blank-20.gif
622 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
624 ../../images/blank-20.gif
625 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
627 ../../images/blank-20.gif
628 " width=
"22" height=
"22" alt=
"Implementation"></td>
633 virtual status_t GetSupportedSuites(BMessage *data);
640 ../../images/blank-20.gif
641 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
643 ../../images/blank-20.gif
644 " width=
"22" height=
"22" alt=
"Use Cases"></td>
646 ../../images/blank-20.gif
647 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
649 ../../images/blank-20.gif
650 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
652 ../../images/blank-20.gif
653 " width=
"22" height=
"22" alt=
"Implementation"></td>
658 virtual void SetModificationMessage(BMessage *message);
665 ../../images/blank-20.gif
666 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
668 ../../images/blank-20.gif
669 " width=
"22" height=
"22" alt=
"Use Cases"></td>
671 ../../images/blank-20.gif
672 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
674 ../../images/blank-20.gif
675 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
677 ../../images/blank-20.gif
678 " width=
"22" height=
"22" alt=
"Implementation"></td>
683 BMessage *ModificationMessage() const;
690 ../../images/blank-20.gif
691 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
693 ../../images/blank-20.gif
694 " width=
"22" height=
"22" alt=
"Use Cases"></td>
696 ../../images/blank-20.gif
697 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
699 ../../images/blank-20.gif
700 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
702 ../../images/blank-20.gif
703 " width=
"22" height=
"22" alt=
"Implementation"></td>
708 virtual status_t Invoke(BMessage *msg = NULL);
715 ../../images/blank-20.gif
716 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
718 ../../images/blank-20.gif
719 " width=
"22" height=
"22" alt=
"Use Cases"></td>
721 ../../images/blank-20.gif
722 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
724 ../../images/blank-20.gif
725 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
727 ../../images/blank-20.gif
728 " width=
"22" height=
"22" alt=
"Implementation"></td>
733 virtual status_t InvokeChannel(BMessage *msg = NULL, int32 from_channel =
0, int32 channel_count = -
1, const bool* in_mask = NULL);
740 ../../images/blank-20.gif
741 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
743 ../../images/blank-20.gif
744 " width=
"22" height=
"22" alt=
"Use Cases"></td>
746 ../../images/blank-20.gif
747 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
749 ../../images/blank-20.gif
750 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
752 ../../images/blank-20.gif
753 " width=
"22" height=
"22" alt=
"Implementation"></td>
758 status_t InvokeNotifyChannel(BMessage *msg = NULL, uint32 kind = B_CONTROL_INVOKED, int32 from_channel =
0, int32 channel_count = -
1, const bool* in_mask = NULL);
765 ../../images/blank-20.gif
766 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
768 ../../images/blank-20.gif
769 " width=
"22" height=
"22" alt=
"Use Cases"></td>
771 ../../images/blank-20.gif
772 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
774 ../../images/blank-20.gif
775 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
777 ../../images/blank-20.gif
778 " width=
"22" height=
"22" alt=
"Implementation"></td>
783 virtual voidSetValue(int32 value);
790 ../../images/blank-20.gif
791 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
793 ../../images/blank-20.gif
794 " width=
"22" height=
"22" alt=
"Use Cases"></td>
796 ../../images/blank-20.gif
797 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
799 ../../images/blank-20.gif
800 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
802 ../../images/blank-20.gif
803 " width=
"22" height=
"22" alt=
"Implementation"></td>
808 virtual status_t SetCurrentChannel(int32 channel);
815 ../../images/blank-20.gif
816 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
818 ../../images/blank-20.gif
819 " width=
"22" height=
"22" alt=
"Use Cases"></td>
821 ../../images/blank-20.gif
822 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
824 ../../images/blank-20.gif
825 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
827 ../../images/blank-20.gif
828 " width=
"22" height=
"22" alt=
"Implementation"></td>
833 int32 CurrentChannel() const;
840 ../../images/blank-20.gif
841 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
843 ../../images/blank-20.gif
844 " width=
"22" height=
"22" alt=
"Use Cases"></td>
846 ../../images/blank-20.gif
847 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
849 ../../images/blank-20.gif
850 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
852 ../../images/blank-20.gif
853 " width=
"22" height=
"22" alt=
"Implementation"></td>
858 virtual int32 CountChannels() const;
865 ../../images/blank-20.gif
866 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
868 ../../images/blank-20.gif
869 " width=
"22" height=
"22" alt=
"Use Cases"></td>
871 ../../images/blank-20.gif
872 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
874 ../../images/blank-20.gif
875 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
877 ../../images/blank-20.gif
878 " width=
"22" height=
"22" alt=
"Implementation"></td>
883 virtual int32 MaxChannelCount() const =
0;
890 ../../images/blank-20.gif
891 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
893 ../../images/blank-20.gif
894 " width=
"22" height=
"22" alt=
"Use Cases"></td>
896 ../../images/blank-20.gif
897 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
899 ../../images/blank-20.gif
900 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
902 ../../images/blank-20.gif
903 " width=
"22" height=
"22" alt=
"Implementation"></td>
908 virtual status_t SetChannelCount(int32 channel_count);
915 ../../images/blank-20.gif
916 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
918 ../../images/blank-20.gif
919 " width=
"22" height=
"22" alt=
"Use Cases"></td>
921 ../../images/blank-20.gif
922 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
924 ../../images/blank-20.gif
925 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
927 ../../images/blank-20.gif
928 " width=
"22" height=
"22" alt=
"Implementation"></td>
933 int32 ValueFor(int32 channel) const;
940 ../../images/blank-20.gif
941 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
943 ../../images/blank-20.gif
944 " width=
"22" height=
"22" alt=
"Use Cases"></td>
946 ../../images/blank-20.gif
947 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
949 ../../images/blank-20.gif
950 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
952 ../../images/blank-20.gif
953 " width=
"22" height=
"22" alt=
"Implementation"></td>
958 virtual int32 GetValue(int32* out_values, int32 from_channel, int32 channel_count) const;
965 ../../images/blank-20.gif
966 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
968 ../../images/blank-20.gif
969 " width=
"22" height=
"22" alt=
"Use Cases"></td>
971 ../../images/blank-20.gif
972 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
974 ../../images/blank-20.gif
975 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
977 ../../images/blank-20.gif
978 " width=
"22" height=
"22" alt=
"Implementation"></td>
983 status_t SetValueFor(int32 channel, int32 value);
990 ../../images/blank-20.gif
991 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
993 ../../images/blank-20.gif
994 " width=
"22" height=
"22" alt=
"Use Cases"></td>
996 ../../images/blank-20.gif
997 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
999 ../../images/blank-20.gif
1000 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
1002 ../../images/blank-20.gif
1003 " width=
"22" height=
"22" alt=
"Implementation"></td>
1008 virtual status_t SetValue(int32 from_channel, int32 channel_count, const int32* in_values);
1015 ../../images/blank-20.gif
1016 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
1018 ../../images/blank-20.gif
1019 " width=
"22" height=
"22" alt=
"Use Cases"></td>
1021 ../../images/blank-20.gif
1022 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
1024 ../../images/blank-20.gif
1025 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
1027 ../../images/blank-20.gif
1028 " width=
"22" height=
"22" alt=
"Implementation"></td>
1033 status_t SetAllValue(int32 values);
1040 ../../images/blank-20.gif
1041 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
1043 ../../images/blank-20.gif
1044 " width=
"22" height=
"22" alt=
"Use Cases"></td>
1046 ../../images/blank-20.gif
1047 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
1049 ../../images/blank-20.gif
1050 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
1052 ../../images/blank-20.gif
1053 " width=
"22" height=
"22" alt=
"Implementation"></td>
1058 status_t SetLimitsFor(int32 channel, int32 minimum, int32 maximum);
1065 ../../images/blank-20.gif
1066 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
1068 ../../images/blank-20.gif
1069 " width=
"22" height=
"22" alt=
"Use Cases"></td>
1071 ../../images/blank-20.gif
1072 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
1074 ../../images/blank-20.gif
1075 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
1077 ../../images/blank-20.gif
1078 " width=
"22" height=
"22" alt=
"Implementation"></td>
1083 status_t GetLimitsFor(int32 channel, int32* minimum, int32* maximum) const ;
1090 ../../images/blank-20.gif
1091 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
1093 ../../images/blank-20.gif
1094 " width=
"22" height=
"22" alt=
"Use Cases"></td>
1096 ../../images/blank-20.gif
1097 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
1099 ../../images/blank-20.gif
1100 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
1102 ../../images/blank-20.gif
1103 " width=
"22" height=
"22" alt=
"Implementation"></td>
1108 virtual status_t SetLimitsFor(int32 from_channel, int32 channel_count, const int32* minimum, const int32* maximum);
1115 ../../images/blank-20.gif
1116 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
1118 ../../images/blank-20.gif
1119 " width=
"22" height=
"22" alt=
"Use Cases"></td>
1121 ../../images/blank-20.gif
1122 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
1124 ../../images/blank-20.gif
1125 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
1127 ../../images/blank-20.gif
1128 " width=
"22" height=
"22" alt=
"Implementation"></td>
1133 virtual status_t GetLimitsFor(int32 from_channel, int32 channel_count, int32* minimum, int32* maximum) const;
1140 ../../images/blank-20.gif
1141 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
1143 ../../images/blank-20.gif
1144 " width=
"22" height=
"22" alt=
"Use Cases"></td>
1146 ../../images/blank-20.gif
1147 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
1149 ../../images/blank-20.gif
1150 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
1152 ../../images/blank-20.gif
1153 " width=
"22" height=
"22" alt=
"Implementation"></td>
1158 status_t SetLimits(int32 minimum, int32 maximum);
1165 ../../images/blank-20.gif
1166 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
1168 ../../images/blank-20.gif
1169 " width=
"22" height=
"22" alt=
"Use Cases"></td>
1171 ../../images/blank-20.gif
1172 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
1174 ../../images/blank-20.gif
1175 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
1177 ../../images/blank-20.gif
1178 " width=
"22" height=
"22" alt=
"Implementation"></td>
1183 status_t GetLimits(int32* outMinimum, int32* outMaximum) const;
1190 ../../images/blank-20.gif
1191 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
1193 ../../images/blank-20.gif
1194 " width=
"22" height=
"22" alt=
"Use Cases"></td>
1196 ../../images/blank-20.gif
1197 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
1199 ../../images/blank-20.gif
1200 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
1202 ../../images/blank-20.gif
1203 " width=
"22" height=
"22" alt=
"Implementation"></td>
1208 virtual bool SupportsIndividualLimits() const =
0;
1215 ../../images/blank-20.gif
1216 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
1218 ../../images/blank-20.gif
1219 " width=
"22" height=
"22" alt=
"Use Cases"></td>
1221 ../../images/blank-20.gif
1222 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
1224 ../../images/blank-20.gif
1225 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
1227 ../../images/blank-20.gif
1228 " width=
"22" height=
"22" alt=
"Implementation"></td>
1233 virtual status_t SetLimitLabels(const char* min_label, const char* max_label);
1240 ../../images/blank-20.gif
1241 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
1243 ../../images/blank-20.gif
1244 " width=
"22" height=
"22" alt=
"Use Cases"></td>
1246 ../../images/blank-20.gif
1247 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
1249 ../../images/blank-20.gif
1250 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
1252 ../../images/blank-20.gif
1253 " width=
"22" height=
"22" alt=
"Implementation"></td>
1258 const char* MinLimitLabel() const;
1265 ../../images/blank-20.gif
1266 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
1268 ../../images/blank-20.gif
1269 " width=
"22" height=
"22" alt=
"Use Cases"></td>
1271 ../../images/blank-20.gif
1272 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
1274 ../../images/blank-20.gif
1275 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
1277 ../../images/blank-20.gif
1278 " width=
"22" height=
"22" alt=
"Implementation"></td>
1283 const char* MaxLimitLabel() const;
1290 ../../images/blank-20.gif
1291 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
1293 ../../images/blank-20.gif
1294 " width=
"22" height=
"22" alt=
"Use Cases"></td>
1296 ../../images/blank-20.gif
1297 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
1299 ../../images/blank-20.gif
1300 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
1302 ../../images/blank-20.gif
1303 " width=
"22" height=
"22" alt=
"Implementation"></td>
1308 virtual status_t SetLimitLabelsFor(int32 channel, const char* minLabel, const char* maxLabel);
1315 ../../images/blank-20.gif
1316 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
1318 ../../images/blank-20.gif
1319 " width=
"22" height=
"22" alt=
"Use Cases"></td>
1321 ../../images/blank-20.gif
1322 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
1324 ../../images/blank-20.gif
1325 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
1327 ../../images/blank-20.gif
1328 " width=
"22" height=
"22" alt=
"Implementation"></td>
1333 virtual status_t SetLimitLabelsFor(int32 from_channel, int32 channel_count, const char* minLabel, const char* maxLabel);
1340 ../../images/blank-20.gif
1341 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
1343 ../../images/blank-20.gif
1344 " width=
"22" height=
"22" alt=
"Use Cases"></td>
1346 ../../images/blank-20.gif
1347 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
1349 ../../images/blank-20.gif
1350 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
1352 ../../images/blank-20.gif
1353 " width=
"22" height=
"22" alt=
"Implementation"></td>
1358 const char* MinLimitLabelFor(int32 channel) const;
1365 ../../images/blank-20.gif
1366 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
1368 ../../images/blank-20.gif
1369 " width=
"22" height=
"22" alt=
"Use Cases"></td>
1371 ../../images/blank-20.gif
1372 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
1374 ../../images/blank-20.gif
1375 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
1377 ../../images/blank-20.gif
1378 " width=
"22" height=
"22" alt=
"Implementation"></td>
1383 const char* MaxLimitLabelFor(int32 channel) const;
1386 <!-- Class header -->
1388 <td colspan=
"7"><center><strong>BChannelSlider Class
</strong></center></td>
1394 ../../images/blank-20.gif
1395 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
1397 ../../images/blank-20.gif
1398 " width=
"22" height=
"22" alt=
"Use Cases"></td>
1400 ../../images/blank-20.gif
1401 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
1403 ../../images/blank-20.gif
1404 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
1406 ../../images/blank-20.gif
1407 " width=
"22" height=
"22" alt=
"Implementation"></td>
1412 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);
1419 ../../images/blank-20.gif
1420 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
1422 ../../images/blank-20.gif
1423 " width=
"22" height=
"22" alt=
"Use Cases"></td>
1425 ../../images/blank-20.gif
1426 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
1428 ../../images/blank-20.gif
1429 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
1431 ../../images/blank-20.gif
1432 " width=
"22" height=
"22" alt=
"Implementation"></td>
1437 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);
1444 ../../images/blank-20.gif
1445 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
1447 ../../images/blank-20.gif
1448 " width=
"22" height=
"22" alt=
"Use Cases"></td>
1450 ../../images/blank-20.gif
1451 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
1453 ../../images/blank-20.gif
1454 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
1456 ../../images/blank-20.gif
1457 " width=
"22" height=
"22" alt=
"Implementation"></td>
1462 BChannelSlider(BMessage* from);
1469 ../../images/blank-20.gif
1470 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
1472 ../../images/blank-20.gif
1473 " width=
"22" height=
"22" alt=
"Use Cases"></td>
1475 ../../images/blank-20.gif
1476 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
1478 ../../images/blank-20.gif
1479 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
1481 ../../images/blank-20.gif
1482 " width=
"22" height=
"22" alt=
"Implementation"></td>
1487 virtual ~BChannelSlider();
1494 ../../images/blank-20.gif
1495 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
1497 ../../images/blank-20.gif
1498 " width=
"22" height=
"22" alt=
"Use Cases"></td>
1500 ../../images/blank-20.gif
1501 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
1503 ../../images/blank-20.gif
1504 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
1506 ../../images/blank-20.gif
1507 " width=
"22" height=
"22" alt=
"Implementation"></td>
1512 static BArchivable* Instantiate(BMessage* from);
1519 ../../images/blank-20.gif
1520 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
1522 ../../images/blank-20.gif
1523 " width=
"22" height=
"22" alt=
"Use Cases"></td>
1525 ../../images/blank-20.gif
1526 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
1528 ../../images/blank-20.gif
1529 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
1531 ../../images/blank-20.gif
1532 " width=
"22" height=
"22" alt=
"Implementation"></td>
1537 virtual status_t Archive(BMessage* into, bool deep = true) const;
1544 ../../images/blank-20.gif
1545 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
1547 ../../images/blank-20.gif
1548 " width=
"22" height=
"22" alt=
"Use Cases"></td>
1550 ../../images/blank-20.gif
1551 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
1553 ../../images/blank-20.gif
1554 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
1556 ../../images/blank-20.gif
1557 " width=
"22" height=
"22" alt=
"Implementation"></td>
1562 virtual orientation Orientation() const;
1569 ../../images/blank-20.gif
1570 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
1572 ../../images/blank-20.gif
1573 " width=
"22" height=
"22" alt=
"Use Cases"></td>
1575 ../../images/blank-20.gif
1576 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
1578 ../../images/blank-20.gif
1579 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
1581 ../../images/blank-20.gif
1582 " width=
"22" height=
"22" alt=
"Implementation"></td>
1587 void SetOrientation(orientation o);
1594 ../../images/blank-20.gif
1595 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
1597 ../../images/blank-20.gif
1598 " width=
"22" height=
"22" alt=
"Use Cases"></td>
1600 ../../images/blank-20.gif
1601 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
1603 ../../images/blank-20.gif
1604 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
1606 ../../images/blank-20.gif
1607 " width=
"22" height=
"22" alt=
"Implementation"></td>
1612 virtual int32 MaxChannelCount() const;
1619 ../../images/blank-20.gif
1620 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
1622 ../../images/blank-20.gif
1623 " width=
"22" height=
"22" alt=
"Use Cases"></td>
1625 ../../images/blank-20.gif
1626 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
1628 ../../images/blank-20.gif
1629 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
1631 ../../images/blank-20.gif
1632 " width=
"22" height=
"22" alt=
"Implementation"></td>
1637 virtual bool SupportsIndividualLimits() const;
1644 ../../images/blank-20.gif
1645 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
1647 ../../images/blank-20.gif
1648 " width=
"22" height=
"22" alt=
"Use Cases"></td>
1650 ../../images/blank-20.gif
1651 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
1653 ../../images/blank-20.gif
1654 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
1656 ../../images/blank-20.gif
1657 " width=
"22" height=
"22" alt=
"Implementation"></td>
1662 virtual void AttachedToWindow();
1669 ../../images/blank-20.gif
1670 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
1672 ../../images/blank-20.gif
1673 " width=
"22" height=
"22" alt=
"Use Cases"></td>
1675 ../../images/blank-20.gif
1676 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
1678 ../../images/blank-20.gif
1679 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
1681 ../../images/blank-20.gif
1682 " width=
"22" height=
"22" alt=
"Implementation"></td>
1687 virtual void AllAttached();
1694 ../../images/blank-20.gif
1695 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
1697 ../../images/blank-20.gif
1698 " width=
"22" height=
"22" alt=
"Use Cases"></td>
1700 ../../images/blank-20.gif
1701 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
1703 ../../images/blank-20.gif
1704 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
1706 ../../images/blank-20.gif
1707 " width=
"22" height=
"22" alt=
"Implementation"></td>
1712 virtual void DetachedFromWindow();
1719 ../../images/blank-20.gif
1720 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
1722 ../../images/blank-20.gif
1723 " width=
"22" height=
"22" alt=
"Use Cases"></td>
1725 ../../images/blank-20.gif
1726 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
1728 ../../images/blank-20.gif
1729 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
1731 ../../images/blank-20.gif
1732 " width=
"22" height=
"22" alt=
"Implementation"></td>
1737 virtual void AllDetached();
1744 ../../images/blank-20.gif
1745 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
1747 ../../images/blank-20.gif
1748 " width=
"22" height=
"22" alt=
"Use Cases"></td>
1750 ../../images/blank-20.gif
1751 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
1753 ../../images/blank-20.gif
1754 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
1756 ../../images/blank-20.gif
1757 " width=
"22" height=
"22" alt=
"Implementation"></td>
1762 virtual void MessageReceived(BMessage* msg);
1769 ../../images/blank-20.gif
1770 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
1772 ../../images/blank-20.gif
1773 " width=
"22" height=
"22" alt=
"Use Cases"></td>
1775 ../../images/blank-20.gif
1776 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
1778 ../../images/blank-20.gif
1779 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
1781 ../../images/blank-20.gif
1782 " width=
"22" height=
"22" alt=
"Implementation"></td>
1787 virtual void Draw(BRect area);
1794 ../../images/blank-20.gif
1795 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
1797 ../../images/blank-20.gif
1798 " width=
"22" height=
"22" alt=
"Use Cases"></td>
1800 ../../images/blank-20.gif
1801 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
1803 ../../images/blank-20.gif
1804 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
1806 ../../images/blank-20.gif
1807 " width=
"22" height=
"22" alt=
"Implementation"></td>
1812 virtual void MouseDown(BPoint where);
1819 ../../images/blank-20.gif
1820 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
1822 ../../images/blank-20.gif
1823 " width=
"22" height=
"22" alt=
"Use Cases"></td>
1825 ../../images/blank-20.gif
1826 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
1828 ../../images/blank-20.gif
1829 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
1831 ../../images/blank-20.gif
1832 " width=
"22" height=
"22" alt=
"Implementation"></td>
1837 virtual void MouseUp(BPoint pt);
1844 ../../images/blank-20.gif
1845 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
1847 ../../images/blank-20.gif
1848 " width=
"22" height=
"22" alt=
"Use Cases"></td>
1850 ../../images/blank-20.gif
1851 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
1853 ../../images/blank-20.gif
1854 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
1856 ../../images/blank-20.gif
1857 " width=
"22" height=
"22" alt=
"Implementation"></td>
1862 virtual void MouseMoved(BPoint pt, uint32 code, const BMessage* message);
1869 ../../images/blank-20.gif
1870 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
1872 ../../images/blank-20.gif
1873 " width=
"22" height=
"22" alt=
"Use Cases"></td>
1875 ../../images/blank-20.gif
1876 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
1878 ../../images/blank-20.gif
1879 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
1881 ../../images/blank-20.gif
1882 " width=
"22" height=
"22" alt=
"Implementation"></td>
1887 virtual void WindowActivated(bool state);
1894 ../../images/blank-20.gif
1895 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
1897 ../../images/blank-20.gif
1898 " width=
"22" height=
"22" alt=
"Use Cases"></td>
1900 ../../images/blank-20.gif
1901 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
1903 ../../images/blank-20.gif
1904 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
1906 ../../images/blank-20.gif
1907 " width=
"22" height=
"22" alt=
"Implementation"></td>
1912 virtual void KeyDown(const char* bytes, int32 numBytes);
1919 ../../images/blank-20.gif
1920 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
1922 ../../images/blank-20.gif
1923 " width=
"22" height=
"22" alt=
"Use Cases"></td>
1925 ../../images/blank-20.gif
1926 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
1928 ../../images/blank-20.gif
1929 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
1931 ../../images/blank-20.gif
1932 " width=
"22" height=
"22" alt=
"Implementation"></td>
1937 virtual void KeyUp(const char* bytes, int32 numBytes);
1944 ../../images/blank-20.gif
1945 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
1947 ../../images/blank-20.gif
1948 " width=
"22" height=
"22" alt=
"Use Cases"></td>
1950 ../../images/blank-20.gif
1951 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
1953 ../../images/blank-20.gif
1954 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
1956 ../../images/blank-20.gif
1957 " width=
"22" height=
"22" alt=
"Implementation"></td>
1962 virtual void FrameResized(float width, float height);
1969 ../../images/blank-20.gif
1970 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
1972 ../../images/blank-20.gif
1973 " width=
"22" height=
"22" alt=
"Use Cases"></td>
1975 ../../images/blank-20.gif
1976 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
1978 ../../images/blank-20.gif
1979 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
1981 ../../images/blank-20.gif
1982 " width=
"22" height=
"22" alt=
"Implementation"></td>
1987 virtual void SetFont(const BFont* font, uint32 mask = B_FONT_ALL);
1994 ../../images/blank-20.gif
1995 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
1997 ../../images/blank-20.gif
1998 " width=
"22" height=
"22" alt=
"Use Cases"></td>
2000 ../../images/blank-20.gif
2001 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
2003 ../../images/blank-20.gif
2004 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
2006 ../../images/blank-20.gif
2007 " width=
"22" height=
"22" alt=
"Implementation"></td>
2012 virtual void MakeFocus(bool focusState = true);
2019 ../../images/blank-20.gif
2020 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
2022 ../../images/blank-20.gif
2023 " width=
"22" height=
"22" alt=
"Use Cases"></td>
2025 ../../images/blank-20.gif
2026 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
2028 ../../images/blank-20.gif
2029 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
2031 ../../images/blank-20.gif
2032 " width=
"22" height=
"22" alt=
"Implementation"></td>
2037 virtual void SetEnabled(bool on);
2044 ../../images/blank-20.gif
2045 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
2047 ../../images/blank-20.gif
2048 " width=
"22" height=
"22" alt=
"Use Cases"></td>
2050 ../../images/blank-20.gif
2051 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
2053 ../../images/blank-20.gif
2054 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
2056 ../../images/blank-20.gif
2057 " width=
"22" height=
"22" alt=
"Implementation"></td>
2062 virtual void GetPreferredSize(float* width, float* height);
2069 ../../images/blank-20.gif
2070 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
2072 ../../images/blank-20.gif
2073 " width=
"22" height=
"22" alt=
"Use Cases"></td>
2075 ../../images/blank-20.gif
2076 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
2078 ../../images/blank-20.gif
2079 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
2081 ../../images/blank-20.gif
2082 " width=
"22" height=
"22" alt=
"Implementation"></td>
2087 virtual BHandler* ResolveSpecifier(BMessage* msg, int32 index, BMessage* specifier, int32 form, const char* property);
2094 ../../images/blank-20.gif
2095 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
2097 ../../images/blank-20.gif
2098 " width=
"22" height=
"22" alt=
"Use Cases"></td>
2100 ../../images/blank-20.gif
2101 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
2103 ../../images/blank-20.gif
2104 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
2106 ../../images/blank-20.gif
2107 " width=
"22" height=
"22" alt=
"Implementation"></td>
2112 virtual status_t GetSupportedSuites(BMessage* data);
2119 ../../images/blank-20.gif
2120 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
2122 ../../images/blank-20.gif
2123 " width=
"22" height=
"22" alt=
"Use Cases"></td>
2125 ../../images/blank-20.gif
2126 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
2128 ../../images/blank-20.gif
2129 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
2131 ../../images/blank-20.gif
2132 " width=
"22" height=
"22" alt=
"Implementation"></td>
2137 virtual void DrawChannel(BView* into, int32 channel, BRect area, bool pressed);
2144 ../../images/blank-20.gif
2145 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
2147 ../../images/blank-20.gif
2148 " width=
"22" height=
"22" alt=
"Use Cases"></td>
2150 ../../images/blank-20.gif
2151 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
2153 ../../images/blank-20.gif
2154 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
2156 ../../images/blank-20.gif
2157 " width=
"22" height=
"22" alt=
"Implementation"></td>
2162 virtual void DrawGroove(BView* into, int32 channel, BPoint tl, BPoint br);
2169 ../../images/blank-20.gif
2170 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
2172 ../../images/blank-20.gif
2173 " width=
"22" height=
"22" alt=
"Use Cases"></td>
2175 ../../images/blank-20.gif
2176 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
2178 ../../images/blank-20.gif
2179 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
2181 ../../images/blank-20.gif
2182 " width=
"22" height=
"22" alt=
"Implementation"></td>
2187 virtual void DrawThumb(BView* into, int32 channel, BPoint where, bool pressed );
2194 ../../images/blank-20.gif
2195 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
2197 ../../images/blank-20.gif
2198 " width=
"22" height=
"22" alt=
"Use Cases"></td>
2200 ../../images/blank-20.gif
2201 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
2203 ../../images/blank-20.gif
2204 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
2206 ../../images/blank-20.gif
2207 " width=
"22" height=
"22" alt=
"Implementation"></td>
2212 virtual const BBitmap* ThumbFor(int32 channel, bool pressed);
2219 ../../images/blank-20.gif
2220 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
2222 ../../images/blank-20.gif
2223 " width=
"22" height=
"22" alt=
"Use Cases"></td>
2225 ../../images/blank-20.gif
2226 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
2228 ../../images/blank-20.gif
2229 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
2231 ../../images/blank-20.gif
2232 " width=
"22" height=
"22" alt=
"Implementation"></td>
2237 virtual BRect ThumbFrameFor(int32 channel);
2244 ../../images/blank-20.gif
2245 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
2247 ../../images/blank-20.gif
2248 " width=
"22" height=
"22" alt=
"Use Cases"></td>
2250 ../../images/blank-20.gif
2251 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
2253 ../../images/blank-20.gif
2254 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
2256 ../../images/blank-20.gif
2257 " width=
"22" height=
"22" alt=
"Implementation"></td>
2262 virtual float ThumbDeltaFor(int32 channel);
2269 ../../images/blank-20.gif
2270 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
2272 ../../images/blank-20.gif
2273 " width=
"22" height=
"22" alt=
"Use Cases"></td>
2275 ../../images/blank-20.gif
2276 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
2278 ../../images/blank-20.gif
2279 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
2281 ../../images/blank-20.gif
2282 " width=
"22" height=
"22" alt=
"Implementation"></td>
2287 virtual float ThumbRangeFor(int32 channel);
2290 <!-- Class header -->
2292 <td colspan=
"7"><center><strong>BMultiChannelControl Class
</strong></center></td>
2298 ../../images/blank-20.gif
2299 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
2301 ../../images/blank-20.gif
2302 " width=
"22" height=
"22" alt=
"Use Cases"></td>
2304 ../../images/blank-20.gif
2305 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
2307 ../../images/blank-20.gif
2308 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
2310 ../../images/blank-20.gif
2311 " width=
"22" height=
"22" alt=
"Implementation"></td>
2316 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);
2323 ../../images/blank-20.gif
2324 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
2326 ../../images/blank-20.gif
2327 " width=
"22" height=
"22" alt=
"Use Cases"></td>
2329 ../../images/blank-20.gif
2330 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
2332 ../../images/blank-20.gif
2333 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
2335 ../../images/blank-20.gif
2336 " width=
"22" height=
"22" alt=
"Implementation"></td>
2341 BMultiChannelControl(BMessage* from);
2348 ../../images/blank-20.gif
2349 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
2351 ../../images/blank-20.gif
2352 " width=
"22" height=
"22" alt=
"Use Cases"></td>
2354 ../../images/blank-20.gif
2355 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
2357 ../../images/blank-20.gif
2358 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
2360 ../../images/blank-20.gif
2361 " width=
"22" height=
"22" alt=
"Implementation"></td>
2366 virtual ~BMultiChannelControl();
2373 ../../images/blank-20.gif
2374 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
2376 ../../images/blank-20.gif
2377 " width=
"22" height=
"22" alt=
"Use Cases"></td>
2379 ../../images/blank-20.gif
2380 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
2382 ../../images/blank-20.gif
2383 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
2385 ../../images/blank-20.gif
2386 " width=
"22" height=
"22" alt=
"Implementation"></td>
2391 virtual status_t Archive(BMessage* into, bool deep = true) const;
2398 ../../images/blank-20.gif
2399 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
2401 ../../images/blank-20.gif
2402 " width=
"22" height=
"22" alt=
"Use Cases"></td>
2404 ../../images/blank-20.gif
2405 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
2407 ../../images/blank-20.gif
2408 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
2410 ../../images/blank-20.gif
2411 " width=
"22" height=
"22" alt=
"Implementation"></td>
2416 virtual void Draw(BRect area) =
0;
2423 ../../images/blank-20.gif
2424 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
2426 ../../images/blank-20.gif
2427 " width=
"22" height=
"22" alt=
"Use Cases"></td>
2429 ../../images/blank-20.gif
2430 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
2432 ../../images/blank-20.gif
2433 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
2435 ../../images/blank-20.gif
2436 " width=
"22" height=
"22" alt=
"Implementation"></td>
2441 virtual void MouseDown(BPoint where) =
0;
2448 ../../images/blank-20.gif
2449 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
2451 ../../images/blank-20.gif
2452 " width=
"22" height=
"22" alt=
"Use Cases"></td>
2454 ../../images/blank-20.gif
2455 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
2457 ../../images/blank-20.gif
2458 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
2460 ../../images/blank-20.gif
2461 " width=
"22" height=
"22" alt=
"Implementation"></td>
2466 virtual void KeyDown(const char* bytes, int32 size) =
0;
2473 ../../images/blank-20.gif
2474 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
2476 ../../images/blank-20.gif
2477 " width=
"22" height=
"22" alt=
"Use Cases"></td>
2479 ../../images/blank-20.gif
2480 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
2482 ../../images/blank-20.gif
2483 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
2485 ../../images/blank-20.gif
2486 " width=
"22" height=
"22" alt=
"Implementation"></td>
2491 virtual void FrameResized(float width, float height);
2498 ../../images/blank-20.gif
2499 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
2501 ../../images/blank-20.gif
2502 " width=
"22" height=
"22" alt=
"Use Cases"></td>
2504 ../../images/blank-20.gif
2505 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
2507 ../../images/blank-20.gif
2508 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
2510 ../../images/blank-20.gif
2511 " width=
"22" height=
"22" alt=
"Implementation"></td>
2516 virtual void SetFont(const BFont* font, uint32 mask = B_FONT_ALL);
2523 ../../images/blank-20.gif
2524 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
2526 ../../images/blank-20.gif
2527 " width=
"22" height=
"22" alt=
"Use Cases"></td>
2529 ../../images/blank-20.gif
2530 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
2532 ../../images/blank-20.gif
2533 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
2535 ../../images/blank-20.gif
2536 " width=
"22" height=
"22" alt=
"Implementation"></td>
2541 virtual void AttachedToWindow();
2548 ../../images/blank-20.gif
2549 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
2551 ../../images/blank-20.gif
2552 " width=
"22" height=
"22" alt=
"Use Cases"></td>
2554 ../../images/blank-20.gif
2555 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
2557 ../../images/blank-20.gif
2558 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
2560 ../../images/blank-20.gif
2561 " width=
"22" height=
"22" alt=
"Implementation"></td>
2566 virtual void DetachedFromWindow();
2573 ../../images/blank-20.gif
2574 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
2576 ../../images/blank-20.gif
2577 " width=
"22" height=
"22" alt=
"Use Cases"></td>
2579 ../../images/blank-20.gif
2580 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
2582 ../../images/blank-20.gif
2583 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
2585 ../../images/blank-20.gif
2586 " width=
"22" height=
"22" alt=
"Implementation"></td>
2591 virtual void ResizeToPreferred();
2598 ../../images/blank-20.gif
2599 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
2601 ../../images/blank-20.gif
2602 " width=
"22" height=
"22" alt=
"Use Cases"></td>
2604 ../../images/blank-20.gif
2605 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
2607 ../../images/blank-20.gif
2608 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
2610 ../../images/blank-20.gif
2611 " width=
"22" height=
"22" alt=
"Implementation"></td>
2616 virtual void GetPreferredSize(float* width, float* height) =
0;
2623 ../../images/blank-20.gif
2624 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
2626 ../../images/blank-20.gif
2627 " width=
"22" height=
"22" alt=
"Use Cases"></td>
2629 ../../images/blank-20.gif
2630 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
2632 ../../images/blank-20.gif
2633 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
2635 ../../images/blank-20.gif
2636 " width=
"22" height=
"22" alt=
"Implementation"></td>
2641 virtual void MessageReceived(BMessage* message);
2648 ../../images/blank-20.gif
2649 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
2651 ../../images/blank-20.gif
2652 " width=
"22" height=
"22" alt=
"Use Cases"></td>
2654 ../../images/blank-20.gif
2655 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
2657 ../../images/blank-20.gif
2658 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
2660 ../../images/blank-20.gif
2661 " width=
"22" height=
"22" alt=
"Implementation"></td>
2666 virtual void SetValue(int32 value);
2673 ../../images/blank-20.gif
2674 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
2676 ../../images/blank-20.gif
2677 " width=
"22" height=
"22" alt=
"Use Cases"></td>
2679 ../../images/blank-20.gif
2680 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
2682 ../../images/blank-20.gif
2683 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
2685 ../../images/blank-20.gif
2686 " width=
"22" height=
"22" alt=
"Implementation"></td>
2691 virtual status_t SetCurrentChannel(int32 channel);
2698 ../../images/blank-20.gif
2699 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
2701 ../../images/blank-20.gif
2702 " width=
"22" height=
"22" alt=
"Use Cases"></td>
2704 ../../images/blank-20.gif
2705 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
2707 ../../images/blank-20.gif
2708 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
2710 ../../images/blank-20.gif
2711 " width=
"22" height=
"22" alt=
"Implementation"></td>
2716 int32 CurrentChannel() const;
2723 ../../images/blank-20.gif
2724 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
2726 ../../images/blank-20.gif
2727 " width=
"22" height=
"22" alt=
"Use Cases"></td>
2729 ../../images/blank-20.gif
2730 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
2732 ../../images/blank-20.gif
2733 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
2735 ../../images/blank-20.gif
2736 " width=
"22" height=
"22" alt=
"Implementation"></td>
2741 virtual int32 CountChannels() const;
2748 ../../images/blank-20.gif
2749 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
2751 ../../images/blank-20.gif
2752 " width=
"22" height=
"22" alt=
"Use Cases"></td>
2754 ../../images/blank-20.gif
2755 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
2757 ../../images/blank-20.gif
2758 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
2760 ../../images/blank-20.gif
2761 " width=
"22" height=
"22" alt=
"Implementation"></td>
2766 virtual int32 MaxChannelCount() const =
0;
2773 ../../images/blank-20.gif
2774 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
2776 ../../images/blank-20.gif
2777 " width=
"22" height=
"22" alt=
"Use Cases"></td>
2779 ../../images/blank-20.gif
2780 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
2782 ../../images/blank-20.gif
2783 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
2785 ../../images/blank-20.gif
2786 " width=
"22" height=
"22" alt=
"Implementation"></td>
2791 virtual status_t SetChannelCount(int32 channel_count);
2798 ../../images/blank-20.gif
2799 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
2801 ../../images/blank-20.gif
2802 " width=
"22" height=
"22" alt=
"Use Cases"></td>
2804 ../../images/blank-20.gif
2805 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
2807 ../../images/blank-20.gif
2808 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
2810 ../../images/blank-20.gif
2811 " width=
"22" height=
"22" alt=
"Implementation"></td>
2816 int32 ValueFor(int32 channel) const;
2823 ../../images/blank-20.gif
2824 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
2826 ../../images/blank-20.gif
2827 " width=
"22" height=
"22" alt=
"Use Cases"></td>
2829 ../../images/blank-20.gif
2830 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
2832 ../../images/blank-20.gif
2833 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
2835 ../../images/blank-20.gif
2836 " width=
"22" height=
"22" alt=
"Implementation"></td>
2841 virtual int32 GetValues(int32* out_values, int32 from_channel, int32 channel_count) const;
2848 ../../images/blank-20.gif
2849 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
2851 ../../images/blank-20.gif
2852 " width=
"22" height=
"22" alt=
"Use Cases"></td>
2854 ../../images/blank-20.gif
2855 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
2857 ../../images/blank-20.gif
2858 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
2860 ../../images/blank-20.gif
2861 " width=
"22" height=
"22" alt=
"Implementation"></td>
2866 status_t SetValueFor(int32 channel, int32 value);
2873 ../../images/blank-20.gif
2874 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
2876 ../../images/blank-20.gif
2877 " width=
"22" height=
"22" alt=
"Use Cases"></td>
2879 ../../images/blank-20.gif
2880 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
2882 ../../images/blank-20.gif
2883 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
2885 ../../images/blank-20.gif
2886 " width=
"22" height=
"22" alt=
"Implementation"></td>
2891 virtual status_t SetValues(int32 from_channel, int32 channel_count, const int32* in_values);
2898 ../../images/blank-20.gif
2899 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
2901 ../../images/blank-20.gif
2902 " width=
"22" height=
"22" alt=
"Use Cases"></td>
2904 ../../images/blank-20.gif
2905 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
2907 ../../images/blank-20.gif
2908 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
2910 ../../images/blank-20.gif
2911 " width=
"22" height=
"22" alt=
"Implementation"></td>
2916 status_t SetAllValues(int32 values);
2923 ../../images/blank-20.gif
2924 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
2926 ../../images/blank-20.gif
2927 " width=
"22" height=
"22" alt=
"Use Cases"></td>
2929 ../../images/blank-20.gif
2930 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
2932 ../../images/blank-20.gif
2933 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
2935 ../../images/blank-20.gif
2936 " width=
"22" height=
"22" alt=
"Implementation"></td>
2941 status_t SetLimitsFor(int32 channel, int32 minimum, int32 maximum);
2948 ../../images/blank-20.gif
2949 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
2951 ../../images/blank-20.gif
2952 " width=
"22" height=
"22" alt=
"Use Cases"></td>
2954 ../../images/blank-20.gif
2955 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
2957 ../../images/blank-20.gif
2958 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
2960 ../../images/blank-20.gif
2961 " width=
"22" height=
"22" alt=
"Implementation"></td>
2966 status_t GetLimitsFor(int32 channel, int32* minimum, int32* maximum) const ;
2973 ../../images/blank-20.gif
2974 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
2976 ../../images/blank-20.gif
2977 " width=
"22" height=
"22" alt=
"Use Cases"></td>
2979 ../../images/blank-20.gif
2980 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
2982 ../../images/blank-20.gif
2983 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
2985 ../../images/blank-20.gif
2986 " width=
"22" height=
"22" alt=
"Implementation"></td>
2991 virtual status_t SetLimits(int32 from_channel, int32 channel_count, const int32* minimum, const int32* maximum);
2998 ../../images/blank-20.gif
2999 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
3001 ../../images/blank-20.gif
3002 " width=
"22" height=
"22" alt=
"Use Cases"></td>
3004 ../../images/blank-20.gif
3005 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
3007 ../../images/blank-20.gif
3008 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
3010 ../../images/blank-20.gif
3011 " width=
"22" height=
"22" alt=
"Implementation"></td>
3016 virtual status_t GetLimits(int32 from_channel, int32 channel_count, int32* minimum, int32* maximum) const;
3023 ../../images/blank-20.gif
3024 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
3026 ../../images/blank-20.gif
3027 " width=
"22" height=
"22" alt=
"Use Cases"></td>
3029 ../../images/blank-20.gif
3030 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
3032 ../../images/blank-20.gif
3033 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
3035 ../../images/blank-20.gif
3036 " width=
"22" height=
"22" alt=
"Implementation"></td>
3041 status_t SetAllLimits(int32 minimum, int32 maximum);
3048 ../../images/blank-20.gif
3049 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
3051 ../../images/blank-20.gif
3052 " width=
"22" height=
"22" alt=
"Use Cases"></td>
3054 ../../images/blank-20.gif
3055 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
3057 ../../images/blank-20.gif
3058 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
3060 ../../images/blank-20.gif
3061 " width=
"22" height=
"22" alt=
"Implementation"></td>
3066 virtual status_t SetLimitLabels(const char* min_label, const char* max_label);
3073 ../../images/blank-20.gif
3074 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
3076 ../../images/blank-20.gif
3077 " width=
"22" height=
"22" alt=
"Use Cases"></td>
3079 ../../images/blank-20.gif
3080 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
3082 ../../images/blank-20.gif
3083 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
3085 ../../images/blank-20.gif
3086 " width=
"22" height=
"22" alt=
"Implementation"></td>
3091 const char* MinLimitLabel() const;
3098 ../../images/blank-20.gif
3099 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
3101 ../../images/blank-20.gif
3102 " width=
"22" height=
"22" alt=
"Use Cases"></td>
3104 ../../images/blank-20.gif
3105 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
3107 ../../images/blank-20.gif
3108 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
3110 ../../images/blank-20.gif
3111 " width=
"22" height=
"22" alt=
"Implementation"></td>
3116 const char* MaxLimitLabel() const;
3119 <!-- Class header -->
3121 <td colspan=
"7"><center><strong>BOptionControl Class
</strong></center></td>
3127 ../../images/blank-20.gif
3128 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
3130 ../../images/blank-20.gif
3131 " width=
"22" height=
"22" alt=
"Use Cases"></td>
3133 ../../images/blank-20.gif
3134 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
3136 ../../images/blank-20.gif
3137 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
3139 ../../images/blank-20.gif
3140 " width=
"22" height=
"22" alt=
"Implementation"></td>
3145 BOptionControl(BRect frame, const char* name, const char* label, BMessage* message, uint32 resize = B_FOLLOW_LEFT | B_FOLLOW_TOP, uint32 flags = B_WILL_DRAW);
3152 ../../images/blank-20.gif
3153 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
3155 ../../images/blank-20.gif
3156 " width=
"22" height=
"22" alt=
"Use Cases"></td>
3158 ../../images/blank-20.gif
3159 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
3161 ../../images/blank-20.gif
3162 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
3164 ../../images/blank-20.gif
3165 " width=
"22" height=
"22" alt=
"Implementation"></td>
3170 virtual ~BOptionControl();
3177 ../../images/blank-20.gif
3178 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
3180 ../../images/blank-20.gif
3181 " width=
"22" height=
"22" alt=
"Use Cases"></td>
3183 ../../images/blank-20.gif
3184 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
3186 ../../images/blank-20.gif
3187 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
3189 ../../images/blank-20.gif
3190 " width=
"22" height=
"22" alt=
"Implementation"></td>
3195 virtual void MessageReceived(BMessage* message);
3202 ../../images/blank-20.gif
3203 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
3205 ../../images/blank-20.gif
3206 " width=
"22" height=
"22" alt=
"Use Cases"></td>
3208 ../../images/blank-20.gif
3209 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
3211 ../../images/blank-20.gif
3212 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
3214 ../../images/blank-20.gif
3215 " width=
"22" height=
"22" alt=
"Implementation"></td>
3220 status_t AddOption(const char* name, int32 value);
3227 ../../images/blank-20.gif
3228 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
3230 ../../images/blank-20.gif
3231 " width=
"22" height=
"22" alt=
"Use Cases"></td>
3233 ../../images/blank-20.gif
3234 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
3236 ../../images/blank-20.gif
3237 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
3239 ../../images/blank-20.gif
3240 " width=
"22" height=
"22" alt=
"Implementation"></td>
3245 virtual boolGetOptionAt(int32 index, const char** out_name, int32* out_value) =
0;
3252 ../../images/blank-20.gif
3253 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
3255 ../../images/blank-20.gif
3256 " width=
"22" height=
"22" alt=
"Use Cases"></td>
3258 ../../images/blank-20.gif
3259 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
3261 ../../images/blank-20.gif
3262 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
3264 ../../images/blank-20.gif
3265 " width=
"22" height=
"22" alt=
"Implementation"></td>
3270 virtual void RemoveOptionAt(int32 index) =
0;
3277 ../../images/blank-20.gif
3278 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
3280 ../../images/blank-20.gif
3281 " width=
"22" height=
"22" alt=
"Use Cases"></td>
3283 ../../images/blank-20.gif
3284 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
3286 ../../images/blank-20.gif
3287 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
3289 ../../images/blank-20.gif
3290 " width=
"22" height=
"22" alt=
"Implementation"></td>
3295 virtual int32 CountOptions() const =
0;
3302 ../../images/blank-20.gif
3303 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
3305 ../../images/blank-20.gif
3306 " width=
"22" height=
"22" alt=
"Use Cases"></td>
3308 ../../images/blank-20.gif
3309 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
3311 ../../images/blank-20.gif
3312 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
3314 ../../images/blank-20.gif
3315 " width=
"22" height=
"22" alt=
"Implementation"></td>
3320 virtual status_tAddOptionAt(const char* name, int32 value, int32 index) =
0;
3327 ../../images/blank-20.gif
3328 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
3330 ../../images/blank-20.gif
3331 " width=
"22" height=
"22" alt=
"Use Cases"></td>
3333 ../../images/blank-20.gif
3334 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
3336 ../../images/blank-20.gif
3337 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
3339 ../../images/blank-20.gif
3340 " width=
"22" height=
"22" alt=
"Implementation"></td>
3345 virtual int32 SelectedOption(const char** name =
0, int32* value =
0) const =
0;
3352 ../../images/blank-20.gif
3353 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
3355 ../../images/blank-20.gif
3356 " width=
"22" height=
"22" alt=
"Use Cases"></td>
3358 ../../images/blank-20.gif
3359 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
3361 ../../images/blank-20.gif
3362 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
3364 ../../images/blank-20.gif
3365 " width=
"22" height=
"22" alt=
"Implementation"></td>
3370 virtual status_t SelectOptionFor(int32 value);
3377 ../../images/blank-20.gif
3378 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
3380 ../../images/blank-20.gif
3381 " width=
"22" height=
"22" alt=
"Use Cases"></td>
3383 ../../images/blank-20.gif
3384 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
3386 ../../images/blank-20.gif
3387 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
3389 ../../images/blank-20.gif
3390 " width=
"22" height=
"22" alt=
"Implementation"></td>
3395 virtual status_t SelectOptionFor(const char *name);
3402 ../../images/blank-20.gif
3403 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
3405 ../../images/blank-20.gif
3406 " width=
"22" height=
"22" alt=
"Use Cases"></td>
3408 ../../images/blank-20.gif
3409 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
3411 ../../images/blank-20.gif
3412 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
3414 ../../images/blank-20.gif
3415 " width=
"22" height=
"22" alt=
"Implementation"></td>
3420 BMessage* MakeValueMessage(int32 value);
3423 <!-- Class header -->
3425 <td colspan=
"7"><center><strong>BOptionPopUp Class
</strong></center></td>
3431 ../../images/blank-20.gif
3432 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
3434 ../../images/blank-20.gif
3435 " width=
"22" height=
"22" alt=
"Use Cases"></td>
3437 ../../images/blank-20.gif
3438 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
3440 ../../images/blank-20.gif
3441 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
3443 ../../images/blank-20.gif
3444 " width=
"22" height=
"22" alt=
"Implementation"></td>
3449 BOptionPopUp(BRect frame, const char* name, const char* label, BMessage* message, uint32 resize = B_FOLLOW_LEFT | B_FOLLOW_TOP, uint32 flags = B_WILL_DRAW);
3456 ../../images/blank-20.gif
3457 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
3459 ../../images/blank-20.gif
3460 " width=
"22" height=
"22" alt=
"Use Cases"></td>
3462 ../../images/blank-20.gif
3463 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
3465 ../../images/blank-20.gif
3466 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
3468 ../../images/blank-20.gif
3469 " width=
"22" height=
"22" alt=
"Implementation"></td>
3474 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);
3481 ../../images/blank-20.gif
3482 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
3484 ../../images/blank-20.gif
3485 " width=
"22" height=
"22" alt=
"Use Cases"></td>
3487 ../../images/blank-20.gif
3488 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
3490 ../../images/blank-20.gif
3491 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
3493 ../../images/blank-20.gif
3494 " width=
"22" height=
"22" alt=
"Implementation"></td>
3506 ../../images/blank-20.gif
3507 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
3509 ../../images/blank-20.gif
3510 " width=
"22" height=
"22" alt=
"Use Cases"></td>
3512 ../../images/blank-20.gif
3513 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
3515 ../../images/blank-20.gif
3516 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
3518 ../../images/blank-20.gif
3519 " width=
"22" height=
"22" alt=
"Implementation"></td>
3524 BMenuField* MenuField();
3531 ../../images/blank-20.gif
3532 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
3534 ../../images/blank-20.gif
3535 " width=
"22" height=
"22" alt=
"Use Cases"></td>
3537 ../../images/blank-20.gif
3538 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
3540 ../../images/blank-20.gif
3541 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
3543 ../../images/blank-20.gif
3544 " width=
"22" height=
"22" alt=
"Implementation"></td>
3549 virtual bool GetOptionAt(int32 index, const char** out_name, int32* out_value);
3556 ../../images/blank-20.gif
3557 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
3559 ../../images/blank-20.gif
3560 " width=
"22" height=
"22" alt=
"Use Cases"></td>
3562 ../../images/blank-20.gif
3563 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
3565 ../../images/blank-20.gif
3566 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
3568 ../../images/blank-20.gif
3569 " width=
"22" height=
"22" alt=
"Implementation"></td>
3574 virtual void RemoveOptionAt(int32 index);
3581 ../../images/blank-20.gif
3582 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
3584 ../../images/blank-20.gif
3585 " width=
"22" height=
"22" alt=
"Use Cases"></td>
3587 ../../images/blank-20.gif
3588 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
3590 ../../images/blank-20.gif
3591 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
3593 ../../images/blank-20.gif
3594 " width=
"22" height=
"22" alt=
"Implementation"></td>
3599 virtual int32 CountOptions() const;
3606 ../../images/blank-20.gif
3607 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
3609 ../../images/blank-20.gif
3610 " width=
"22" height=
"22" alt=
"Use Cases"></td>
3612 ../../images/blank-20.gif
3613 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
3615 ../../images/blank-20.gif
3616 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
3618 ../../images/blank-20.gif
3619 " width=
"22" height=
"22" alt=
"Implementation"></td>
3624 virtual status_t AddOptionAt(const char* name, int32 value, int32 index);
3631 ../../images/blank-20.gif
3632 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
3634 ../../images/blank-20.gif
3635 " width=
"22" height=
"22" alt=
"Use Cases"></td>
3637 ../../images/blank-20.gif
3638 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
3640 ../../images/blank-20.gif
3641 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
3643 ../../images/blank-20.gif
3644 " width=
"22" height=
"22" alt=
"Implementation"></td>
3649 virtual void AllAttached();
3656 ../../images/blank-20.gif
3657 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
3659 ../../images/blank-20.gif
3660 " width=
"22" height=
"22" alt=
"Use Cases"></td>
3662 ../../images/blank-20.gif
3663 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
3665 ../../images/blank-20.gif
3666 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
3668 ../../images/blank-20.gif
3669 " width=
"22" height=
"22" alt=
"Implementation"></td>
3674 virtual void MessageReceived(BMessage* message);
3681 ../../images/blank-20.gif
3682 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
3684 ../../images/blank-20.gif
3685 " width=
"22" height=
"22" alt=
"Use Cases"></td>
3687 ../../images/blank-20.gif
3688 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
3690 ../../images/blank-20.gif
3691 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
3693 ../../images/blank-20.gif
3694 " width=
"22" height=
"22" alt=
"Implementation"></td>
3699 virtual void SetLabel(const char* text);
3706 ../../images/blank-20.gif
3707 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
3709 ../../images/blank-20.gif
3710 " width=
"22" height=
"22" alt=
"Use Cases"></td>
3712 ../../images/blank-20.gif
3713 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
3715 ../../images/blank-20.gif
3716 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
3718 ../../images/blank-20.gif
3719 " width=
"22" height=
"22" alt=
"Implementation"></td>
3724 virtual void SetValue(int32 value);
3731 ../../images/blank-20.gif
3732 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
3734 ../../images/blank-20.gif
3735 " width=
"22" height=
"22" alt=
"Use Cases"></td>
3737 ../../images/blank-20.gif
3738 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
3740 ../../images/blank-20.gif
3741 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
3743 ../../images/blank-20.gif
3744 " width=
"22" height=
"22" alt=
"Implementation"></td>
3749 virtual voidSetEnabled(bool on);
3756 ../../images/blank-20.gif
3757 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
3759 ../../images/blank-20.gif
3760 " width=
"22" height=
"22" alt=
"Use Cases"></td>
3762 ../../images/blank-20.gif
3763 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
3765 ../../images/blank-20.gif
3766 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
3768 ../../images/blank-20.gif
3769 " width=
"22" height=
"22" alt=
"Implementation"></td>
3774 virtual void GetPreferredSize(float* width, float* height);
3781 ../../images/blank-20.gif
3782 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
3784 ../../images/blank-20.gif
3785 " width=
"22" height=
"22" alt=
"Use Cases"></td>
3787 ../../images/blank-20.gif
3788 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
3790 ../../images/blank-20.gif
3791 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
3793 ../../images/blank-20.gif
3794 " width=
"22" height=
"22" alt=
"Implementation"></td>
3799 virtual void ResizeToPreferred();
3806 ../../images/blank-20.gif
3807 " width=
"22" height=
"22" alt=
"Functional Spec"></td>
3809 ../../images/blank-20.gif
3810 " width=
"22" height=
"22" alt=
"Use Cases"></td>
3812 ../../images/blank-20.gif
3813 " width=
"22" height=
"22" alt=
"Unit Tests"></td>
3815 ../../images/blank-20.gif
3816 " width=
"22" height=
"22" alt=
"Technical Spec"></td>
3818 ../../images/blank-20.gif
3819 " width=
"22" height=
"22" alt=
"Implementation"></td>
3824 virtual int32 SelectedOption(const char** outName =
0, int32* outValue =
0) const;
3834 <!-- legend table -->
3838 <td align=
"center"><strong>Legend
</strong></td>
3844 <td><img src=
"../../images/DocumentDraw.gif" width=
"22" height=
"22" alt=
"Functional Spec"></td>
3845 <td>Functional Spec
</td>
3848 <td><img src=
"../../images/User.gif" width=
"22" height=
"22" alt=
"Use Cases"></td>
3852 <td><img src=
"../../images/Help.gif" width=
"22" height=
"22" alt=
"Unit Tests"></td>
3856 <td><img src=
"../../images/Hammer.gif" width=
"22" height=
"22" alt=
"Technical Spec"></td>
3857 <td>Technical Spec
</td>
3860 <td><img src=
"../../images/GoalFlag.gif" width=
"22" height=
"22" alt=
"Implementation"></td>
3861 <td>Implementation
</td>
3864 <td><img src=
"../../images/Check.gif" width=
"22" height=
"22" alt=
"Completed"></td>
3874 <!-- The obligatory SourceForge plug -->
3876 <small>The OpenBeOS project is hosted by:
</small><br><br>
3877 <a href=
"http://sourceforge.net">
3878 <img src=
"http://sourceforge.net/sflogo.php?group_id=33869&type=1" width=
"88" height=
"31" border=
"0" alt=
"SourceForge Logo">
3882 <small>Copyright
© 2001-
2002
3883 <a href=
"http://www.openbeos.org">OpenBeOS
</a> Project
</small>