Commit 701ed08e authored by martinjrobins's avatar martinjrobins
Browse files

consistent GPLv3 headers and made so dialog remembers mask_type selection

parent bfeec169
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is fur-
nished to do so, subject to the following conditions:
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 3 of the License, or
(at your option) any later version.
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
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.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT-
NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON-
NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Except as contained in this notice, the name of the Author of the
Software shall not be used in advertising or otherwise to promote the sale,
use or other dealings in this Software without prior written authorization
from the Author.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
/*
* inpainting_func.h
*
* Copyright 2013 Martin Robinson
/* inpainting_func.h --- inpaintBCT
* Copyright (C) 2013 Thomas März (maerz@maths.ox.ac.uk)
*
* This file is part of mlinpaintgui.
*
* mlinpaintgui is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* 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 3 of the License, or
* (at your option) any later version.
*
* mlinpaintgui is distributed in the hope that it will be useful,
* 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 Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with mlinpaintgui. If not, see <http://www.gnu.org/licenses/>.
* GNU General Public License for more details.
*
* Created on: 20 Nov 2013
* Author: robinsonm
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef INPAINTING_FUNC_H_
......
/* GIMP Plug-in Template
* Copyright (C) 2000-2004 Michael Natterer <mitch@gimp.org> (the "Author").
* All Rights Reserved.
/* interface.c --- inpaintBCT
* Copyright (C) 2013 Thomas März (maerz@maths.ox.ac.uk)
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following conditions:
* 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 3 of the License, or
* (at your option) any later version.
*
* The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
* 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.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
* THE AUTHOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
* Except as contained in this notice, the name of the Author of the
* Software shall not be used in advertising or otherwise to promote the
* sale, use or other dealings in this Software without prior written
* authorization from the Author.
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "config.h"
......@@ -55,7 +45,7 @@
#define PREVIEW_SIZE 300
enum MaskType {SELECTION,BINARY_MASK,ORDER_MASK};
/* Local function prototypes */
......@@ -85,6 +75,7 @@ typedef struct {
GtkWidget* mask_combo_widget;
GtkWidget* stop_path_combo_widget;
GtkWidget* mask_type_widget;
enum MaskType mask_type;
gint selectionX0;
gint selectionY0;
gint selectionX1;
......@@ -95,8 +86,8 @@ typedef struct {
guchar *previewMask;
guchar *previewStopPath;
guchar *previewResult;
enum MaskType mask_type;
gboolean selection;
//enum MaskType mask_type;
//gboolean selection;
gboolean use_stop_path;
} InterfaceVals;
......@@ -184,31 +175,25 @@ gboolean dialog (
gint image_width = gimp_drawable_width(vals->image_drawable_id);
gint image_height = gimp_drawable_height(vals->image_drawable_id);
if ((interface_vals.selectionWidth < image_width) &&
(interface_vals.selectionHeight < image_height)) {
vals->contains_ordering = FALSE;
interface_vals.selection = TRUE;
interface_vals.selectionX0 -= PREVIEW_SIZE*0.1;
if (interface_vals.selectionX0 < 0) interface_vals.selectionX0 = 0;
interface_vals.selectionX1 += PREVIEW_SIZE*0.1;
if (interface_vals.selectionX1 > image_width) interface_vals.selectionX1 = image_width;
interface_vals.selectionY0 -= PREVIEW_SIZE*0.1;
if (interface_vals.selectionY0 < 0) interface_vals.selectionY0 = 0;
interface_vals.selectionY1 += PREVIEW_SIZE*0.1;
if (interface_vals.selectionY1 > image_height) interface_vals.selectionY1 = image_height;
interface_vals.selectionWidth = interface_vals.selectionX1-interface_vals.selectionX0;
interface_vals.selectionHeight = interface_vals.selectionY1-interface_vals.selectionY0;
vals->mask_drawable_id = gimp_image_get_selection(gimp_drawable_get_image(vals->image_drawable_id));
g_warning("there is a selection with id = %d",vals->mask_drawable_id);
if (interface_vals.mask_drawable != NULL) gimp_drawable_detach(interface_vals.mask_drawable);
interface_vals.mask_drawable = gimp_drawable_get(vals->mask_drawable_id);
} else {
g_warning("there is not a selection");
interface_vals.selection = FALSE;
}
interface_vals.selectionX0 -= PREVIEW_SIZE*0.1;
if (interface_vals.selectionX0 < 0) interface_vals.selectionX0 = 0;
interface_vals.selectionX1 += PREVIEW_SIZE*0.1;
if (interface_vals.selectionX1 > image_width) interface_vals.selectionX1 = image_width;
interface_vals.selectionY0 -= PREVIEW_SIZE*0.1;
if (interface_vals.selectionY0 < 0) interface_vals.selectionY0 = 0;
interface_vals.selectionY1 += PREVIEW_SIZE*0.1;
if (interface_vals.selectionY1 > image_height) interface_vals.selectionY1 = image_height;
interface_vals.selectionWidth = interface_vals.selectionX1-interface_vals.selectionX0;
interface_vals.selectionHeight = interface_vals.selectionY1-interface_vals.selectionY0;
//vals->mask_drawable_id = gimp_image_get_selection(gimp_drawable_get_image(vals->image_drawable_id));
//g_warning("there is a selection with id = %d",vals->mask_drawable_id);
//if (interface_vals.mask_drawable != NULL) gimp_drawable_detach(interface_vals.mask_drawable);
//interface_vals.mask_drawable = gimp_drawable_get(vals->mask_drawable_id);
g_warning("image dims: x0,x1,y0,y1 = %d,%d,%d,%d",interface_vals.selectionX0,interface_vals.selectionX1,interface_vals.selectionY0,interface_vals.selectionY1);
gchar text[100];
......@@ -290,7 +275,7 @@ gboolean dialog (
gtk_widget_show (label);
interface_vals.mask_combo_widget = gimp_drawable_combo_box_new (NULL, NULL);
if (interface_vals.selection) {
if (interface_vals.mask_type == SELECTION) {
gtk_widget_set_sensitive(interface_vals.mask_combo_widget,FALSE);
}
gimp_int_combo_box_connect (GIMP_INT_COMBO_BOX (interface_vals.mask_combo_widget),
......@@ -329,24 +314,31 @@ gboolean dialog (
interface_vals.mask_type_widget = gtk_combo_box_text_new();
gint num_vectors;
gimp_image_get_vectors(interface_vals.imageID,&num_vectors);
if (interface_vals.selection) {
gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(interface_vals.mask_type_widget),"Selection");
if (num_vectors > 0)
gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(interface_vals.mask_type_widget),"Selection With Stop Path");
}
gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(interface_vals.mask_type_widget),"Selection");
if (num_vectors > 0)
gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(interface_vals.mask_type_widget),"Selection With Stop Path");
gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(interface_vals.mask_type_widget),"Binary Mask");
if (num_vectors > 0)
gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(interface_vals.mask_type_widget),"Binary Mask With Stop Path");
gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(interface_vals.mask_type_widget),"Mask Including Ordering");
if (vals->stop_path_id > 0) {
gtk_combo_box_set_active(GTK_COMBO_BOX(interface_vals.mask_type_widget),1);
if (interface_vals.mask_type == SELECTION) {
int mt_index = 0 + (vals->stop_path_id > 0);
gtk_combo_box_set_active(GTK_COMBO_BOX(interface_vals.mask_type_widget),mt_index);
} else if (interface_vals.mask_type == BINARY_MASK) {
int mt_index = 1 + (num_vectors > 0) + (vals->stop_path_id > 0);
gtk_combo_box_set_active(GTK_COMBO_BOX(interface_vals.mask_type_widget),mt_index);
} else {
gtk_combo_box_set_active(GTK_COMBO_BOX(interface_vals.mask_type_widget),0);
int mt_index = 2 + 2*(num_vectors > 0);
gtk_combo_box_set_active(GTK_COMBO_BOX(interface_vals.mask_type_widget),mt_index);
}
g_signal_connect (interface_vals.mask_type_widget, "changed",
G_CALLBACK(maskTypeChangedCallback), vals);
maskTypeChangedCallback(interface_vals.mask_type_widget,vals);
gtk_table_attach (GTK_TABLE (table), interface_vals.mask_type_widget, 1, 3, 3, 4,
......@@ -399,12 +391,10 @@ gboolean dialog (
gboolean run = (gimp_dialog_run (GIMP_DIALOG (dlg)) == GTK_RESPONSE_OK);
// if (run)
// {
// /* Save ui values */
// ui_state->chain_active =
// gimp_chain_button_get_active (GIMP_COORDINATES_CHAINBUTTON (coordinates));
// }
if (run) {
/* Save ui values */
ui_vals->mask_type = interface_vals.mask_type;
}
destroy();
gtk_widget_destroy (dlg);
......@@ -506,12 +496,6 @@ void maskTypeChangedCallback(GtkComboBoxText *widget, PlugInVals *vals) {
}
if (interface_vals.mask_type == ORDER_MASK) {
vals->contains_ordering = TRUE;
} else {
vals->contains_ordering = FALSE;
}
dialogMaskChangedCallback(interface_vals.mask_combo_widget, vals);
dialogStopPathChangedCallback(interface_vals.stop_path_combo_widget, vals);
}
......@@ -640,8 +624,8 @@ void set_defaults(PlugInUIVals *ui_vals) {
interface_vals.kappa_scale = NULL;
interface_vals.mask_combo_widget = NULL;
interface_vals.mask_drawable = NULL;
interface_vals.mask_type = BINARY_MASK;
interface_vals.mask_type_widget = NULL;
interface_vals.mask_type = ui_vals->mask_type;
interface_vals.preview = TRUE;
interface_vals.previewHeight = PREVIEW_SIZE;
interface_vals.previewImage = NULL;
......
/* GIMP Plug-in Template
* Copyright (C) 2000 Michael Natterer <mitch@gimp.org> (the "Author").
* All Rights Reserved.
/* interface.h --- inpaintBCT
* Copyright (C) 2013 Thomas März (maerz@maths.ox.ac.uk)
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following conditions:
* 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 3 of the License, or
* (at your option) any later version.
*
* The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
* 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.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
* THE AUTHOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
* Except as contained in this notice, the name of the Author of the
* Software shall not be used in advertising or otherwise to promote the
* sale, use or other dealings in this Software without prior written
* authorization from the Author.
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __INTERFACE_H__
......
/* GIMP Plug-in Template
* Copyright (C) 2000 Michael Natterer <mitch@gimp.org> (the "Author").
* All Rights Reserved.
/* main.c --- inpaintBCT
* Copyright (C) 2013 Thomas März (maerz@maths.ox.ac.uk)
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following conditions:
* 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 3 of the License, or
* (at your option) any later version.
*
* The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
* 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.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
* THE AUTHOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
* Except as contained in this notice, the name of the Author of the
* Software shall not be used in advertising or otherwise to promote the
* sale, use or other dealings in this Software without prior written
* authorization from the Author.
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "config.h"
......@@ -74,7 +64,7 @@ const PlugInVals default_vals =
const PlugInUIVals default_ui_vals =
{
FALSE
0
};
static PlugInVals vals;
......
/* GIMP Plug-in Template
* Copyright (C) 2000 Michael Natterer <mitch@gimp.org> (the "Author").
* All Rights Reserved.
/* main.h --- inpaintBCT
* Copyright (C) 2013 Thomas März (maerz@maths.ox.ac.uk)
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following conditions:
* 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 3 of the License, or
* (at your option) any later version.
*
* The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
* 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.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
* THE AUTHOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
* Except as contained in this notice, the name of the Author of the
* Software shall not be used in advertising or otherwise to promote the
* sale, use or other dealings in this Software without prior written
* authorization from the Author.
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __MAIN_H__
......@@ -30,6 +20,9 @@
#define MAX_CHANNELS 10
enum MaskType {SELECTION,BINARY_MASK,ORDER_MASK};
typedef struct
{
gint32 image_drawable_id;
......@@ -47,7 +40,7 @@ typedef struct
typedef struct
{
gboolean anim_mode;
enum MaskType mask_type;
} PlugInUIVals;
void print_vals(PlugInVals *vals);
......
/* GIMP Plug-in Template
* Copyright (C) 2000 Michael Natterer <mitch@gimp.org> (the "Author").
* All Rights Reserved.
/* render.cpp --- inpaintBCT
* Copyright (C) 2013 Thomas März (maerz@maths.ox.ac.uk)
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following conditions:
* 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 3 of the License, or
* (at your option) any later version.
*
* The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
* 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.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
* THE AUTHOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
* Except as contained in this notice, the name of the Author of the
* Software shall not be used in advertising or otherwise to promote the
* sale, use or other dealings in this Software without prior written
* authorization from the Author.
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "config.h"
......
/* GIMP Plug-in Template
* Copyright (C) 2000 Michael Natterer <mitch@gimp.org> (the "Author").
* All Rights Reserved.
/* render.h --- inpaintBCT
* Copyright (C) 2013 Thomas März (maerz@maths.ox.ac.uk)
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following conditions:
* 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 3 of the License, or
* (at your option) any later version.
*
* The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
* 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.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
* THE AUTHOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
* Except as contained in this notice, the name of the Author of the
* Software shall not be used in advertising or otherwise to promote the
* sale, use or other dealings in this Software without prior written
* authorization from the Author.
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __RENDER_H__
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment