#include <bcpixmap.h>
Inherited by ResourcePixmap.

Public Member Functions | |
| BC_Pixmap (BC_WindowBase *parent_window, VFrame *frame, int mode=PIXMAP_OPAQUE, int icon_offset=0) | |
| BC_Pixmap (BC_WindowBase *parent_window, int w, int h) | |
| ~BC_Pixmap () | |
| void | reset () |
| void | resize (int w, int h) |
| void | enable_opengl () |
| void | copy_area (int x, int y, int w, int h, int x2, int y2) |
| int | write_drawable (Drawable &pixmap, int dest_x, int dest_y, int dest_w=-1, int dest_h=-1, int src_x=-1, int src_y=-1) |
| void | draw_pixmap (BC_Pixmap *pixmap, int dest_x=0, int dest_y=0, int dest_w=-1, int dest_h=-1, int src_x=0, int src_y=0) |
| void | draw_vframe (VFrame *frame, int dest_x=0, int dest_y=0, int dest_w=-1, int dest_h=-1, int src_x=0, int src_y=0) |
| int | get_w () |
| int | get_h () |
| int | get_w_fixed () |
| int | get_h_fixed () |
| Pixmap | get_pixmap () |
| Pixmap | get_alpha () |
| int | use_alpha () |
| int | use_opaque () |
Private Member Functions | |
| int | initialize (BC_WindowBase *parent_window, int w, int h, int mode) |
Private Attributes | |
| BC_WindowBase * | parent_window |
| BC_WindowBase * | top_level |
| Pixmap | opaque_pixmap |
| Pixmap | alpha_pixmap |
| void * | opaque_xft_draw |
| void * | alpha_xft_draw |
| int | w |
| int | h |
| int | mode |
| GC | alpha_gc |
| GC | copy_gc |
Friends | |
| class | BC_WindowBase |
Definition at line 23 of file bcpixmap.h.
| BC_Pixmap::BC_Pixmap | ( | BC_WindowBase * | parent_window, | |
| VFrame * | frame, | |||
| int | mode = PIXMAP_OPAQUE, |
|||
| int | icon_offset = 0 | |||
| ) |
Definition at line 12 of file bcpixmap.C.
References alpha_gc, alpha_pixmap, BC_RGBA8888, BC_TRANSPARENCY, copy_gc, BC_WindowBase::display, BC_WindowBase::gc, BC_WindowBase::get_bg_color(), BC_WindowBase::get_color_model(), VFrame::get_color_model(), VFrame::get_h(), VFrame::get_w(), h, initialize(), opaque_pixmap, BC_Bitmap::read_frame(), reset(), BC_Bitmap::set_bg_color(), top_level, use_alpha(), use_opaque(), w, and BC_Bitmap::write_drawable().

| BC_Pixmap::BC_Pixmap | ( | BC_WindowBase * | parent_window, | |
| int | w, | |||
| int | h | |||
| ) |
Definition at line 96 of file bcpixmap.C.
References initialize(), and reset().

| BC_Pixmap::~BC_Pixmap | ( | ) |
Definition at line 103 of file bcpixmap.C.
References alpha_gc, alpha_pixmap, alpha_xft_draw, BC_WindowBase::display, BC_WindowBase::get_synchronous(), opaque_pixmap, opaque_xft_draw, parent_window, top_level, use_alpha(), and use_opaque().

| void BC_Pixmap::reset | ( | ) |
Reimplemented in ResourcePixmap.
Definition at line 137 of file bcpixmap.C.
References alpha_pixmap, alpha_xft_draw, opaque_pixmap, opaque_xft_draw, parent_window, and top_level.
Referenced by BC_Pixmap().
| void BC_Pixmap::resize | ( | int | w, | |
| int | h | |||
| ) |
Reimplemented in ResourcePixmap.
Definition at line 225 of file bcpixmap.C.
References BC_WindowBase::cmap, BC_WindowBase::default_depth, BC_WindowBase::display, BC_WindowBase::gc, get_h(), BC_WindowBase::get_resources(), get_w(), opaque_pixmap, opaque_xft_draw, top_level, BC_WindowBase::vis, and BC_WindowBase::win.
Referenced by ResourcePixmap::resize().

| void BC_Pixmap::enable_opengl | ( | ) |
Definition at line 428 of file bcpixmap.C.
References BC_Synchronous::current_window, BC_WindowBase::display, BC_WindowBase::get_display(), BC_WindowBase::get_screen(), BC_WindowBase::get_synchronous(), opaque_pixmap, and top_level.

| void BC_Pixmap::copy_area | ( | int | x, | |
| int | y, | |||
| int | w, | |||
| int | h, | |||
| int | x2, | |||
| int | y2 | |||
| ) |
Definition at line 272 of file bcpixmap.C.
References BC_WindowBase::display, BC_WindowBase::gc, opaque_pixmap, and top_level.
Referenced by ResourcePixmap::draw_data().
| int BC_Pixmap::write_drawable | ( | Drawable & | pixmap, | |
| int | dest_x, | |||
| int | dest_y, | |||
| int | dest_w = -1, |
|||
| int | dest_h = -1, |
|||
| int | src_x = -1, |
|||
| int | src_y = -1 | |||
| ) |
Definition at line 286 of file bcpixmap.C.
References alpha_gc, BC_WindowBase::display, BC_WindowBase::gc, h, top_level, use_alpha(), use_opaque(), and w.
Referenced by BC_WindowBase::draw_3segment(), BC_WindowBase::draw_pixmap(), and draw_pixmap().

| void BC_Pixmap::draw_pixmap | ( | BC_Pixmap * | pixmap, | |
| int | dest_x = 0, |
|||
| int | dest_y = 0, |
|||
| int | dest_w = -1, |
|||
| int | dest_h = -1, |
|||
| int | src_x = 0, |
|||
| int | src_y = 0 | |||
| ) |
Definition at line 360 of file bcpixmap.C.
References opaque_pixmap, and write_drawable().
Referenced by BC_ListBox::draw_background(), BC_ListBox::draw_button(), BC_Tumbler::draw_face(), BC_Button::draw_face(), BC_ListBox::draw_items(), and TrackCanvas::draw_resources().

| void BC_Pixmap::draw_vframe | ( | VFrame * | frame, | |
| int | dest_x = 0, |
|||
| int | dest_y = 0, |
|||
| int | dest_w = -1, |
|||
| int | dest_h = -1, |
|||
| int | src_x = 0, |
|||
| int | src_y = 0 | |||
| ) |
Definition at line 340 of file bcpixmap.C.
References BC_WindowBase::draw_vframe(), and parent_window.
Referenced by AssetPicon::create_objects(), ResourceThread::do_video(), and ResourcePixmap::draw_video_resource().

| int BC_Pixmap::get_w | ( | ) |
Definition at line 387 of file bcpixmap.C.
References w.
Referenced by BC_Pan::activate(), HistogramSlider::button_press_event(), BC_ListBoxToggle::button_press_event(), BC_ListBoxToggle::cursor_motion_event(), TrackCanvas::do_autos(), BC_ListBox::drag_start_event(), BC_ListBoxToggle::draw(), TrackCanvas::draw(), BC_WindowBase::draw_3segmenth(), BC_WindowBase::draw_3segmentv(), BC_WindowBase::draw_9segment(), BC_ListBox::draw_background(), CWindowGUI::draw_status(), BC_PopupMenu::draw_title(), BC_ListBox::draw_titles(), BC_Slider::get_button_pixels(), BC_ListBoxItem::get_icon_w(), BC_ListBox::get_icon_w(), BC_ListBox::get_scrollbars(), BC_Tumbler::initialize(), BC_PixmapSW::initialize(), BC_Meter::initialize(), BC_ListBox::initialize(), resize(), ResourcePixmap::resize(), BC_WindowBase::set_icon(), BC_Pan::set_images(), BC_Button::set_images(), and HistogramSlider::update().
| int BC_Pixmap::get_h | ( | ) |
Definition at line 392 of file bcpixmap.C.
References h.
Referenced by BC_Pan::activate(), BC_ListBoxToggle::button_press_event(), BC_ListBoxToggle::cursor_motion_event(), TrackCanvas::do_autos(), TrackCanvas::do_plugin_autos(), BC_ListBox::drag_start_event(), BC_ListBoxToggle::draw(), TrackCanvas::draw(), BC_WindowBase::draw_3segmenth(), BC_WindowBase::draw_3segmentv(), BC_WindowBase::draw_9segment(), BC_ListBox::draw_background(), BC_Toggle::draw_face(), BC_Slider::draw_face(), CWindowGUI::draw_status(), BC_PopupMenu::draw_title(), BC_ListBox::draw_titles(), BC_Slider::get_button_pixels(), BC_ListBoxItem::get_icon_h(), BC_ListBox::get_icon_h(), BC_ListBox::get_scrollbars(), BC_ListBox::get_title_h(), BC_Tumbler::initialize(), BC_ProgressBar::initialize(), BC_PixmapSW::initialize(), BC_Meter::initialize(), BC_ListBox::initialize(), resize(), ResourcePixmap::resize(), BC_WindowBase::set_icon(), BC_PopupMenu::set_images(), BC_Pan::set_images(), BC_GenericButton::set_images(), and BC_Button::set_images().
| int BC_Pixmap::get_w_fixed | ( | ) |
Definition at line 397 of file bcpixmap.C.
References w.
Referenced by BC_WindowBase::draw_3segment().
| int BC_Pixmap::get_h_fixed | ( | ) |
| Pixmap BC_Pixmap::get_pixmap | ( | ) |
Definition at line 407 of file bcpixmap.C.
References opaque_pixmap.
Referenced by BC_WindowBase::draw_tiles(), and BC_WindowBase::set_icon().
| Pixmap BC_Pixmap::get_alpha | ( | ) |
Definition at line 412 of file bcpixmap.C.
References alpha_pixmap.
Referenced by BC_WindowBase::init_window_shape(), and BC_WindowBase::set_icon().
| int BC_Pixmap::use_alpha | ( | ) |
Definition at line 422 of file bcpixmap.C.
References mode.
Referenced by BC_Pixmap(), BC_WindowBase::init_window_shape(), initialize(), write_drawable(), and ~BC_Pixmap().
| int BC_Pixmap::use_opaque | ( | ) |
Definition at line 417 of file bcpixmap.C.
Referenced by BC_Pixmap(), initialize(), write_drawable(), and ~BC_Pixmap().
| int BC_Pixmap::initialize | ( | BC_WindowBase * | parent_window, | |
| int | w, | |||
| int | h, | |||
| int | mode | |||
| ) | [private] |
Definition at line 151 of file bcpixmap.C.
References alpha_gc, alpha_pixmap, alpha_xft_draw, BC_WindowBase::cmap, copy_gc, BC_WindowBase::default_depth, BC_WindowBase::display, BC_WindowBase::get_resources(), opaque_pixmap, opaque_xft_draw, BC_WindowBase::top_level, top_level, use_alpha(), use_opaque(), BC_WindowBase::vis, and BC_WindowBase::win.
Referenced by BC_Pixmap().

friend class BC_WindowBase [friend] |
Definition at line 35 of file bcpixmap.h.
BC_WindowBase* BC_Pixmap::parent_window [private] |
BC_WindowBase* BC_Pixmap::top_level [private] |
Definition at line 79 of file bcpixmap.h.
Referenced by BC_Pixmap(), copy_area(), enable_opengl(), initialize(), reset(), resize(), write_drawable(), and ~BC_Pixmap().
Pixmap BC_Pixmap::opaque_pixmap [private] |
Definition at line 80 of file bcpixmap.h.
Referenced by BC_Pixmap(), BC_WindowBase::clear_box(), BC_WindowBase::copy_area(), copy_area(), BC_WindowBase::draw_3segment(), BC_WindowBase::draw_bitmap(), BC_WindowBase::draw_box(), BC_WindowBase::draw_circle(), BC_WindowBase::draw_disc(), BC_WindowBase::draw_line(), BC_WindowBase::draw_pixel(), BC_WindowBase::draw_pixmap(), draw_pixmap(), BC_WindowBase::draw_polygon(), BC_WindowBase::draw_rectangle(), BC_WindowBase::draw_text(), BC_WindowBase::draw_top_background(), BC_WindowBase::draw_triangle_down(), BC_WindowBase::draw_triangle_down_flat(), BC_WindowBase::draw_triangle_left(), BC_WindowBase::draw_triangle_right(), BC_WindowBase::draw_triangle_up(), enable_opengl(), BC_WindowBase::flash(), get_pixmap(), initialize(), reset(), resize(), BC_WindowBase::slide_down(), BC_WindowBase::slide_left(), BC_WindowBase::slide_right(), BC_WindowBase::slide_up(), and ~BC_Pixmap().
Pixmap BC_Pixmap::alpha_pixmap [private] |
Definition at line 80 of file bcpixmap.h.
Referenced by BC_Pixmap(), get_alpha(), initialize(), reset(), and ~BC_Pixmap().
void* BC_Pixmap::opaque_xft_draw [private] |
Definition at line 81 of file bcpixmap.h.
Referenced by BC_WindowBase::draw_xft_text(), initialize(), reset(), resize(), and ~BC_Pixmap().
void * BC_Pixmap::alpha_xft_draw [private] |
int BC_Pixmap::w [private] |
Definition at line 86 of file bcpixmap.h.
Referenced by BC_Pixmap(), ResourcePixmap::draw_title(), get_w(), get_w_fixed(), and write_drawable().
int BC_Pixmap::h [private] |
Definition at line 86 of file bcpixmap.h.
Referenced by BC_Pixmap(), get_h(), get_h_fixed(), and write_drawable().
int BC_Pixmap::mode [private] |
GC BC_Pixmap::alpha_gc [private] |
Definition at line 89 of file bcpixmap.h.
Referenced by BC_Pixmap(), initialize(), write_drawable(), and ~BC_Pixmap().
GC BC_Pixmap::copy_gc [private] |
1.5.5