abock / moonshine

An embedded media player plugin for Firefox that leverages Moonlight to provide native Windows Media support for Linux.

This URL has Read+Write access

jstedfast (author)
Wed Sep 02 12:33:04 -0700 2009
Aaron Bockover (committer)
Wed Sep 02 12:53:06 -0700 2009
moonshine / player / mtk / mtk-toolbar.js
100644 24 lines (18 sloc) 0.531 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
//
// This file is licensed under the MIT X11 open source license.
// http://www.opensource.org/licenses/mit-license.php
//
// Authors: Aaron Bockover <abockover@novell.com>
//
// Copyright 2009 Novell, Inc.
//
 
function MtkToolBar (settings) {
    this.XamlInitSource = '<Canvas/>';
    MtkHBox.call (this, settings);
 
    this.Spacing = 3;
    this.Padding = 3;
 
    this.Override ("OnStyleSet", function () {
        this.Xaml.Background = MtkStyle.CreateGradient (this, "window_bg");
    });
 
    this.AfterConstructed ();
}