<commit_before>// Copyright (c) 2015, <NAME>.
// Distributed under the BSD 2-Clause License (see LICENSE.txt for details)

#pragma once

#include <list>

#include "../D3DDevice.h"
#include "Animations\AnimationTypes.h"
#include "LayeredWnd.h"
#include "Meter.h"

class Animation;

class MeterWnd : public LayeredWnd {
public:
    MeterWnd(LPCWSTR className, LPCWSTR title, HINSTANCE hInstance = NULL);
    ~MeterWnd();

	void Update();

    LayeredWnd *Clone();
    std::vector<LayeredWnd *> Clones();
    void DeleteClones();

    virtual void Show(bool animate = true);
    virtual void Hide(bool animate = true);

    byte Transparency();
    void Transparency(byte transparency);

    void AddMeter(Meter *meter);
    void MeterLevels(float value);
    float MeterLevels();

    void HideAnimation(AnimationTypes::HideAnimation anim, int speed);
    void VisibleDuration(int duration);

    /// <summary>
    /// Reports whether this meter window displays when a full-screen
    /// application is focused.
    /// </summary>
    bool DisableFullscreen();

    /// <summary>
    /// Sets whether this meter window should display when a full-screen
    /// application is focused.
    /// </summary>
    void DisableFullscreen(bool disable);

    /// <summary>
    /// Reports whether this meter window displays when a DirectX application
    /// is focused and is occluding the screen. Basically, when a game or
    /// application has exclusive control of the display.
    /// </summary>
    bool DisableDirectX();

    /// <summary>
    /// Sets whether this meter window should display when a DirectX application
    /// application is occluding the screen.
    /// </summary>
    void DisableDirectX(bool disable);

    void BackgroundImage(Gdiplus::Bitmap *background);<commit_msg>Remove D3D/FS methods<commit_after>// Copyright (c) 2015, <NAME>.
// Distributed under the BSD 2-Clause License (see LICENSE.txt for details)

#pragma once

#include <list>

#include "../D3DDevice.h"
#include "Animations\AnimationTypes.h"
#include "LayeredWnd.h"
#include "Meter.h"

class Animation;

class MeterWnd : public LayeredWnd {
public:
    MeterWnd(LPCWSTR className, LPCWSTR title, HINSTANCE hInstance = NULL);
    ~MeterWnd();

	void Update();

    LayeredWnd *Clone();
    std::vector<LayeredWnd *> Clones();
    void DeleteClones();

    virtual void Show(bool animate = true);
    virtual void Hide(bool animate = true);

    byte Transparency();
    void Transparency(byte transparency);

    void AddMeter(Meter *meter);
    void MeterLevels(float value);
    float MeterLevels();

    void HideAnimation(AnimationTypes::HideAnimation anim, int speed);
    void VisibleDuration(int duration);

    void BackgroundImage(Gdiplus::Bitmap *background);
{'fraction_non_alphanumeric': 0.1147005444646098, 'fraction_numerical': 0.004718693284936479, 'mean_word_length': 3.48130081300813, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, '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': '5903055', 'n_tokens_mistral': 837, 'n_tokens_neox': 799, 'n_words': 257}