OSDN Git Service

Ring 1.10 以来となる開発環境の日本語ローカライズ版 (評価版) を追加 (ノートパッド、フォームデザイナー、対話型実行環境、ファイルの検索)。
[ring-lang-081/ring.git] / applications / formdesigner / source / tests / labelandbuttoncolors / labelandbuttoncolorsController.ring
diff --git a/applications/formdesigner/source/tests/labelandbuttoncolors/labelandbuttoncolorsController.ring b/applications/formdesigner/source/tests/labelandbuttoncolors/labelandbuttoncolorsController.ring
new file mode 100644 (file)
index 0000000..00746ea
--- /dev/null
@@ -0,0 +1,18 @@
+# Form/Window Controller - Source Code File
+
+load "labelandbuttoncolorsView.ring"
+
+if IsMainSourceFile() {
+       new qApp {
+               StyleFusion()
+               open_window(:labelandbuttoncolorsController)
+               exec()
+       }
+}
+
+class labelandbuttoncolorsController from windowsControllerParent
+
+       oView = new labelandbuttoncolorsView
+
+       func CloseWindow
+               oView.win.Close()