<commit_before>// This software is part of OpenMono, see http://developer.openmono.com
// and is available under the MIT license, see LICENSE.txt

#ifndef __mono__text_label_view__
#define __mono__text_label_view__

#include "view.h"
#include "mn_string.h"
#include <font_interface.h>
#include <GFXfont.h>

namespace mono { namespace ui {

    class ButtonView;
    class TouchCalibrateView;

    /**
     * @brief A Text Label displays text strings on the display
     *
     * Use this UI view whenever you need to display text on the screen.
     *
     * A text label renders text strings on the display. As all views the label
     * lives inside a defined rectangle (@ref viewRect), where the text is
     * rendered. If the rectangle is smaller than the length of the text
     * content, the content will cropped. If the rectangle is larger, then you
     * can align the text inside the rectangle (left, center or right).
     *
     * ### Example
     *
     * You can mix and match mono strings with standard C strings when
     * constructing TextLabels.
     *
     * **Create a label using a `static const` C string:**<commit_msg>Changed include filename, case matters open linux!<commit_after>// This software is part of OpenMono, see http://developer.openmono.com
// and is available under the MIT license, see LICENSE.txt

#ifndef __mono__text_label_view__
#define __mono__text_label_view__

#include "view.h"
#include "mn_string.h"
#include <font_interface.h>
#include <gfxfont.h>

namespace mono { namespace ui {

    class ButtonView;
    class TouchCalibrateView;

    /**
     * @brief A Text Label displays text strings on the display
     *
     * Use this UI view whenever you need to display text on the screen.
     *
     * A text label renders text strings on the display. As all views the label
     * lives inside a defined rectangle (@ref viewRect), where the text is
     * rendered. If the rectangle is smaller than the length of the text
     * content, the content will cropped. If the rectangle is larger, then you
     * can align the text inside the rectangle (left, center or right).
     *
     * ### Example
     *
     * You can mix and match mono strings with standard C strings when
     * constructing TextLabels.
     *
     * **Create a label using a `static const` C string:**
{'fraction_non_alphanumeric': 0.07139784946236559, 'fraction_numerical': 0.0, 'mean_word_length': 3.073555166374781, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '4246596', 'n_tokens_mistral': 643, 'n_tokens_neox': 630, 'n_words': 295}