- deleted test plugin
- added FML Library
This commit is contained in:
		
							
								
								
									
										27
									
								
								application/FML/Script/Templates/Main.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								application/FML/Script/Templates/Main.txt
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,27 @@ | ||||
|  | ||||
| main() { | ||||
| 	+++OnInit+++ | ||||
| 	while (True) { | ||||
| 		yield; | ||||
| 		foreach (Event in PendingEvents) { | ||||
| 			switch (Event.Type) { | ||||
| 				case CMlEvent::Type::EntrySubmit: { | ||||
| 					+++EntrySubmit+++ | ||||
| 				} | ||||
| 				case CMlEvent::Type::KeyPress: { | ||||
| 					+++KeyPress+++ | ||||
| 				} | ||||
| 				case CMlEvent::Type::MouseClick: { | ||||
| 					+++MouseClick+++ | ||||
| 				} | ||||
| 				case CMlEvent::Type::MouseOut: { | ||||
| 					+++MouseOut+++ | ||||
| 				} | ||||
| 				case CMlEvent::Type::MouseOver: { | ||||
| 					+++MouseOver+++ | ||||
| 				} | ||||
| 			} | ||||
| 		} | ||||
| 		+++Loop+++ | ||||
| 	} | ||||
| } | ||||
							
								
								
									
										6
									
								
								application/FML/Script/Templates/TooltipMouseOut.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								application/FML/Script/Templates/TooltipMouseOut.txt
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,6 @@ | ||||
| if (C_FML_TooltipIds.existskey(Event.ControlId)) { | ||||
| 	declare TooltipControl <=> Page.GetFirstChild(C_FML_TooltipIds[Event.ControlId]); | ||||
| 	if (TooltipControl != Null) { | ||||
| 		TooltipControl.Hide(); | ||||
| 	} | ||||
| } | ||||
							
								
								
									
										6
									
								
								application/FML/Script/Templates/TooltipMouseOver.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								application/FML/Script/Templates/TooltipMouseOver.txt
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,6 @@ | ||||
| if (C_FML_TooltipIds.existskey(Event.ControlId)) { | ||||
| 	declare TooltipControl <=> Page.GetFirstChild(C_FML_TooltipIds[Event.ControlId]); | ||||
| 	if (TooltipControl != Null) { | ||||
| 		TooltipControl.Show(); | ||||
| 	} | ||||
| } | ||||
		Reference in New Issue
	
	Block a user