X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fmainsession.inc;fp=cinelerra-5.1%2Fcinelerra%2Fmainsession.inc;h=f24f5d877446e4ef83f6a79759301e2dc98914d0;hb=30bdb85eb33a8ee7ba675038a86c6be59c43d7bd;hp=0000000000000000000000000000000000000000;hpb=52fcc46226f9df46f9ce9d0566dc568455a7db0b;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/mainsession.inc b/cinelerra-5.1/cinelerra/mainsession.inc new file mode 100644 index 00000000..f24f5d87 --- /dev/null +++ b/cinelerra-5.1/cinelerra/mainsession.inc @@ -0,0 +1,68 @@ + +/* + * CINELERRA + * Copyright (C) 2008 Adam Williams + * + * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + */ + +#ifndef MAINSESSION_INC +#define MAINSESSION_INC + +class MainSession; + +// Current operation in main window +enum +{ + NO_OPERATION, + DRAG_EDITHANDLE1, // Waiting to move out of drag threshold + DRAG_EDITHANDLE2, // Dragging outside drag threshold + DRAG_PARTITION, + SELECT_REGION, + DRAG_ASSET, + DRAG_ATRANSITION, + DRAG_VTRANSITION, + DRAG_AEFFECT, + DRAG_VEFFECT, + DRAG_AEFFECT_COPY, // 10 + DRAG_VEFFECT_COPY, + DRAG_EDIT, + DRAG_FADE, + DRAG_CZOOM, + DRAG_PZOOM, + DRAG_PAN_PRE, + DRAG_PAN, + DRAG_PLAY, + DRAG_MUTE, + DRAG_CAMERA_X, // 20 + DRAG_CAMERA_Y, + DRAG_CAMERA_Z, + DRAG_MASK_PRE, + DRAG_MASK, + DRAG_MODE_PRE, + DRAG_MODE, + DRAG_PROJECTOR_X, + DRAG_PROJECTOR_Y, + DRAG_PROJECTOR_Z, + DRAG_PLUGINKEY_PRE, // 30 + DRAG_PLUGINKEY, + DRAG_PLUGINHANDLE1, // Waiting to move out of drag threshold + DRAG_PLUGINHANDLE2, // Dragging outside drag threshold + DRAG_SPEED +}; + + +#endif