mirror of
				https://github.com/nicbarker/clay.git
				synced 2025-11-04 00:26:17 +00:00 
			
		
		
		
	Add missing macro
This commit is contained in:
		
							parent
							
								
									c483269295
								
							
						
					
					
						commit
						446a4caadc
					
				| 
						 | 
				
			
			@ -439,6 +439,14 @@ PaddingAll :: proc(allPadding: u16) -> Padding {
 | 
			
		|||
	return { left = allPadding, right = allPadding, top = allPadding, bottom = allPadding }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
BorderOutside :: proc(width: u16) -> BorderWidth {
 | 
			
		||||
	return {width, width, width, width, 0}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
BorderAll :: proc(width: u16) -> BorderWidth {
 | 
			
		||||
	return {width, width, width, width, width}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
CornerRadiusAll :: proc(radius: f32) -> CornerRadius {
 | 
			
		||||
	return CornerRadius{radius, radius, radius, radius}
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue