<commit_before>/*
    D2D1Test, Small Demo application that creates a user interface window rendered with Direct2D.
    release build - compile with :
        g++ D2D1Test.cpp -municode -mwindows -static -s -O3 -o d2d1test.exe -ld2d1
    debug build - compile with :
        g++ D2D1Test.cpp -municode -mwindows  -static -g  d2d1test.exe -ld2d1
*/
#define WINVER 0x0A00
#define _WIN32_WINNT 0x0A00

#include <d2d1.h>
#include <d2d1helper.h>
#include <dwrite.h>
#include <wincodec.h>

#include <utility/BaseWindow.h>
#include <utility/ComPtr.h>
#include <utility/System.h>
#include <utility/System.Utility.h>

class MyWindow : public BaseWindow<MyWindow, Window, FrameWinTraits>
{
  public:
    DECLARE_WND_CLASS(TEXT("D2D1Test"))
    ComPtr<ID2D1Factory> m_factory;
    ComPtr<ID2D1HwndRenderTarget> m_renderTarget;
    ComPtr<ID2D1SolidColorBrush> m_lightSlateGrayBrush;
    ComPtr<ID2D1SolidColorBrush> m_cornFlowerBlueBrush;
<commit_msg>removed comment in file.<commit_after>#define WINVER 0x0A00
#define _WIN32_WINNT 0x0A00

#include <d2d1.h>
#include <d2d1helper.h>
#include <dwrite.h>
#include <wincodec.h>

#include <utility/BaseWindow.h>
#include <utility/ComPtr.h>
#include <utility/System.h>
#include <utility/System.Utility.h>

class MyWindow : public BaseWindow<MyWindow, Window, FrameWinTraits>
{
  public:
    DECLARE_WND_CLASS(TEXT("D2D1Test"))
    ComPtr<ID2D1Factory> m_factory;
    ComPtr<ID2D1HwndRenderTarget> m_renderTarget;
    ComPtr<ID2D1SolidColorBrush> m_lightSlateGrayBrush;
    ComPtr<ID2D1SolidColorBrush> m_cornFlowerBlueBrush;

{'fraction_non_alphanumeric': 0.10590500641848524, 'fraction_numerical': 0.0410783055198973, 'mean_word_length': 5.066147859922179, 'pattern_counts': {'":': 0, '<': 29, '<?xml version=': 0, '>': 29, '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': '945984', 'n_tokens_mistral': 639, 'n_tokens_neox': 613, 'n_words': 119}