copyright notice

This commit is contained in:
Xant
2009-09-12 00:45:04 +02:00
parent 50283452f1
commit 5e8199fdf3
51 changed files with 884 additions and 327 deletions
+28 -6
View File
@@ -1,3 +1,22 @@
/* FreeJ
* (c) Copyright 2009 Xant <xant@dyne.org>
*
* This source code is free software; you can redistribute it and/or
* modify it under the terms of the GNU Public License as published
* by the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version.
*
* This source code 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.
* Please refer to the GNU Public License for more details.
*
* You should have received a copy of the GNU Public License along with
* this source code; if not, write to:
* Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
#ifndef __FACTORY_H__
#define __FACTORY_H__
@@ -42,16 +61,19 @@
* This will allow javascripts to call "var geo_layer = new GeometryLayer()"
* obtaining an instance of a different subclass depending on the platform and setup.
*
* If the purpose is to reuse instances (implementing singletons) the get_instance() method can be used insted.
* If the purpose is to reuse instances (implementing, for instance, singletons) the get_instance() method
* can be used instead of new_instance().
* for example:
* > MyScreen *screenInstance = Factory<Screen>::get_instance("Screen");
*
* will return always the same instance as long as only 'get_instance()' is called.
* mixing calls new_instance() and get_instance() can lead to unexpected behaviours.
* get_instance() will take care of creating a new instance when called the first time
* It will take care of creating a new instance when called the first time so
* mixing calls to new_instance() and get_instance() can lead to unexpected behaviours.
*
*/
#include <map> // for std::map
#include <string> // for std::string
#include <jutils.h>
#include <map> // std::map
#include <string> // std::string
#include <jutils.h> // func() and error()
#define FACTORY_ID_MAXLEN 64
+19 -7
View File
@@ -1,10 +1,22 @@
//
// Freej.h
// freej
//
// Created by xant on 2/8/09.
// Copyright 2009 dyne.org. All rights reserved.
//
/* FreeJ
* (c) Copyright 2009 Xant <xant@dyne.org>
*
* This source code is free software; you can redistribute it and/or
* modify it under the terms of the GNU Public License as published
* by the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version.
*
* This source code 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.
* Please refer to the GNU Public License for more details.
*
* You should have received a copy of the GNU Public License along with
* this source code; if not, write to:
* Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
#ifndef __CFREEJ_H__
#define __CFREEJ_H__
+19 -7
View File
@@ -1,10 +1,22 @@
//
// Freej.m
// freej
//
// Created by xant on 2/8/09.
// Copyright 2009 dyne.org. All rights reserved.
//
/* FreeJ
* (c) Copyright 2009 Xant <xant@dyne.org>
*
* This source code is free software; you can redistribute it and/or
* modify it under the terms of the GNU Public License as published
* by the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version.
*
* This source code 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.
* Please refer to the GNU Public License for more details.
*
* You should have received a copy of the GNU Public License along with
* this source code; if not, write to:
* Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
#include <jsparser.h>
#import <CFreej.h>
#import <CVLayer.h>
+18 -7
View File
@@ -1,10 +1,21 @@
//
// CIAlphaFade.h
// freej
//
// Created by xant on 2/24/09.
// Copyright 2009 dyne.org. All rights reserved.
//
/* FreeJ
* (c) Copyright 2009 Xant <xant@dyne.org>
*
* This source code is free software; you can redistribute it and/or
* modify it under the terms of the GNU Public License as published
* by the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version.
*
* This source code 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.
* Please refer to the GNU Public License for more details.
*
* You should have received a copy of the GNU Public License along with
* this source code; if not, write to:
* Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
#import <Cocoa/Cocoa.h>
#include <QuartzCore/QuartzCore.h>
+18 -7
View File
@@ -1,10 +1,21 @@
//
// CIAlphaFade.m
// freej
//
// Created by xant on 2/24/09.
// Copyright 2009 dyne.org. All rights reserved.
//
/* FreeJ
* (c) Copyright 2009 Xant <xant@dyne.org>
*
* This source code is free software; you can redistribute it and/or
* modify it under the terms of the GNU Public License as published
* by the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version.
*
* This source code 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.
* Please refer to the GNU Public License for more details.
*
* You should have received a copy of the GNU Public License along with
* this source code; if not, write to:
* Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
#import "CIAlphaFade.h"
+16 -5
View File
@@ -1,11 +1,22 @@
/*
* CKbdController.h
* freej
/* FreeJ
* (c) Copyright 2009 Xant <xant@dyne.org>
*
* Created by xant on 8/28/09.
* Copyright 2009 dyne.org. All rights reserved.
* This source code is free software; you can redistribute it and/or
* modify it under the terms of the GNU Public License as published
* by the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version.
*
* This source code 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.
* Please refer to the GNU Public License for more details.
*
* You should have received a copy of the GNU Public License along with
* this source code; if not, write to:
* Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
#include <factory.h>
#include <controller.h>
#include <CFreej.h>
+15 -5
View File
@@ -1,9 +1,19 @@
/*
* CKbdController.cpp
* freej
/* FreeJ
* (c) Copyright 2009 Xant <xant@dyne.org>
*
* Created by xant on 8/28/09.
* Copyright 2009 dyne.org. All rights reserved.
* This source code is free software; you can redistribute it and/or
* modify it under the terms of the GNU Public License as published
* by the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version.
*
* This source code 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.
* Please refer to the GNU Public License for more details.
*
* You should have received a copy of the GNU Public License along with
* this source code; if not, write to:
* Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
+18 -7
View File
@@ -1,10 +1,21 @@
//
// CVF0rLayer.h
// freej
//
// Created by xant on 3/8/09.
// Copyright 2009 dyne.org. All rights reserved.
//
/* FreeJ
* (c) Copyright 2009 Xant <xant@dyne.org>
*
* This source code is free software; you can redistribute it and/or
* modify it under the terms of the GNU Public License as published
* by the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version.
*
* This source code 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.
* Please refer to the GNU Public License for more details.
*
* You should have received a copy of the GNU Public License along with
* this source code; if not, write to:
* Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
#ifndef __CVF0RLAYER_H__
#define __CVF0RLAYER_H__
+18 -7
View File
@@ -1,10 +1,21 @@
//
// CVF0rLayer.m
// freej
//
// Created by xant on 3/8/09.
// Copyright 2009 dyne.org. All rights reserved.
//
/* FreeJ
* (c) Copyright 2009 Xant <xant@dyne.org>
*
* This source code is free software; you can redistribute it and/or
* modify it under the terms of the GNU Public License as published
* by the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version.
*
* This source code 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.
* Please refer to the GNU Public License for more details.
*
* You should have received a copy of the GNU Public License along with
* this source code; if not, write to:
* Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
#include "CVF0rLayer.h"
#import "CVF0rLayerView.h"
+18 -7
View File
@@ -1,10 +1,21 @@
//
// CVF0rLayerController.h
// freej
//
// Created by xant on 9/2/09.
// Copyright 2009 dyne.org. All rights reserved.
//
/* FreeJ
* (c) Copyright 2009 Xant <xant@dyne.org>
*
* This source code is free software; you can redistribute it and/or
* modify it under the terms of the GNU Public License as published
* by the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version.
*
* This source code 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.
* Please refer to the GNU Public License for more details.
*
* You should have received a copy of the GNU Public License along with
* this source code; if not, write to:
* Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
#ifndef __CVF0RLAYERCONTROLLER_H__
#define __CVF0RLAYERCONTROLLER_H__
+18 -7
View File
@@ -1,10 +1,21 @@
//
// CVF0rLayerController.mn
// freej
//
// Created by xant on 9/2/09.
// Copyright 2009 dyne.org. All rights reserved.
//
/* FreeJ
* (c) Copyright 2009 Xant <xant@dyne.org>
*
* This source code is free software; you can redistribute it and/or
* modify it under the terms of the GNU Public License as published
* by the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version.
*
* This source code 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.
* Please refer to the GNU Public License for more details.
*
* You should have received a copy of the GNU Public License along with
* this source code; if not, write to:
* Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
#import "CVF0rLayerController.h"
+18 -7
View File
@@ -1,10 +1,21 @@
//
// CVF0rLayerView.h
// freej
//
// Created by xant on 8/30/09.
// Copyright 2009 __MyCompanyName__. All rights reserved.
//
/* FreeJ
* (c) Copyright 2009 Xant <xant@dyne.org>
*
* This source code is free software; you can redistribute it and/or
* modify it under the terms of the GNU Public License as published
* by the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version.
*
* This source code 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.
* Please refer to the GNU Public License for more details.
*
* You should have received a copy of the GNU Public License along with
* this source code; if not, write to:
* Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
#ifndef __CVF0RLAYERVIEW_H__
#define __CVF0RLAYERVIEW_H__
+18 -7
View File
@@ -1,10 +1,21 @@
//
// CVF0rLayerView.mm
// freej
//
// Created by xant on 8/30/09.
// Copyright 2009 dyne.org. All rights reserved.
//
/* FreeJ
* (c) Copyright 2009 Xant <xant@dyne.org>
*
* This source code is free software; you can redistribute it and/or
* modify it under the terms of the GNU Public License as published
* by the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version.
*
* This source code 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.
* Please refer to the GNU Public License for more details.
*
* You should have received a copy of the GNU Public License along with
* this source code; if not, write to:
* Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
#include "CVF0rLayer.h"
#import "CVF0rLayerView.h"
+19 -7
View File
@@ -1,10 +1,22 @@
//
// CVFileInput.h
// freej
//
// Created by xant on 2/16/09.
// Copyright 2009 dyne.org. All rights reserved.
//
/* FreeJ
* (c) Copyright 2009 Xant <xant@dyne.org>
*
* This source code is free software; you can redistribute it and/or
* modify it under the terms of the GNU Public License as published
* by the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version.
*
* This source code 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.
* Please refer to the GNU Public License for more details.
*
* You should have received a copy of the GNU Public License along with
* this source code; if not, write to:
* Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
#ifndef __CV_FILEINPUT_H__
#define __CV_FILEINPUT_H__
#include "CVLayer.h"
+18 -7
View File
@@ -1,10 +1,21 @@
//
// CVFileInput.mm
// freej
//
// Created by xant on 2/16/09.
// Copyright 2009 dyne.org. All rights reserved.
//
/* FreeJ
* (c) Copyright 2009 Xant <xant@dyne.org>
*
* This source code is free software; you can redistribute it and/or
* modify it under the terms of the GNU Public License as published
* by the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version.
*
* This source code 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.
* Please refer to the GNU Public License for more details.
*
* You should have received a copy of the GNU Public License along with
* this source code; if not, write to:
* Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
#import "CVFileInputController.h"
#import "CIAlphaFade.h"
+18 -7
View File
@@ -1,10 +1,21 @@
//
// CVFileInputView.h
// freej
//
// Created by xant on 9/2/09.
// Copyright 2009 dyne.org. All rights reserved.
//
/* FreeJ
* (c) Copyright 2009 Xant <xant@dyne.org>
*
* This source code is free software; you can redistribute it and/or
* modify it under the terms of the GNU Public License as published
* by the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version.
*
* This source code 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.
* Please refer to the GNU Public License for more details.
*
* You should have received a copy of the GNU Public License along with
* this source code; if not, write to:
* Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
#ifndef __CVFILEINPUTVIEW_H__
#define __CVFILEINPUTVIEW_H__
+18 -7
View File
@@ -1,10 +1,21 @@
//
// CVFileInputView.mm
// freej
//
// Created by xant on 9/2/09.
// Copyright 2009 __MyCompanyName__. All rights reserved.
//
/* FreeJ
* (c) Copyright 2009 Xant <xant@dyne.org>
*
* This source code is free software; you can redistribute it and/or
* modify it under the terms of the GNU Public License as published
* by the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version.
*
* This source code 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.
* Please refer to the GNU Public License for more details.
*
* You should have received a copy of the GNU Public License along with
* this source code; if not, write to:
* Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
#include "CVLayerController.h"
#import "CVFileInputView.h"
+18 -7
View File
@@ -1,10 +1,21 @@
//
// CVFilterPanel.h
// freej
//
// Created by xant on 2/26/09.
// Copyright 2009 dyne.org. All rights reserved.
//
/* FreeJ
* (c) Copyright 2009 Xant <xant@dyne.org>
*
* This source code is free software; you can redistribute it and/or
* modify it under the terms of the GNU Public License as published
* by the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version.
*
* This source code 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.
* Please refer to the GNU Public License for more details.
*
* You should have received a copy of the GNU Public License along with
* this source code; if not, write to:
* Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
#ifndef __CV_FILTERPANEL_H__
#define __CV_FILTERPANEL_H__
+18 -7
View File
@@ -1,10 +1,21 @@
//
// CVFilterPanel.m
// freej
//
// Created by xant on 2/26/09.
// Copyright 2009 dyne.org. All rights reserved.
//
/* FreeJ
* (c) Copyright 2009 Xant <xant@dyne.org>
*
* This source code is free software; you can redistribute it and/or
* modify it under the terms of the GNU Public License as published
* by the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version.
*
* This source code 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.
* Please refer to the GNU Public License for more details.
*
* You should have received a copy of the GNU Public License along with
* this source code; if not, write to:
* Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
#import "CVFilterPanel.h"
+18 -7
View File
@@ -1,10 +1,21 @@
//
// CVGenerator.h
// freej
//
// Created by xant on 3/7/09.
// Copyright 2009 dyne.org. All rights reserved.
//
/* FreeJ
* (c) Copyright 2009 Xant <xant@dyne.org>
*
* This source code is free software; you can redistribute it and/or
* modify it under the terms of the GNU Public License as published
* by the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version.
*
* This source code 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.
* Please refer to the GNU Public License for more details.
*
* You should have received a copy of the GNU Public License along with
* this source code; if not, write to:
* Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
#import <Cocoa/Cocoa.h>
#import <QuartzCore/CIFilter.h>
+18 -7
View File
@@ -1,10 +1,21 @@
//
// CVGenerator.m
// freej
//
// Created by xant on 3/7/09.
// Copyright 2009 dyne.org. All rights reserved.
//
/* FreeJ
* (c) Copyright 2009 Xant <xant@dyne.org>
*
* This source code is free software; you can redistribute it and/or
* modify it under the terms of the GNU Public License as published
* by the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version.
*
* This source code 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.
* Please refer to the GNU Public License for more details.
*
* You should have received a copy of the GNU Public License along with
* this source code; if not, write to:
* Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
// XXX - WIP
+16 -5
View File
@@ -1,11 +1,22 @@
/*
* CVideo_layer.h
* freej
/* FreeJ
* (c) Copyright 2009 Xant <xant@dyne.org>
*
* Created by xant on 2/9/09.
* Copyright 2009 dyne.org. All rights reserved.
* This source code is free software; you can redistribute it and/or
* modify it under the terms of the GNU Public License as published
* by the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version.
*
* This source code 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.
* Please refer to the GNU Public License for more details.
*
* You should have received a copy of the GNU Public License along with
* this source code; if not, write to:
* Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
#ifndef __CVGRABBERCONTROLLER_H__
#define __CVGRABBERCONTROLLER_H__
+15 -5
View File
@@ -1,9 +1,19 @@
/*
* CVideo_layer.cpp
* freej
/* FreeJ
* (c) Copyright 2009 Xant <xant@dyne.org>
*
* Created by xant on 2/9/09.
* Copyright 2009 dyne.org. All rights reserved.
* This source code is free software; you can redistribute it and/or
* modify it under the terms of the GNU Public License as published
* by the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version.
*
* This source code 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.
* Please refer to the GNU Public License for more details.
*
* You should have received a copy of the GNU Public License along with
* this source code; if not, write to:
* Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
+18 -7
View File
@@ -1,10 +1,21 @@
//
// CVGrabberView.h
// freej
//
// Created by xant on 9/2/09.
// Copyright 2009 dyne.org. All rights reserved.
//
/* FreeJ
* (c) Copyright 2009 Xant <xant@dyne.org>
*
* This source code is free software; you can redistribute it and/or
* modify it under the terms of the GNU Public License as published
* by the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version.
*
* This source code 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.
* Please refer to the GNU Public License for more details.
*
* You should have received a copy of the GNU Public License along with
* this source code; if not, write to:
* Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
#ifndef __CVGRABBERVIEW_H__
#define __CVGRABBERVIEW_H__
+18 -7
View File
@@ -1,10 +1,21 @@
//
// CVGrabberView.m
// freej
//
// Created by xant on 9/2/09.
// Copyright 2009 dyne.org. All rights reserved.
//
/* FreeJ
* (c) Copyright 2009 Xant <xant@dyne.org>
*
* This source code is free software; you can redistribute it and/or
* modify it under the terms of the GNU Public License as published
* by the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version.
*
* This source code 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.
* Please refer to the GNU Public License for more details.
*
* You should have received a copy of the GNU Public License along with
* this source code; if not, write to:
* Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
#import "CVGrabberView.h"
+18 -7
View File
@@ -1,10 +1,21 @@
//
// CVInternalLayer.h
// freej
//
// Created by xant on 6/14/09.
// Copyright 2009 dyne.org. All rights reserved.
//
/* FreeJ
* (c) Copyright 2009 Xant <xant@dyne.org>
*
* This source code is free software; you can redistribute it and/or
* modify it under the terms of the GNU Public License as published
* by the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version.
*
* This source code 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.
* Please refer to the GNU Public License for more details.
*
* You should have received a copy of the GNU Public License along with
* this source code; if not, write to:
* Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
#import <CVLayer.h>
+18 -7
View File
@@ -1,10 +1,21 @@
//
// CVInternalLayer.m
// freej
//
// Created by xant on 6/14/09.
// Copyright 2009 dyne.org. All rights reserved.
//
/* FreeJ
* (c) Copyright 2009 Xant <xant@dyne.org>
*
* This source code is free software; you can redistribute it and/or
* modify it under the terms of the GNU Public License as published
* by the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version.
*
* This source code 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.
* Please refer to the GNU Public License for more details.
*
* You should have received a copy of the GNU Public License along with
* this source code; if not, write to:
* Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
#import "CVInternalLayer.h"
+16 -5
View File
@@ -1,11 +1,22 @@
/*
* CVLayer.h
* freej
/* FreeJ
* (c) Copyright 2009 Xant <xant@dyne.org>
*
* Created by xant on 2/23/09.
* Copyright 2009 dyne.org. All rights reserved.
* This source code is free software; you can redistribute it and/or
* modify it under the terms of the GNU Public License as published
* by the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version.
*
* This source code 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.
* Please refer to the GNU Public License for more details.
*
* You should have received a copy of the GNU Public License along with
* this source code; if not, write to:
* Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
#ifndef __CVLAYER_H__
#define __CVLAYER_H__
+15 -5
View File
@@ -1,9 +1,19 @@
/*
* CVLayer.cpp
* freej
/* FreeJ
* (c) Copyright 2009 Xant <xant@dyne.org>
*
* Created by xant on 2/23/09.
* Copyright 2009 dyne.org. All rights reserved.
* This source code is free software; you can redistribute it and/or
* modify it under the terms of the GNU Public License as published
* by the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version.
*
* This source code 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.
* Please refer to the GNU Public License for more details.
*
* You should have received a copy of the GNU Public License along with
* this source code; if not, write to:
* Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
+18 -7
View File
@@ -1,10 +1,21 @@
//
// CVLayerController.h
// freej
//
// Created by xant on 9/1/09.
// Copyright 2009 __MyCompanyName__. All rights reserved.
//
/* FreeJ
* (c) Copyright 2009 Xant <xant@dyne.org>
*
* This source code is free software; you can redistribute it and/or
* modify it under the terms of the GNU Public License as published
* by the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version.
*
* This source code 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.
* Please refer to the GNU Public License for more details.
*
* You should have received a copy of the GNU Public License along with
* this source code; if not, write to:
* Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
#ifndef __CVLAYERCONTROLLER_H__
#define __CVLAYERCONTROLLER_H__
+18 -7
View File
@@ -1,10 +1,21 @@
//
// CVLayerController.m
// freej
//
// Created by xant on 9/1/09.
// Copyright 2009 dyne.org. All rights reserved.
//
/* FreeJ
* (c) Copyright 2009 Xant <xant@dyne.org>
*
* This source code is free software; you can redistribute it and/or
* modify it under the terms of the GNU Public License as published
* by the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version.
*
* This source code 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.
* Please refer to the GNU Public License for more details.
*
* You should have received a copy of the GNU Public License along with
* this source code; if not, write to:
* Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
#import "CVLayerController.h"
+18 -7
View File
@@ -1,10 +1,21 @@
//
// CVLayerView.h
// freej
//
// Created by xant on 8/30/09.
// Copyright 2009 dyne.org. All rights reserved.
//
/* FreeJ
* (c) Copyright 2009 Xant <xant@dyne.org>
*
* This source code is free software; you can redistribute it and/or
* modify it under the terms of the GNU Public License as published
* by the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version.
*
* This source code 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.
* Please refer to the GNU Public License for more details.
*
* You should have received a copy of the GNU Public License along with
* this source code; if not, write to:
* Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
#ifndef __CVLAYERVIEW_H__
#define __CVLAYERVIEW_H__
+18 -7
View File
@@ -1,10 +1,21 @@
//
// CVLayerView.mm
// freej
//
// Created by xant on 8/30/09.
// Copyright 2009 dyne.org. All rights reserved.
//
/* FreeJ
* (c) Copyright 2009 Xant <xant@dyne.org>
*
* This source code is free software; you can redistribute it and/or
* modify it under the terms of the GNU Public License as published
* by the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version.
*
* This source code 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.
* Please refer to the GNU Public License for more details.
*
* You should have received a copy of the GNU Public License along with
* this source code; if not, write to:
* Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
#import "CVLayerView.h"
#import "CIAlphaFade.h"
+18 -7
View File
@@ -1,10 +1,21 @@
//
// CVPreview.h
// freej
//
// Created by xant on 5/16/09.
// Copyright 2009 dyne.org. All rights reserved.
//
/* FreeJ
* (c) Copyright 2009 Xant <xant@dyne.org>
*
* This source code is free software; you can redistribute it and/or
* modify it under the terms of the GNU Public License as published
* by the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version.
*
* This source code 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.
* Please refer to the GNU Public License for more details.
*
* You should have received a copy of the GNU Public License along with
* this source code; if not, write to:
* Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
#import <CVLayer.h>
#import <CVTexture.h>
+18 -7
View File
@@ -1,10 +1,21 @@
//
// CVPreview.m
// freej
//
// Created by xant on 5/16/09.
// Copyright 2009 dyne.org. All rights reserved.
//
/* FreeJ
* (c) Copyright 2009 Xant <xant@dyne.org>
*
* This source code is free software; you can redistribute it and/or
* modify it under the terms of the GNU Public License as published
* by the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version.
*
* This source code 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.
* Please refer to the GNU Public License for more details.
*
* You should have received a copy of the GNU Public License along with
* this source code; if not, write to:
* Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
#import "CVPreview.h"
#include <QuartzCore/QuartzCore.h>
+1 -1
View File
@@ -1,5 +1,5 @@
/* FreeJ
* (c) Copyright 2009 Denis Roio aka jaromil <jaromil@dyne.org>
* (c) Copyright 2009 Xant <xant@dyne.org>
*
* This source code is free software; you can redistribute it and/or
* modify it under the terms of the GNU Public License as published
+1 -1
View File
@@ -1,5 +1,5 @@
/* FreeJ
* (c) Copyright 2009 Denis Roio aka jaromil <jaromil@dyne.org>
* (c) Copyright 2009 Xant <xant@dyne.org>
*
* This source code is free software; you can redistribute it and/or
* modify it under the terms of the GNU Public License as published
+19 -7
View File
@@ -1,10 +1,22 @@
//
// CVScreenView.h
// freej
//
// Created by xant on 8/30/09.
// Copyright 2009 dyne..org. All rights reserved.
//
/* FreeJ
* (c) Copyright 2009 Xant <xant@dyne.org>
*
* This source code is free software; you can redistribute it and/or
* modify it under the terms of the GNU Public License as published
* by the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version.
*
* This source code 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.
* Please refer to the GNU Public License for more details.
*
* You should have received a copy of the GNU Public License along with
* this source code; if not, write to:
* Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
#ifndef __CV_SCREENVIEW_H__
#define __CV_SCREENVIEW_H__
+18 -7
View File
@@ -1,10 +1,21 @@
//
// CVScreenView.mm
// freej
//
// Created by xant on 8/30/09.
// Copyright 2009 dyne.org. All rights reserved.
//
/* FreeJ
* (c) Copyright 2009 Xant <xant@dyne.org>
*
* This source code is free software; you can redistribute it and/or
* modify it under the terms of the GNU Public License as published
* by the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version.
*
* This source code 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.
* Please refer to the GNU Public License for more details.
*
* You should have received a copy of the GNU Public License along with
* this source code; if not, write to:
* Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
#import <CVScreenView.h>
+18 -7
View File
@@ -1,10 +1,21 @@
//
// CVTextLayer.h
// freej
//
// Created by xant on 6/11/09.
// Copyright 2009 __MyCompanyName__. All rights reserved.
//
/* FreeJ
* (c) Copyright 2009 Xant <xant@dyne.org>
*
* This source code is free software; you can redistribute it and/or
* modify it under the terms of the GNU Public License as published
* by the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version.
*
* This source code 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.
* Please refer to the GNU Public License for more details.
*
* You should have received a copy of the GNU Public License along with
* this source code; if not, write to:
* Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
#import <CVLayer.h>
#import <GLString.h>
+18 -8
View File
@@ -1,11 +1,21 @@
//
// CVTextLayer.mm
// freej
//
// Created by xant on 6/11/09.
//
// Copyright 2009 dyne.org.
//
/* FreeJ
* (c) Copyright 2009 Xant <xant@dyne.org>
*
* This source code is free software; you can redistribute it and/or
* modify it under the terms of the GNU Public License as published
* by the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version.
*
* This source code 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.
* Please refer to the GNU Public License for more details.
*
* You should have received a copy of the GNU Public License along with
* this source code; if not, write to:
* Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
#import "CVTextLayer.h"
+18 -8
View File
@@ -1,11 +1,21 @@
//
// CVTexture.h
// freej
//
// Created by xant on 5/16/09.
// Copyright 2009 dyne.org. All rights reserved.
//
/* FreeJ
* (c) Copyright 2009 Xant <xant@dyne.org>
*
* This source code is free software; you can redistribute it and/or
* modify it under the terms of the GNU Public License as published
* by the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version.
*
* This source code 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.
* Please refer to the GNU Public License for more details.
*
* You should have received a copy of the GNU Public License along with
* this source code; if not, write to:
* Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
#import <Cocoa/Cocoa.h>
#import <QuartzCore/QuartzCore.h>
+18 -7
View File
@@ -1,10 +1,21 @@
//
// CVTexture.m
// freej
//
// Created by xant on 5/16/09.
// Copyright 2009 dyne.org. All rights reserved.
//
/* FreeJ
* (c) Copyright 2009 Xant <xant@dyne.org>
*
* This source code is free software; you can redistribute it and/or
* modify it under the terms of the GNU Public License as published
* by the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version.
*
* This source code 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.
* Please refer to the GNU Public License for more details.
*
* You should have received a copy of the GNU Public License along with
* this source code; if not, write to:
* Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
#import "CVTexture.h"
+18 -7
View File
@@ -1,10 +1,21 @@
//
// FrameRate.h
// freej
//
// Created by xant on 3/8/09.
// Copyright 2009 dyne.org. All rights reserved.
//
/* FreeJ
* (c) Copyright 2009 Xant <xant@dyne.org>
*
* This source code is free software; you can redistribute it and/or
* modify it under the terms of the GNU Public License as published
* by the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version.
*
* This source code 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.
* Please refer to the GNU Public License for more details.
*
* You should have received a copy of the GNU Public License along with
* this source code; if not, write to:
* Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
#import <Cocoa/Cocoa.h>
+18 -7
View File
@@ -1,10 +1,21 @@
//
// FrameRate.m
// freej
//
// Created by xant on 3/8/09.
// Copyright 2009 dyne.org. All rights reserved.
//
/* FreeJ
* (c) Copyright 2009 Xant <xant@dyne.org>
*
* This source code is free software; you can redistribute it and/or
* modify it under the terms of the GNU Public License as published
* by the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version.
*
* This source code 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.
* Please refer to the GNU Public License for more details.
*
* You should have received a copy of the GNU Public License along with
* this source code; if not, write to:
* Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
#import "FrameRate.h"
+19
View File
@@ -1,3 +1,22 @@
/* FreeJ
* (c) Copyright 2009 Xant <xant@dyne.org>
*
* This source code is free software; you can redistribute it and/or
* modify it under the terms of the GNU Public License as published
* by the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version.
*
* This source code 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.
* Please refer to the GNU Public License for more details.
*
* You should have received a copy of the GNU Public License along with
* this source code; if not, write to:
* Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
//
// GLString.h
//
+18 -6
View File
@@ -1,9 +1,21 @@
//
// GLString.m
// freej
//
// Copyright 2009 dyne.org.
//
/* FreeJ
* (c) Copyright 2009 Xant <xant@dyne.org>
*
* This source code is free software; you can redistribute it and/or
* modify it under the terms of the GNU Public License as published
* by the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version.
*
* This source code 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.
* Please refer to the GNU Public License for more details.
*
* You should have received a copy of the GNU Public License along with
* this source code; if not, write to:
* Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
// Abstract: Uses Quartz to draw a string into an OpenGL texture.
// Imported from apple "CocoaGL" example and extended
// to fit freej integration.
+18 -7
View File
@@ -1,10 +1,21 @@
//
// PreferencesPanel.h
// freej
//
// Created by xant on 8/20/09.
// Copyright 2009 dyne.org. All rights reserved.
//
/* FreeJ
* (c) Copyright 2009 Xant <xant@dyne.org>
*
* This source code is free software; you can redistribute it and/or
* modify it under the terms of the GNU Public License as published
* by the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version.
*
* This source code 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.
* Please refer to the GNU Public License for more details.
*
* You should have received a copy of the GNU Public License along with
* this source code; if not, write to:
* Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
#import <CVLayer.h>
#import <Cocoa/Cocoa.h>
+18 -7
View File
@@ -1,10 +1,21 @@
//
// PreferencesPanel.m
// freej
//
// Created by xant on 8/20/09.
// Copyright 2009 dyne.org. All rights reserved.
//
/* FreeJ
* (c) Copyright 2009 Xant <xant@dyne.org>
*
* This source code is free software; you can redistribute it and/or
* modify it under the terms of the GNU Public License as published
* by the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version.
*
* This source code 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.
* Please refer to the GNU Public License for more details.
*
* You should have received a copy of the GNU Public License along with
* this source code; if not, write to:
* Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
#import "PreferencesPanel.h"
#import "CVScreenView.h"
+18 -8
View File
@@ -1,11 +1,21 @@
//
// QTExporter.h
// freej
//
// Created by xant on 8/8/09.
// Copyright 2009 dyne.org. All rights reserved.
//
/* FreeJ
* (c) Copyright 2009 Xant <xant@dyne.org>
*
* This source code is free software; you can redistribute it and/or
* modify it under the terms of the GNU Public License as published
* by the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version.
*
* This source code 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.
* Please refer to the GNU Public License for more details.
*
* You should have received a copy of the GNU Public License along with
* this source code; if not, write to:
* Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
#import <Cocoa/Cocoa.h>
#import <QTKit/QTKit.h>
+18 -7
View File
@@ -1,10 +1,21 @@
//
// QTExporter.m
// freej
//
// Created by xant on 8/8/09.
// Copyright 2009 dyne.org. All rights reserved.
//
/* FreeJ
* (c) Copyright 2009 Xant <xant@dyne.org>
*
* This source code is free software; you can redistribute it and/or
* modify it under the terms of the GNU Public License as published
* by the Free Software Foundation; either version 3 of the License,
* or (at your option) any later version.
*
* This source code 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.
* Please refer to the GNU Public License for more details.
*
* You should have received a copy of the GNU Public License along with
* this source code; if not, write to:
* Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
#import "QTExporter.h"
#include <fps.h>