<commit_before>#pragma once

#include "../Widget.hpp"
#include <string>

class Font;
class Texture2D;
namespace Geometry {
    class Rectangle;
    class OBJModel;
}

namespace GUI {
    class Label;
    class StringEditor;
    class Button;
    class FileSelector;
    class ImageTextButton;
    
    /// Used to edit a model.
    class ModelEditor : public Widget {
        public:
            /// Create new model editor.
            /**
             * @param parent Parent widget.
             * @param fileSelector File selector to browse with.
             */
            ModelEditor(Widget* parent, FileSelector* fileSelector);
            
            /// Destructor.
            ~ModelEditor();
            
            /// Update the widget.
            void Update() override;
            
            /// Render the widget.
            /**
             * @param screenSize Size of the screen in pixels.
             */
            void Render() override;
            
            /// Set widget's position.
            /**
             * @param position New position.
             */
            void SetPosition(const glm::vec2& position) override;
            
            /// Get the size of the widget.
            /**
             * @return The size
             */
            glm::vec2 GetSize() const override;
            
            /// Set the size of the widget.<commit_msg>Fix ModelEditor documentation.<commit_after>#pragma once

#include "../Widget.hpp"
#include <string>

class Font;
class Texture2D;
namespace Geometry {
    class Rectangle;
    class OBJModel;
}

namespace GUI {
    class Label;
    class StringEditor;
    class Button;
    class FileSelector;
    class ImageTextButton;
    
    /// Used to edit a model.
    class ModelEditor : public Widget {
        public:
            /// Create new model editor.
            /**
             * @param parent Parent widget.
             * @param fileSelector File selector to browse with.
             */
            ModelEditor(Widget* parent, FileSelector* fileSelector);
            
            /// Destructor.
            ~ModelEditor();
            
            /// Update the widget.
            void Update() override;
            
            /// Render the widget.
            void Render() override;
            
            /// Set widget's position.
            /**
             * @param position New position.
             */
            void SetPosition(const glm::vec2& position) override;
            
            /// Get the size of the widget.
            /**
             * @return The size
             */
            glm::vec2 GetSize() const override;
            
            /// Set the size of the widget.
{'fraction_non_alphanumeric': 0.08786764705882352, 'fraction_numerical': 0.0022058823529411764, 'mean_word_length': 1.230327868852459, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '6256264', 'n_tokens_mistral': 641, 'n_tokens_neox': 638, 'n_words': 213}