package net.psammead.commonist;

import javax.swing.*;
import javax.swing.border.*;

/** constants used throughout the application */
public interface Constants {
	int THUMBNAIL_DEFAULT_SIZE		= 192;
	int	THUMBNAIL_CACHE_SIZE		= 2000;	// images
	int	THUMBNAIL_SCALE_HEADROOM	= 250;	// percent
	
//	int FULLSIZE_MIN_FRAME_SIZE		= 32;	// pixel
	int	FULLSIZE_MAX_UNIT_INCREMENT	= 64;	// pixel
	
	int	IMAGELIST_UPDATE_DELAY		= 1500;	// millis
	int IMAGELIST_UPDATE_COUNT		= 3;	// count
	
	int	INPUT_FIELD_WIDTH			= 24;	// columns
	int	INPUT_FIELD_HEIGHT			= 5; 	// rows
	
	Border	PANEL_BORDER			= BorderFactory.createEmptyBorder(2,2,2,2);
	
}
