LMMS
Loading...
Searching...
No Matches
juce_ImagePreviewComponent.h
Go to the documentation of this file.
1/*
2 ==============================================================================
3
4 This file is part of the JUCE library.
5 Copyright (c) 2022 - Raw Material Software Limited
6
7 JUCE is an open source library subject to commercial or open-source
8 licensing.
9
10 By using JUCE, you agree to the terms of both the JUCE 7 End-User License
11 Agreement and JUCE Privacy Policy.
12
13 End User License Agreement: www.juce.com/juce-7-licence
14 Privacy Policy: www.juce.com/juce-privacy-policy
15
16 Or: You may also use this code under the terms of the GPL v3 (see
17 www.gnu.org/licenses).
18
19 JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
20 EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
21 DISCLAIMED.
22
23 ==============================================================================
24*/
25
26namespace juce
27{
28
29//==============================================================================
38 private Timer
39{
40public:
41 //==============================================================================
44
46 ~ImagePreviewComponent() override;
47
48 //==============================================================================
50 void selectedFileChanged (const File& newSelectedFile) override;
52 void paint (Graphics&) override;
54 void timerCallback() override;
55
56private:
60
61 std::unique_ptr<AccessibilityHandler> createAccessibilityHandler() override;
62 void getThumbSize (int& w, int& h) const;
63
65};
66
67} // namespace juce
Definition juce_File.h:45
FilePreviewComponent()
Definition juce_FileChooser.cpp:274
Definition juce_GraphicsContext.h:45
Definition juce_Image.h:58
String currentDetails
Definition juce_ImagePreviewComponent.h:59
ImagePreviewComponent()
Definition juce_ImagePreviewComponent.cpp:29
Image currentThumbnail
Definition juce_ImagePreviewComponent.h:58
void selectedFileChanged(const File &newSelectedFile) override
Definition juce_ImagePreviewComponent.cpp:51
void paint(Graphics &) override
Definition juce_ImagePreviewComponent.cpp:95
File fileToLoad
Definition juce_ImagePreviewComponent.h:57
void getThumbSize(int &w, int &h) const
Definition juce_ImagePreviewComponent.cpp:38
std::unique_ptr< AccessibilityHandler > createAccessibilityHandler() override
Definition juce_ImagePreviewComponent.cpp:121
void timerCallback() override
Definition juce_ImagePreviewComponent.cpp:60
Definition juce_String.h:53
Timer() noexcept
Definition juce_Timer.cpp:316
UINT_D64 w
Definition inflate.c:942
#define JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR(className)
#define JUCE_API
Definition juce_StandardHeader.h:152
Definition carla_juce.cpp:31
uch h[RAND_HEAD_LEN]
Definition crypt.c:459