+++ /dev/null
-/*
- Copyright (C) 2000 Paul Davis
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-
-*/
-
-static const gchar* check_xpm[] = {
-"13 10 3 1",
-" c None",
-". c #000000",
-"+ c #FFFFFF",
-" .. ",
-" ++++++++.++.",
-" + .++. ",
-" +. .++.+ ",
-" .+. .++. + ",
-".+++..++. + ",
-" .+++++. + ",
-" +.+++. + ",
-" ++.+.++++++ ",
-" . "};
-
-static const gchar* empty_xpm[] = {
-"13 10 2 1",
-" c None",
-"+ c #FFFFFF",
-" ",
-" +++++++++++ ",
-" + + ",
-" + + ",
-" + + ",
-" + + ",
-" + + ",
-" + + ",
-" +++++++++++ ",
-" ",};
-
#include <ardour/utils.h>
#include "ardour_ui.h"
-#include "check_mark.h"
#include "editor.h"
#include "grouped_buttons.h"
#include "keyboard.h"
Gdk::Cursor* Editor::time_fx_cursor = 0;
Gdk::Cursor* Editor::fader_cursor = 0;
Gdk::Cursor* Editor::speaker_cursor = 0;
-Gdk::Cursor* Editor::null_cursor = 0;
Gdk::Cursor* Editor::wait_cursor = 0;
Gdk::Cursor* Editor::timebar_cursor = 0;
-GdkPixmap *Editor::check_pixmap = 0;
-GdkBitmap *Editor::check_mask = 0;
-GdkPixmap *Editor::empty_pixmap = 0;
-GdkBitmap *Editor::empty_mask = 0;
-
Editor::Editor (AudioEngine& eng)
: engine (eng),
init_colormap ();
- check_pixmap = gdk_pixmap_colormap_create_from_xpm_d (NULL,
- gtk_widget_get_colormap (GTK_WIDGET(edit_group_list.gobj())),
- &check_mask, NULL, (gchar **) check_xpm);
- empty_pixmap = gdk_pixmap_colormap_create_from_xpm_d (NULL,
- gtk_widget_get_colormap (GTK_WIDGET(edit_group_list.gobj())),
- &empty_mask, NULL, (gchar **) empty_xpm);
-
session = 0;
selection = new Selection;
track_context_menu.accelerate (*this->get_toplevel());
track_region_context_menu.accelerate (*this->get_toplevel());
-
- Glib::RefPtr<Gdk::Pixmap> empty_pixmap = Gdk::Pixmap::create(get_window(), 1, 1, 1);
- Glib::RefPtr<Gdk::Pixmap> empty_bitmap = Gdk::Pixmap::create(get_window(), 1, 1, 1);
- Gdk::Color white ("#ffffff" );
-
- null_cursor = new Gdk::Cursor(empty_pixmap, empty_bitmap, white, white, 0, 0);
}
static Gdk::Cursor* time_fx_cursor;
static Gdk::Cursor* fader_cursor;
static Gdk::Cursor* speaker_cursor;
- static Gdk::Cursor* null_cursor;
static Gdk::Cursor* wait_cursor;
static Gdk::Cursor* timebar_cursor;
Gtk::VBox list_vpacker;
- static GdkPixmap* check_pixmap;
- static GdkBitmap* check_mask;
- static GdkPixmap* empty_pixmap;
- static GdkBitmap* empty_mask;
-
/* autoscrolling */
int autoscroll_timeout_tag;