|
@@ -762,6 +762,10 @@ laPropContainer* tnsget_ObjectType(tnsObject* o){
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+void lareset_Main(void* Unused){
|
|
|
+ return;
|
|
|
+}
|
|
|
+
|
|
|
laPropContainer* LA_PC_SOCKET_IN;
|
|
|
laPropContainer* LA_PC_SOCKET_OUT;
|
|
|
laPropContainer* LA_PROP_SOCKET_SOURCE;
|
|
@@ -1030,6 +1034,7 @@ void la_RegisterInternalProps(){
|
|
|
// USER PREF ========================================================
|
|
|
|
|
|
p = laAddPropertyContainer("la_user_preference", "User Preference", "Kernel settings for LA main structure", L'⚙', 0, sizeof(LA), lapost_UserPreferences, 0, 2|LA_PROP_OTHER_ALLOC);{
|
|
|
+ laPropContainerExtraFunctions(p,0,lareset_Main,0,0,0);
|
|
|
laAddFloatProperty(p, "idle_time", "Idle time", "Time out on no input to show tooltips", 0, 0, 0, 2.0, 0.3, 0.05, 0.75, 0, offsetof(LA, IdleTime), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
|
|
|
laAddIntProperty(p, "top_framerate", "Top Framerate", "Framerate limiter for drawing the user interface", 0, 0, 0, 60, 25, 1, 60, 0, offsetof(LA, TopFramerate), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
|
|
|
laAddIntProperty(p, "valuator_threshold", "Valuator Threshold", "Drag How Many Pixels Trigger A Change In Valuator", 0, 0, 0, 10, 1, 1, 3, 0, offsetof(LA, ValuatorThreshold), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
|
|
@@ -1068,8 +1073,8 @@ void la_RegisterInternalProps(){
|
|
|
laAddEnumItemAs(ep, "FILES", "Files", "All Files", 1, 0);
|
|
|
}
|
|
|
|
|
|
- laAddIntProperty(p, "wacom_device_stylus", "Stylus Device", "Wacom stylus device ID", LA_WIDGET_INT_PLAIN, 0, 0, 0, 0, 0, 0, 0, offsetof(LA, WacomDeviceStylus), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, LA_READ_ONLY);
|
|
|
- laAddIntProperty(p, "wacom_device_eraser", "Eraser Device", "Wacom eraser device ID", LA_WIDGET_INT_PLAIN, 0, 0, 0, 0, 0, 0, 0, offsetof(LA, WacomDeviceEraser), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, LA_READ_ONLY);
|
|
|
+ laAddIntProperty(p, "wacom_device_stylus", "Stylus Device", "Wacom stylus device ID", LA_WIDGET_INT_PLAIN, 0, 0, 0, 0, 0, 0, 0, offsetof(LA, WacomDeviceStylus), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, LA_READ_ONLY|LA_UDF_IGNORE);
|
|
|
+ laAddIntProperty(p, "wacom_device_eraser", "Eraser Device", "Wacom eraser device ID", LA_WIDGET_INT_PLAIN, 0, 0, 0, 0, 0, 0, 0, offsetof(LA, WacomDeviceEraser), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, LA_READ_ONLY|LA_UDF_IGNORE);
|
|
|
}
|
|
|
|
|
|
p = laAddPropertyContainer("la_translation_language", "Language", "Translation language pack", 0, 0, sizeof(laTranslationNode), 0, 0, 2);{
|