#include "automation.h"#include "autos.h"#include "bcsignals.h"#include "canvas.h"#include "clip.h"#include "cpanel.h"#include "cplayback.h"#include "ctimebar.h"#include "cursors.h"#include "cwindowgui.h"#include "cwindow.h"#include "cwindowtool.h"#include "editpanel.h"#include "edl.h"#include "edlsession.h"#include "floatauto.h"#include "floatautos.h"#include "language.h"#include "localsession.h"#include "mainclock.h"#include "mainmenu.h"#include "mainundo.h"#include "mainsession.h"#include "maskauto.h"#include "maskautos.h"#include "meterpanel.h"#include "mwindowgui.h"#include "mwindow.h"#include "playtransport.h"#include "theme.h"#include "trackcanvas.h"#include "tracks.h"#include "transportque.h"#include "vtrack.h"Go to the source code of this file.
Defines | |
| #define | CROPHANDLE_W 10 |
| #define | CROPHANDLE_H 10 |
| #define | CONTROL_W 10 |
| #define | CONTROL_H 10 |
| #define | FIRST_CONTROL_W 20 |
| #define | FIRST_CONTROL_H 20 |
| #define | BC_INFINITY 65536 |
| #define | SQR(x) ((x) * (x)) |
| #define | TEST_BOX(cursor_x, cursor_y, target_x, target_y) |
| #define | V_TO_R 1.40200 |
| #define | V_TO_G -0.71414 |
| #define | U_TO_G -0.34414 |
| #define | U_TO_B 1.77200 |
| #define | GET_COLOR(type, components, max, do_yuv) |
| #define | CLAMP(x, y, z) ((x) = ((x) < (y) ? (y) : ((x) > (z) ? (z) : (x)))) |
| #define | DRAW_PROJECTION(offset) |
Variables | |
| static double | my_zoom_table [] |
| static int | total_zooms = sizeof(my_zoom_table) / sizeof(double) |
|
|
Definition at line 845 of file cwindowgui.C. Referenced by EDLSession::boundaries(), CWindowCanvas::do_mask(), ResourcePixmap::draw_title(), and DC_Offset::run(). |
|
|
|
|
|
Definition at line 841 of file cwindowgui.C. Referenced by CWindowCanvas::do_mask(). |
|
|
Definition at line 840 of file cwindowgui.C. Referenced by CWindowCanvas::do_mask(). |
|
|
Definition at line 833 of file cwindowgui.C. Referenced by VideoWindowCanvas::button_press(), CWindowCanvas::draw_crop(), VideoWindowCanvas::draw_crop_box(), CWindowCanvas::draw_crophandle(), and CWindowCanvas::test_crop(). |
|
|
Definition at line 832 of file cwindowgui.C. Referenced by VideoWindowCanvas::button_press(), CWindowCanvas::draw_crop(), VideoWindowCanvas::draw_crop_box(), CWindowCanvas::draw_crophandle(), and CWindowCanvas::test_crop(). |
|
|
Value: canvas->draw_rectangle((int)track_x1 + offset, \ (int)track_y1 + offset, \ (int)(track_x2 - track_x1), \ (int)(track_y2 - track_y1)); \ canvas->draw_line((int)track_x1 + offset, \ (int)track_y1 + offset, \ (int)track_x2 + offset, \ (int)track_y2 + offset); \ canvas->draw_line((int)track_x2 + offset, \ (int)track_y1 + offset, \ (int)track_x1 + offset, \ (int)track_y2 + offset); \ Referenced by CWindowCanvas::draw_bezier(). |
|
|
Definition at line 843 of file cwindowgui.C. Referenced by CWindowCanvas::do_mask(). |
|
|
Definition at line 842 of file cwindowgui.C. Referenced by CWindowCanvas::do_mask(). |
|
|
Value: { \
type *row = (type*)(refresh_frame->get_rows()[(int)cursor_y]) + \
(int)cursor_x * components; \
float red = (float)*row++ / max; \
float green = (float)*row++ / max; \
float blue = (float)*row++ / max; \
if(do_yuv) \
{ \
mwindow->edl->local_session->red = red + V_TO_R * (blue - 0.5); \
mwindow->edl->local_session->green = red + U_TO_G * (green - 0.5) + V_TO_G * (blue - 0.5); \
mwindow->edl->local_session->blue = red + U_TO_B * (green - 0.5); \
} \
else \
{ \
mwindow->edl->local_session->red = red; \
mwindow->edl->local_session->green = green; \
mwindow->edl->local_session->blue = blue; \
} \
}
Referenced by CWindowCanvas::do_eyedrop(). |
|
|
Definition at line 847 of file cwindowgui.C. Referenced by CWindowCanvas::do_mask(). |
|
|
Value: (cursor_x >= target_x - CONTROL_W / 2 && \ cursor_x < target_x + CONTROL_W / 2 && \ cursor_y >= target_y - CONTROL_H / 2 && \ cursor_y < target_y + CONTROL_H / 2) Referenced by CWindowCanvas::do_mask(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Initial value:
{
0.25,
0.33,
0.50,
0.75,
1.0,
1.5,
2.0,
3.0,
4.0
}
Definition at line 38 of file cwindowgui.C. Referenced by CWindowCanvas::test_zoom(). |
|
|
Definition at line 51 of file cwindowgui.C. Referenced by CWindowCanvas::test_zoom(). |
1.4.4