UVTexIntegra 310.0.0.3

- メインページ
- 関連ページ
- モジュール
- ネームスペース
- クラス
- ファイル

- ファイル一覧

全て クラス ネームスペース 関数 変数 列挙型 プロパティ イベント グループ ページ
VertexColorCustomBakeForm.hpp
1 // == LICENSE INFORMATION ==
2 /*
3 * First author tiritomato 2013.
4 * This program is distributed under the GNU General Public License(GPL).
5 * support blog (Japanese only) http://d.hatena.ne.jp/tiri_tomato/
6 */
7 // == LICENSE INFORMATION ==
8
9 #pragma once
10
11 namespace UVTexIntegra {
12 namespace CustomControls {
13
14 ref class MainEditForm;
15 struct UVNormalTransformedBuffer;
16
19
21 public ref class VertexColorCustomBakeForm : CustomBakeForm_Base, CustomControls::CompileResultForm::ICompileResultOwner {
22 public:
23
24 System::String^ OpenFileDialogDirectory;
25 int OpenFileDialogScriptFilterIndex;
26 property System::Drawing::Size CompileResultWindowSize {
27 virtual System::Drawing::Size get() { return m_compileResultWindowSize; }
28 virtual void set( System::Drawing::Size value ) { m_compileResultWindowSize = value; }
29 }
30 property TextLogForm^ Console { TextLogForm^ get(); }
31
32 VertexColorCustomBakeForm(System::Drawing::Image^ background_image, System::Drawing::Color background_color,
33 System::String^ serializedAssemblyCollection, IConfig^ config);
34 ~VertexColorCustomBakeForm() { this->!VertexColorCustomBakeForm(); }
35 !VertexColorCustomBakeForm();
36
37 System::String^ ToAssemblySerializedString();
38 array<Scripting::LoadedAssembly::SerializeInformation^>^ ToSerializeInfoArray();
39
40 protected:
41 virtual void OnFormClosing(System::Windows::Forms::FormClosingEventArgs^ e) override;
42
43 private:
44
45 void UVBufferRebuild();
46 void UVBufferPaintToGraphics(System::Drawing::Graphics^ graphics, System::Drawing::Size size);
47
48 System::Void cmb_Reload();
49 System::Void cmb_SelectedIndexChanged(Object^, System::EventArgs^);
50 System::Void menuItemFile_DropDownClosed(Object^, System::EventArgs^);
51 System::Void menuItemFile_DropDownOpened(Object^, System::EventArgs^);
52 System::Void menuItemNewScript_Click(Object^, System::EventArgs^);
53 System::Void menuItemSaveImage_Click(Object^, System::EventArgs^);
54 System::Void menuItemScriptDelete_Click(Object^, System::EventArgs^);
55 System::Void menuItemScriptFileOpen_Click(Object^, System::EventArgs^);
56 System::Void menuItemScriptRebuild_Click(Object^, System::EventArgs^);
57 System::Void pnlGL_GLLayout(System::Object^, System::EventArgs^);
58 System::Void pnlGL_GLPaint(System::Object^, System::Windows::Forms::PaintEventArgs^);
59 System::Void pnlGL_GLPrePaintOnce(System::Object^, System::ComponentModel::CancelEventArgs^);
60 System::Void prop_ValueChanged(Object^, System::Windows::Forms::PropertyValueChangedEventArgs^);
61
62 System::Object^ m_lock;
63 System::Object^ m_drawLock;
64 DotNetEx::CounterKey^ m_eventLock;
65
66 System::Int32 m_glShaderProgram;
67
68 System::Drawing::Size m_compileResultWindowSize;
69
70 Scripting::AssemblyCollection^ m_assemblies;
71
72 IConfig^ m_config;
73 UVNormalTransformedBuffer* m_pUVBuffer;
74 CustomControls::Drawing::FaceBuffer^ m_drawFaceBuffer;
75 };
76
78 }
79 }