~ubuntu-branches/ubuntu/wily/aegisub/wily-proposed

« back to all changes in this revision

Viewing changes to src/dialog_fonts_collector.h

  • Committer: Package Import Robot
  • Author(s): Sebastian Reichel, Pascal De Vuyst, Juan Picca, Sebastian Reichel
  • Date: 2015-08-04 21:40:50 UTC
  • mfrom: (5.1.1 sid)
  • Revision ID: package-import@ubuntu.com-20150804214050-y2aghm9vdksoc8t7
Tags: 3.2.2+dfsg-1
[ Pascal De Vuyst ]
* Fix Typo in package description (Closes: #739219)

[ Juan Picca ]
* Add patch to fix reproducible build (Closes: #789728)

[ Sebastian Reichel ]
* New upstream release
 - remove vendor directory from orig tarball
* Update Debian Standards Version to 3.9.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// Copyright (c) 2012, Thomas Goyne <plorkyeran@aegisub.org>
2
 
//
3
 
// Permission to use, copy, modify, and distribute this software for any
4
 
// purpose with or without fee is hereby granted, provided that the above
5
 
// copyright notice and this permission notice appear in all copies.
6
 
//
7
 
// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
8
 
// WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
9
 
// MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
10
 
// ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
11
 
// WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
12
 
// ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
13
 
// OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
14
 
//
15
 
// Aegisub Project http://www.aegisub.org/
16
 
 
17
 
/// @file dialog_fonts_collector.h
18
 
/// @see dialog_fonts_collector.cpp
19
 
/// @ingroup tools_ui font_collector
20
 
///
21
 
 
22
 
#include <wx/dialog.h>
23
 
 
24
 
namespace agi { struct Context; }
25
 
 
26
 
class AssFile;
27
 
class ScintillaTextCtrl;
28
 
class wxButton;
29
 
class wxRadioBox;
30
 
class wxStaticText;
31
 
class wxTextCtrl;
32
 
class wxThreadEvent;
33
 
 
34
 
class DialogFontsCollector : public wxDialog {
35
 
        AssFile *subs;
36
 
 
37
 
        ScintillaTextCtrl *collection_log;
38
 
        wxButton *close_btn;
39
 
        wxButton *dest_browse_button;
40
 
        wxButton *start_btn;
41
 
        wxRadioBox *collection_mode;
42
 
        wxStaticText *dest_label;
43
 
        wxTextCtrl *dest_ctrl;
44
 
 
45
 
        void OnStart(wxCommandEvent &);
46
 
        void OnBrowse(wxCommandEvent &);
47
 
        void OnRadio(wxCommandEvent &e);
48
 
 
49
 
        /// Append text to log message from worker thread
50
 
        void OnAddText(wxThreadEvent &event);
51
 
        /// Collection complete notification from the worker thread to reenable buttons
52
 
        void OnCollectionComplete(wxThreadEvent &);
53
 
 
54
 
public:
55
 
        DialogFontsCollector(agi::Context *c);
56
 
};