]> git.sesse.net Git - vlc/blobdiff - plugins/win32/preferences.h
* ALL: replaced TUpDown components by TCSpinEdit ones, which allow
[vlc] / plugins / win32 / preferences.h
index f0a3ca3142f145d32cd85ff67540ed0430f0990f..9dbb92db1725fab8a6653116c538312374b2ef80 100644 (file)
@@ -30,6 +30,7 @@
 #include <Buttons.hpp>\r
 #include <ComCtrls.hpp>\r
 #include <ExtCtrls.hpp>\r
+#include "CSPIN.h"\r
 //---------------------------------------------------------------------------\r
 class TGroupBoxPref : public TGroupBox\r
 {\r
@@ -48,8 +49,9 @@ public:
             bool WordWrap );\r
     TEdit * __fastcall CreateEdit( TWinControl *Parent,\r
             int Left, int Width, int Top, int Height, AnsiString Text );\r
-    TUpDown * __fastcall CreateUpDown( TWinControl *Parent,\r
-            int Min, int Max, int Position, bool Thousands );\r
+    TCSpinEdit * __fastcall CreateSpinEdit( TWinControl *Parent,\r
+            int Left, int Width, int Top, int Height,\r
+            long Min, long Max, long Value );\r
 };\r
 //---------------------------------------------------------------------------\r
 class TGroupBoxPlugin : public TGroupBoxPref\r
@@ -85,8 +87,7 @@ class TGroupBoxInteger : public TGroupBoxPref
 public:\r
     __fastcall TGroupBoxInteger( TComponent* Owner, module_config_t *p_config );\r
     TLabel *LabelDesc;\r
-    TEdit *Edit;\r
-    TUpDown *UpDown;\r
+    TCSpinEdit *SpinEdit;\r
     void __fastcall UpdateChanges();\r
 };\r
 //---------------------------------------------------------------------------\r