Ingo Weinhold
3161d380ef
Moved the declaration of the Private subclass into the public section where it belongs.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3818 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-03 16:08:37 +00:00
Stefano Ceccherini
b98a12f022
Fixed some bugs pointed out by Marc. Thanks Marc!
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3817 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-03 10:20:57 +00:00
Stefano Ceccherini
d4400ac125
A line can be too a valid rect.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3816 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-03 06:29:06 +00:00
Stefano Ceccherini
b8922a588b
Fixed some small bugs in (sub|or)_region_complex. Fixed a freezing bug in sort_rects. Implemented r_or. Now just r_sub is missing.
...
Tested Include methods and IntersectWith(). They work fine.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3815 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-03 06:26:07 +00:00
beveloper
e0dc5b6d1f
introduce a gain cache for non active sources to allow changing of gain without activating them, and to avoid gain value beeing reset to 0.0 each time enable is cycled.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3814 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-03 01:05:21 +00:00
beveloper
b6270d60b2
Cleanup of MixerOutput class, the channel type is now used instead of channel designation or channel_mask
...
Implemented output channel remapping controls.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3813 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-03 00:27:47 +00:00
beveloper
0c63c7d061
Started implementing input and output channel mapping controls.
...
Optimized inner loop of mix thread, up to 10% faster now.
Moved some #includes around.
Added #define for maximum supported channel types.
Removed static buffers.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3812 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-02 22:30:51 +00:00
Ingo Weinhold
2091bd588f
Replaced usage of List template class by the kernel utils Vector.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3811 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-02 16:38:29 +00:00
Ingo Weinhold
5b489f6f16
Got rid of the List template class in the disk device manager source dir. Instead we use the Vector based Kernel Utils classes now. Various related changes.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3810 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-02 16:29:33 +00:00
Ingo Weinhold
aabf9e6b16
Oops, seems that I forgot to commit the header for VectorMapTest. It utilizes the OrderedMapTest class and doesn't do any testing by itself anymore.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3809 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-02 16:25:47 +00:00
Philippe Houdoin
239aa01846
Moved ethernet and loopback "interface" module to new net_layer API.
...
Added an skeleton arp net layer.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3808 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-02 12:58:38 +00:00
Philippe Houdoin
800e122ddc
Merge net_protocol and net_interface modules API into a single net_layer one...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3807 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-02 12:57:02 +00:00
Philippe Houdoin
3945152869
datalink.[c|h] -> layers_manager.[c|h]
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3806 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-02 12:53:03 +00:00
Stefano Ceccherini
319b95be85
Implemented sub_region_complex and or_region_complex. They divide the plane into horizontal bands, then pass the area to r_sub or r_or, which do the real work. Tested xxx_region_complex with R5's r_or and r_sub: they work fine. Just those last functions are missing now. Documented a bit more the private C functions.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3805 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-02 07:16:11 +00:00
Axel Dörfler
78aa9c8040
The creation of the parameter views now happens before the sub-groups are
...
added to the group. That way, a title view can be identified and always
placed at the top of the view.
Fixed minor related bugs.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3804 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-02 04:21:09 +00:00
Ingo Weinhold
a9083a5d91
Templatized the VectorMapTest class. It's now called OrderedMapTest
...
and allows to test arbitrary map implementations as long as their
entries are ordered. Added a test for the ImplicitKey strategy for
VectorMap.
Just to make a statement: Our tool chain sucks! It took me three hours
fighting with the compiler until I got a version that didn't make it
run into internal compiler errors or unimplemented features. *sigh*
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3803 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-02 03:24:16 +00:00
Ingo Weinhold
83744ac99d
Added the ImplicitKey entry strategy, which allows the key to be calculated on the fly.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3802 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-02 03:17:43 +00:00
Axel Dörfler
4b582fd16a
Now sets the height of the parameter web correctly (wasn't visible with the
...
Media preferences application alone).
Replaced the BBox with a simple BView for the container of a BParameterGroup.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3801 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-02 02:58:36 +00:00
Axel Dörfler
c81f1c978f
Added support for the B_HIDDEN_PARAMETER flag.
...
Added heuristica to only show those BNullParameters which the original media
kit shows.
Removed flickering in the SeparatorView drawing code.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3800 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-02 02:33:17 +00:00
Axel Dörfler
652243dade
Added workaround for a misbehaving BOptionPopUp class (doesn't resize itself
...
properly - it obviously needs the correct size at creation time...).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3799 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-02 02:13:13 +00:00
Axel Dörfler
b8da958ed6
Big visual update: it's now almost the same as the original MediaTheme.
...
Some special parameter types are still missing, actually changing anything
is missing, some needed work-arounds for broken Be code, etc.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3798 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-02 02:06:21 +00:00
Axel Dörfler
9505110943
BParameterGroup::Unflatten() didn't set the mGroup field of its parameters.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3797 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-02 02:03:37 +00:00
beveloper
c378a5ecf8
limit maximum latency
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3796 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-01 20:58:34 +00:00
beveloper
6c8c941ac3
moved max() function and added min() function
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3795 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-01 20:57:42 +00:00
Ingo Weinhold
76aa3218cb
Added unit tests for VectorMap.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3794 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-01 20:38:32 +00:00
Ingo Weinhold
7e65f8eb29
Added a Vector based map implementation.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3793 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-01 20:37:17 +00:00
Ingo Weinhold
92ec26a3be
Fixed documentation and a minor issue.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3792 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-01 20:36:11 +00:00
Michael Pfeiffer
074162477e
Fixed typo.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3791 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-01 19:37:54 +00:00
Michael Pfeiffer
9369306ef7
Changed include file name.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3790 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-01 19:36:39 +00:00
beveloper
8936182d3c
preparing for input/output channel mapping.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3789 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-01 19:36:10 +00:00
Michael Pfeiffer
633abe4191
Uncommented printerdriveraddon.a.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3788 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-01 19:34:15 +00:00
Michael Pfeiffer
60337ce111
Added more meta data to PS stream.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3787 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-01 19:33:31 +00:00
Michael Pfeiffer
c2320d3772
Changes for 2.0b1
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3786 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-01 19:32:18 +00:00
Axel Dörfler
2f4575bfcf
Fixed a crashing bug in BParameter::Unflatten(): it accidently called
...
AddInput()/AddOutput() instead of just adding the unflattened (unfixed)
pointer to the appropriate lists.
Added a comment that it's valid to add the pointers at this time since
they will be fixed later on.
BParameterGroup::MakeControl() unnecessarily initialized the newly created
parameters with some default values.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3785 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-01 16:04:00 +00:00
Axel Dörfler
42b6476dd4
Activated the default media theme to be used.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3784 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-01 15:43:08 +00:00
Axel Dörfler
d662f7f451
Implemented a very simple default media theme. You can't do anything yet,
...
but you should already see most of the options.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3783 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-01 15:42:44 +00:00
Matthew Wilber
d1360823ff
Added beginnings of Active Translators window -- allows the user to select which translators will be active when an image is opened or saved
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3782 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-01 03:48:17 +00:00
beveloper
57b75f140b
The mixer gain controls must change the physical input channels, not the virtual mixer internal channels.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3781 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-01 01:53:42 +00:00
beveloper
b326a30e21
implemented muting of the master output
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3780 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-01 00:49:23 +00:00
beveloper
2cb2bc4111
Use B_MASTER_GAIN kind for master gain control to allow Deskbar volume control to work.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3779 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-01 00:38:11 +00:00
beveloper
087e6a8afd
fixed MediaPlayer volume control bug by using R5 like ID assignments (taken from media kit SoundPlayer.cpp)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3778 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-01 00:29:38 +00:00
beveloper
1c237c1852
implemented mute support for input channel, fixed casting bugs
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3777 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-01 00:13:24 +00:00
Axel Dörfler
43e64c6219
The cbug memcpy functions now accept a NULL pointer to a chain - and return
...
B_BAD_VALUE instead of just crashing in this case.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3776 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-01 00:05:27 +00:00
beveloper
9391f0a552
added mixer gain controls
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3775 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-30 23:57:13 +00:00
Philippe Houdoin
c2c29c32a6
TransportAddOnTemplate.cpp -> PrintTransportAddOnTemplate.cpp
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3774 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-30 23:29:42 +00:00
Philippe Houdoin
759b9e0561
TransportAddOn.h -> PrintTransportAddOn.h
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3773 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-30 23:26:59 +00:00
Philippe Houdoin
73a06d9625
Renaming TransportAddOn.[cpp|h] into PrintTransportAddOn.[cpp|h] as "Transport" is
...
not enough explicit.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3772 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-30 22:51:42 +00:00
Philippe Houdoin
894c59e0a9
Renaming TransportAddOn.[cpp|h] into PrintTransportAddOn.[cpp|h], as "Transport"
...
is not enough explicit.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3771 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-30 22:35:54 +00:00
Michael Pfeiffer
9bdaa888c9
Bug fix.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3770 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-30 20:41:31 +00:00
Michael Pfeiffer
b12f37be21
Added arguments to AddFields
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3769 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-30 20:38:21 +00:00