Added Images and New Sub Class of ListItem called MediaListItem
Still not working properly :( git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2810 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
d633aff072
commit
2847689550
@ -13,4 +13,6 @@ Media Constants by Sikosis
|
||||
// Constants ------------------------------------------------------------------------------------------------- //
|
||||
const char *APP_SIGNATURE = "application/x-vnd.OBOS.Media"; // Application Signature and Title
|
||||
|
||||
|
||||
|
||||
#endif
|
90
src/prefs/media/MediaListItem.cpp
Normal file
90
src/prefs/media/MediaListItem.cpp
Normal file
@ -0,0 +1,90 @@
|
||||
/*
|
||||
|
||||
MediaListItem.cpp by Sikosis
|
||||
|
||||
(C)2003
|
||||
|
||||
*/
|
||||
|
||||
// Includes -------------------------------------------------------------------------------------------------- //
|
||||
#include <Alert.h>
|
||||
#include <Application.h>
|
||||
#include <Bitmap.h>
|
||||
#include <Button.h>
|
||||
#include <Font.h>
|
||||
#include <ListView.h>
|
||||
#include <math.h>
|
||||
#include <OutlineListView.h>
|
||||
#include <Path.h>
|
||||
#include <Screen.h>
|
||||
#include <ScrollView.h>
|
||||
#include <Shape.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <StringView.h>
|
||||
#include <TextView.h>
|
||||
#include <TextControl.h>
|
||||
#include <Window.h>
|
||||
#include <View.h>
|
||||
|
||||
//#include "MediaConstants.h"
|
||||
#include "MediaListItem.h"
|
||||
|
||||
const char *media_names[] = {
|
||||
"Audio Settings","Audio Mixer","None In","None Out",
|
||||
"Video Settings","Video Window Consumer"
|
||||
};
|
||||
|
||||
|
||||
// MediaListItem - Constructor
|
||||
MediaListItem::MediaListItem(const char *label, int32 MediaName, BBitmap *bitmap, BMessage *msg, uint32 modifiers = 0) : BListItem()
|
||||
{
|
||||
kMediaName = MediaName;
|
||||
icon = bitmap;
|
||||
}
|
||||
//--------------------------------------------------------------------------------------------------------------//
|
||||
|
||||
|
||||
//MediaListItem - DrawItem
|
||||
void MediaListItem::DrawItem(BView *owner, BRect frame, bool complete)
|
||||
{
|
||||
rgb_color kHighlight = { 220,220,220,0 };
|
||||
rgb_color kBlackColor = { 0,0,0,0 };
|
||||
rgb_color kMedGray = { 140,140,140,0 };
|
||||
|
||||
BRect r;
|
||||
|
||||
r.top = frame.top;
|
||||
r.left = frame.left-10;
|
||||
r.right = frame.right;
|
||||
r.bottom = frame.bottom;
|
||||
|
||||
if (IsSelected() || complete)
|
||||
{
|
||||
rgb_color color;
|
||||
if (IsSelected())
|
||||
{
|
||||
color = kHighlight;
|
||||
} else {
|
||||
color = owner->ViewColor();
|
||||
}
|
||||
owner->SetHighColor(color);
|
||||
owner->FillRect(r);
|
||||
}
|
||||
|
||||
owner->MovePenTo(frame.left-10,frame.bottom-13);
|
||||
owner->DrawBitmap(icon);
|
||||
|
||||
owner->MovePenTo(frame.left+10, frame.bottom-2);
|
||||
if (IsEnabled())
|
||||
{
|
||||
owner->SetHighColor(kBlackColor);
|
||||
} else {
|
||||
owner->SetHighColor(kMedGray);
|
||||
}
|
||||
owner->DrawString(media_names[kMediaName]);
|
||||
|
||||
owner->AttachedToWindow();
|
||||
}
|
||||
//--------------------------------------------------------------------------------------------------------------//
|
27
src/prefs/media/MediaListItem.h
Normal file
27
src/prefs/media/MediaListItem.h
Normal file
@ -0,0 +1,27 @@
|
||||
/*
|
||||
|
||||
MediaListItem Header by Sikosis
|
||||
|
||||
(C)2003
|
||||
|
||||
*/
|
||||
|
||||
#ifndef __MEDIALISTITEM_H__
|
||||
#define __MEDIALISTITEM_H__
|
||||
|
||||
#include <ListItem.h>
|
||||
#include <String.h>
|
||||
|
||||
class MediaListItem : public BListItem
|
||||
{
|
||||
public:
|
||||
MediaListItem(const char* label,int32 MediaName, BBitmap* bitmap,BMessage* msg, uint32 modifiers=0);
|
||||
virtual void DrawItem (BView *owner, BRect frame, bool complete = false);
|
||||
enum { AS, AM, NI, NO, VS, VWC };
|
||||
private:
|
||||
BBitmap* icon;
|
||||
int32 kMediaName;
|
||||
};
|
||||
|
||||
|
||||
#endif
|
@ -39,6 +39,14 @@ Media - MediaWindow by Sikosis
|
||||
#include "Media.h"
|
||||
#include "MediaViews.h"
|
||||
#include "MediaWindows.h"
|
||||
#include "MediaListItem.h"
|
||||
|
||||
// Images
|
||||
#include "devices.h"
|
||||
#include "mixer.h"
|
||||
#include "tv.h"
|
||||
|
||||
const uint32 NEW_MSG = 'nwm';
|
||||
|
||||
// CenterWindowOnScreen -- Centers the BWindow to the Current Screen
|
||||
static void CenterWindowOnScreen(BWindow* w)
|
||||
@ -94,24 +102,39 @@ void MediaWindow::InitWindow(void)
|
||||
BRect TitleRect(0,0,140,16);
|
||||
BRect AudioMixerRect(0,30,470,400);
|
||||
BOutlineListView *outline;
|
||||
BListItem *topmenu;
|
||||
BListItem *submenu;
|
||||
MediaListItem *topmenu;
|
||||
MediaListItem *submenu;
|
||||
BScrollView *outlinesv;
|
||||
BStringView *stvAudioSettings;
|
||||
BStringView *stvAudioMixer;
|
||||
|
||||
outline = new BOutlineListView(outlinerect,"audio_list", B_SINGLE_SELECTION_LIST);
|
||||
outline->AddItem(topmenu = new BStringItem("Audio Settings"));
|
||||
/*outline->AddItem(topmenu = new BStringItem("Audio Settings"));
|
||||
outline->AddUnder(submenu = new BStringItem("Audio Mixer"), topmenu);
|
||||
outline->AddUnder(new BStringItem("None Out"), submenu);
|
||||
outline->AddUnder(new BStringItem("None In"), submenu);
|
||||
outline->AddItem(topmenu = new BStringItem("Video Settings"));
|
||||
outline->AddUnder(submenu = new BStringItem("Video Window Consumer"), topmenu);
|
||||
outlinesv = new BScrollView("scroll_audio", outline, B_FOLLOW_LEFT|B_FOLLOW_TOP, 0, false, false, B_FANCY_BORDER);
|
||||
outline->AddUnder(submenu = new BStringItem("Video Window Consumer"), topmenu);*/
|
||||
|
||||
BRect IconRect(0,0,16,16);
|
||||
ptrIconView = new IconView(IconRect);
|
||||
topmenu->DrawItem(ptrIconView,IconRect,false);
|
||||
// Bitmaps
|
||||
BRect BitmapFrame(0,0,15,15);
|
||||
BBitmap *DevicesIcon = new BBitmap(BitmapFrame,B_RGB32);
|
||||
DevicesIcon->SetBits(devicesicon,768,0,B_RGB32);
|
||||
BBitmap *MixerIcon = new BBitmap(BitmapFrame,B_RGB32);
|
||||
MixerIcon->SetBits(mixericon,768,0,B_RGB32);
|
||||
BBitmap *TVIcon = new BBitmap(BitmapFrame,B_RGB32);
|
||||
TVIcon->SetBits(tvicon,768,0,B_RGB32);
|
||||
|
||||
outline->AddItem(topmenu = new MediaListItem("Audio Settings", MediaListItem::AS, DevicesIcon, new BMessage(NEW_MSG)));
|
||||
topmenu->SetHeight(30);
|
||||
outline->AddItem(submenu = new MediaListItem("Audio Mixer", MediaListItem::AM, MixerIcon, new BMessage(NEW_MSG)));
|
||||
outline->AddUnder(new BStringItem("None Out"), submenu);
|
||||
outline->AddUnder(new BStringItem("None In"), submenu);
|
||||
outline->AddItem(topmenu = new MediaListItem("Video Settings", MediaListItem::VS, DevicesIcon, new BMessage(NEW_MSG)));
|
||||
outline->AddItem(submenu = new MediaListItem("Video Window Consumer", MediaListItem::VWC, TVIcon, new BMessage(NEW_MSG)));
|
||||
|
||||
// Add ScrollView to Media Menu
|
||||
outlinesv = new BScrollView("scroll_audio", outline, B_FOLLOW_LEFT|B_FOLLOW_TOP, 0, false, false, B_FANCY_BORDER);
|
||||
|
||||
// StringViews
|
||||
rgb_color TitleFontColor = { 0,0,0,0 };
|
||||
@ -145,8 +168,13 @@ void MediaWindow::InitWindow(void)
|
||||
ptrMediaView->AddChild(ptrAvailableViewArea = new AvailableViewArea(AvailableRect));
|
||||
ptrAvailableViewArea->AddChild(ptrAudioMixerView = new AudioMixerView(AudioMixerRect));
|
||||
|
||||
// Add Child(ren) - Audio Settings View
|
||||
ptrAvailableViewArea->AddChild(stvAudioSettings);
|
||||
stvAudioSettings->Hide();
|
||||
|
||||
// Add Child(ren) - Audio Mixer View
|
||||
ptrAvailableViewArea->AddChild(stvAudioMixer);
|
||||
//stvAudioMixer->Hide();
|
||||
ptrAudioMixerView->AddChild(paramView);
|
||||
}
|
||||
// ---------------------------------------------------------------------------------------------------------- //
|
||||
@ -170,17 +198,28 @@ void MediaWindow::FrameResized (float width, float height)
|
||||
}
|
||||
// ---------------------------------------------------------------------------------------------------------- //
|
||||
|
||||
// ErrorAlert -- Displays a BAlert Box with a Custom Error or Debug Message
|
||||
void ErrorAlert(char* errorMessage) {
|
||||
printf("%s\n", errorMessage);
|
||||
BAlert *alert = new BAlert("BAlert", errorMessage, "OK", NULL, NULL, B_WIDTH_AS_USUAL, B_STOP_ALERT);
|
||||
alert->Go();
|
||||
//exit(1);
|
||||
}
|
||||
// ---------------------------------------------------------------------------------------------------------- //
|
||||
|
||||
|
||||
// MediaWindow::MessageReceived -- receives messages
|
||||
void MediaWindow::MessageReceived (BMessage *message)
|
||||
{
|
||||
switch(message->what)
|
||||
{
|
||||
{
|
||||
char* myerror;
|
||||
sprintf(myerror,"%s",message->what);
|
||||
ErrorAlert(myerror);
|
||||
|
||||
default:
|
||||
BWindow::MessageReceived(message);
|
||||
break;
|
||||
}
|
||||
}
|
||||
// ---------------------------------------------------------------------------------------------------------- //
|
||||
|
||||
|
||||
// ---------------------------------------------------------------------------------------------------------- //
|
@ -11,6 +11,7 @@ Media Windows Header by Sikosis
|
||||
|
||||
#include "Media.h"
|
||||
#include "MediaViews.h"
|
||||
#include "MediaListItem.h"
|
||||
|
||||
class BParameterWeb;
|
||||
class BContinuousParameter;
|
||||
@ -22,6 +23,8 @@ class AvailableViewArea;
|
||||
class AudioSettingsView;
|
||||
class AudioMixerView;
|
||||
|
||||
class MediaListItem;
|
||||
|
||||
class MediaWindow : public BWindow
|
||||
{
|
||||
public:
|
||||
|
44
src/prefs/media/devices.h
Normal file
44
src/prefs/media/devices.h
Normal file
@ -0,0 +1,44 @@
|
||||
unsigned char devicesicon[768] ={
|
||||
0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xF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0x4C,0x00,0x85,0x00,0x7F,0xD8,0x00,
|
||||
0x7F,0xD8,0x00,0x0C,0xB8,0x32,0x78,0x78,0x78,0x84,0x84,0x84,0x3B,0x3A,0x3B,0xFC,0xFC,0xFC,
|
||||
0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0x59,0x57,0x59,0x72,0x00,0x00,
|
||||
0x98,0x00,0x00,0x20,0x2C,0x00,0xBF,0xEB,0x00,0x00,0x2C,0x00,0x00,0xB2,0x00,0x7F,0xD8,0x00,
|
||||
0x78,0x78,0x78,0x9A,0x9A,0x9A,0x3B,0x3A,0x3B,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,
|
||||
0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0x3B,0x3A,0x3B,0xC4,0x00,0x00,0x66,0x00,0x00,0x3F,0x98,0x00,
|
||||
0x7F,0xD8,0x00,0x00,0x85,0x00,0xBF,0xEB,0x00,0x7F,0xD8,0x00,0x78,0x78,0x78,0x9A,0x9A,0x9A,
|
||||
0x3B,0x3A,0x3B,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,
|
||||
0x72,0x00,0x00,0x98,0x00,0x00,0x3E,0x1E,0x1E,0x1E,0x4A,0x1E,0x3F,0x98,0x00,0x7F,0xD8,0x00,
|
||||
0x7F,0xD8,0x00,0x32,0x92,0x0C,0x78,0x78,0x78,0xB0,0xB0,0xB0,0x3B,0x3A,0x3B,0xFC,0xFC,0xFC,
|
||||
0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xC4,0x00,0x00,0x66,0x00,0x00,
|
||||
0x59,0x57,0x59,0x77,0x75,0x77,0x59,0x59,0x59,0x1E,0x4A,0x1E,0x5D,0x5D,0x1E,0x1D,0x49,0x1D,
|
||||
0x78,0x78,0x78,0xB0,0xB0,0xB0,0x3B,0x3A,0x3B,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,
|
||||
0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,
|
||||
0xFC,0xFC,0xFC,0x77,0x75,0x77,0x77,0x76,0x77,0xFC,0xFC,0xFC,0x58,0x58,0x58,0xB0,0xB0,0xB0,
|
||||
0x3C,0x3C,0x3C,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,
|
||||
0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,
|
||||
0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0x59,0x59,0x59,0x4A,0x4A,0x4A,0x78,0x78,0x78,0xFC,0xFC,0xFC,
|
||||
0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,
|
||||
0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,
|
||||
0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC};
|
BIN
src/prefs/media/images/devices.tga
Normal file
BIN
src/prefs/media/images/devices.tga
Normal file
Binary file not shown.
After Width: | Height: | Size: 838 B |
BIN
src/prefs/media/images/mixer.tga
Normal file
BIN
src/prefs/media/images/mixer.tga
Normal file
Binary file not shown.
After Width: | Height: | Size: 838 B |
BIN
src/prefs/media/images/tv.tga
Normal file
BIN
src/prefs/media/images/tv.tga
Normal file
Binary file not shown.
After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BC,0xBC,0xBC,0xA2,0xA2,0xA2,
|
||||
0x54,0x54,0x54,0x14,0x14,0x14,0x00,0x00,0x00,0xED,0xED,0xED,0xBA,0xBA,0xBA,0xA0,0x8C,0x8C,
|
||||
0xC7,0x8E,0x8E,0x6F,0x6F,0x6F,0xAF,0xAF,0xAF,0xA0,0xA0,0xA0,0x5E,0x5E,0x5E,0xA2,0xA2,0xA2,
|
||||
0x44,0x44,0x44,0x9B,0x9B,0x9B,0xA2,0xA2,0xA2,0x54,0x54,0x54,0x2C,0x2C,0x2C,0x2A,0x2A,0x2A,
|
||||
0x00,0x00,0x00,0x88,0x88,0x88,0xC3,0xC3,0xC3,0xDB,0xDB,0xDB,0xBA,0xBA,0xBA,0x88,0x88,0x88,
|
||||
0xB7,0xB7,0xB7,0x22,0x22,0x22,0xDB,0xDB,0xDB,0xBA,0xBA,0xBA,0xBC,0xBC,0xBC,0xA2,0xA2,0xA2,
|
||||
0x54,0x54,0x54,0x2A,0x2A,0x2A,0x56,0x56,0x56,0x32,0x32,0x32,0x00,0x00,0x00,0x44,0x44,0x44,
|
||||
0x88,0x88,0x88,0x88,0x88,0x88,0xC3,0xC3,0xC3,0xDB,0xDB,0xDB,0x5C,0x5C,0x5C,0xA2,0xA2,0xA2,
|
||||
0x44,0x44,0x44,0x9B,0x9B,0x9B,0xA2,0xA2,0xA2,0x56,0x56,0x56,0x2A,0x2A,0x2A,0x56,0x56,0x56,
|
||||
0x30,0x30,0x30,0x78,0x78,0x78,0x00,0x00,0x00,0x88,0x88,0x88,0x44,0x44,0x44,0x44,0x44,0x44,
|
||||
0x88,0x88,0x88,0x88,0x88,0x88,0xC3,0xC3,0xC3,0xDB,0xDB,0xDB,0xBA,0xBA,0xBA,0xA2,0xA2,0xA2,
|
||||
0x56,0x56,0x56,0x2A,0x2A,0x2A,0x54,0x54,0x54,0x34,0x34,0x34,0x76,0x76,0x76,0x77,0x75,0x77,
|
||||
0x3B,0x3A,0x3B,0x44,0x44,0x44,0x88,0x88,0x88,0x88,0x88,0x88,0x44,0x44,0x44,0x44,0x44,0x44,
|
||||
0x88,0x88,0x88,0x88,0x88,0x88,0xA3,0xA3,0xA3,0x54,0x54,0x54,0x2C,0x2C,0x2C,0x54,0x54,0x54,
|
||||
0x34,0x34,0x34,0x76,0x76,0x76,0x77,0x75,0x77,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,
|
||||
0x3B,0x3A,0x3B,0x44,0x44,0x44,0x88,0x88,0x88,0x88,0x88,0x88,0x44,0x44,0x44,0x44,0x44,0x44,
|
||||
0x6C,0x6C,0x6C,0x2C,0x2C,0x2C,0x54,0x54,0x54,0x34,0x34,0x34,0x76,0x76,0x76,0x77,0x75,0x77,
|
||||
0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,
|
||||
0x3B,0x3A,0x3B,0x44,0x44,0x44,0x88,0x88,0x88,0x88,0x88,0x88,0x36,0x36,0x36,0x54,0x54,0x54,
|
||||
0x32,0x32,0x32,0x78,0x78,0x78,0x77,0x75,0x77,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,
|
||||
0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,
|
||||
0x3B,0x3A,0x3B,0x44,0x44,0x44,0x6C,0x6C,0x6C,0x34,0x34,0x34,0x78,0x78,0x78,0x75,0x73,0x75,
|
||||
0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC};
|
44
src/prefs/media/tv.h
Normal file
44
src/prefs/media/tv.h
Normal file
@ -0,0 +1,44 @@
|
||||
unsigned char tvicon[768] ={
|
||||
0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xF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
0x44,0x44,0x44,0x88,0x88,0x88,0x83,0x83,0x83,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,
|
||||
0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0x7B,0x79,0x7B,0x61,0x61,0x61,0x4C,0x4C,0x4C,0x7E,0x7E,0x7E,
|
||||
0x56,0x56,0xD5,0x69,0x2A,0xA9,0x90,0x90,0x90,0x78,0x78,0x78,0x44,0x44,0x44,0x83,0x83,0x83,
|
||||
0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,
|
||||
0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0x7B,0x79,0x7B,0x61,0x61,0x61,0x4C,0x4C,0x4C,0x93,0x54,0x54,
|
||||
0x90,0x90,0x90,0x40,0x40,0x40,0x83,0x83,0x83,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,
|
||||
0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,
|
||||
0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0x7B,0x79,0x7B,0x61,0x61,0x61,0x44,0x44,0x44,0x83,0x83,0x83,
|
||||
0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC};
|
Loading…
Reference in New Issue
Block a user