<commit_before>/**
 * MLJLib
 * MeshLabJS Library
 * 
 * Copyright(C) 2015
 * <NAME> 
 * Visual Computing Lab
 * ISTI - CNR
 * 
 * All rights reserved.
 *
 * 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 theGNU General Public License 
 * (http://www.gnu.org/licenses/gpl.txt) for more details.
 * 
 */

/**
 * @file Defines and installs the Logo widget
 * @author <NAME>
 */
(function (component) {
    
    /**         
     * @class Create a new Logo widget
     * @augments  MLJ.gui.Widget
     * @private
     * @memberOf MLJ.gui.widget
     * @author <NAME> 
     */
    var _Logo = function () {

        var LOGO_WIDTH = 96;
        var LOGO_HEIGHT = 821 * LOGO_WIDTH / 1023;
        var insets = 10;
        var _PiP;
        var _$dialog;
        
        /**
         * @author <NAME> 
         */
        this._make = function () {//build function                 
            _PiP = new component.PiP();

            var $logo = $('<img id="logo" src="img/vcglogo200609_1024px.png">');

            _$dialog = $('  <div id="dialog" title="About MeshLabJS">\
                    Copyright(C) 2015<br>\
                    <br>\
                    <a href="http://vcg.isti.cnr.it/%7Ecignoni"><NAME></a> <br>\
                    <a href="http://vcg.isti.cnr.it"> Visual Computing Lab</a> <br>\
                    <a href="http://www.isti.cnr.it"> ISTI - CNR</a><br><br> \
<b>MeshLabJS</b> is a web-based mesh processing system for \
cleaning, filtering, editing and rendering of unstructured 3D triangular meshes. \
This program is heavily inspired on the original desktop system <a href="http://meshlab.sf.net">MeshLab</a>.<br> \
Like the original one, MeshLabJS for the mesh processing tasks relies on the \
<a href="http://vcg.sf.net">VCG</a> C++ library compiled to asm.js using emscripten \
<br>\
<br><b>Authors</b> (in first commit order)<br>\
<NAME> (Project Leader) <br> \
<NAME><br>\
<NAME> <br>\
</div>').hide();
            $('body').append(_$dialog);

            $logo.load(function () {
                _PiP.appendContent(this);
                $(this).width(LOGO_WIDTH);
            });

            $logo.css('cursor', 'pointer');

            $(document).ready(function () {
                var x = $('#mlj-tools-pane').outerWidth() + insets;
                var y = $(window).height() - LOGO_HEIGHT - insets;
                _PiP.setX(x);
                _PiP.setY(y);
            });

            $(window).resize(function () {
                var $tp = $('#mlj-tools-pane');
                var newX = $tp.outerWidth() + $tp.offset().left + insets;
                var newY = $(window).height() - LOGO_HEIGHT - insets;<commit_msg>adding Gianmori to the users<commit_after>/**
 * MLJLib
 * MeshLabJS Library
 * 
 * Copyright(C) 2015
 * <NAME> 
 * Visual Computing Lab
 * ISTI - CNR
 * 
 * All rights reserved.
 *
 * 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 theGNU General Public License 
 * (http://www.gnu.org/licenses/gpl.txt) for more details.
 * 
 */

/**
 * @file Defines and installs the Logo widget
 * @author <NAME>
 */
(function (component) {
    
    /**         
     * @class Create a new Logo widget
     * @augments  MLJ.gui.Widget
     * @private
     * @memberOf MLJ.gui.widget
     * @author <NAME> 
     */
    var _Logo = function () {

        var LOGO_WIDTH = 96;
        var LOGO_HEIGHT = 821 * LOGO_WIDTH / 1023;
        var insets = 10;
        var _PiP;
        var _$dialog;
        
        /**
         * @author <NAME> 
         */
        this._make = function () {//build function                 
            _PiP = new component.PiP();

            var $logo = $('<img id="logo" src="img/vcglogo200609_1024px.png">');

            _$dialog = $('  <div id="dialog" title="About MeshLabJS">\
                    Copyright(C) 2015<br>\
                    <br>\
                    <a href="http://vcg.isti.cnr.it/%7Ecignoni"><NAME></a> <br>\
                    <a href="http://vcg.isti.cnr.it"> Visual Computing Lab</a> <br>\
                    <a href="http://www.isti.cnr.it"> ISTI - CNR</a><br><br> \
<b>MeshLabJS</b> is a web-based mesh processing system for \
cleaning, filtering, editing and rendering of unstructured 3D triangular meshes. \
This program is heavily inspired on the original desktop system <a href="http://meshlab.sf.net">MeshLab</a>.<br> \
Like the original one, MeshLabJS for the mesh processing tasks relies on the \
<a href="http://vcg.sf.net">VCG</a> C++ library compiled to asm.js using emscripten \
<br>\
<br><b>Authors</b> (in first commit order)<br>\
<NAME> (Project Leader) <br> \
<NAME><br>\
<NAME> <br>\
<NAME> <br>\
</div>').hide();
            $('body').append(_$dialog);

            $logo.load(function () {
                _PiP.appendContent(this);
                $(this).width(LOGO_WIDTH);
            });

            $logo.css('cursor', 'pointer');

            $(document).ready(function () {
                var x = $('#mlj-tools-pane').outerWidth() + insets;
                var y = $(window).height() - LOGO_HEIGHT - insets;
                _PiP.setX(x);
                _PiP.setY(y);
            });

            $(window).resize(function () {
                var $tp = $('#mlj-tools-pane');
                var newX = $tp.outerWidth() + $tp.offset().left + insets;
                var newY = $(window).height() - LOGO_HEIGHT - insets;
{'fraction_non_alphanumeric': 0.14301948051948052, 'fraction_numerical': 0.01038961038961039, 'mean_word_length': 2.014187866927593, 'pattern_counts': {'":': 0, '<': 81, '<?xml version=': 0, '>': 81, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6842675', 'n_tokens_mistral': 2002, 'n_tokens_neox': 1848, 'n_words': 543}