static ThumbnailSizeManager()
 {
     // See: http://jens.triq.net/thumb-spec.php (Thumbnail Managing Standard)
     sizes = new Resolution [4];
     sizes[0] = new Resolution (Catalog.GetString ("Small (64x64 pixels)"), 64, 64);
     sizes[1] = new Resolution (Catalog.GetString ("Medium (96x96 pixels)"), 96, 96);
     sizes[2] = new Resolution (Catalog.GetString ("Large (128x128 pixels)"), 128, 128);
     sizes[3] = new Resolution (Catalog.GetString ("Very Large (192x192 pixels)"), 192, 192);
 }
Exemple #2
0
 static ResolutionManager()
 {
     // See: http://en.wikipedia.org/wiki/Display_resolution#Current_standards
     sizes = new Resolution [7];
     sizes[0] = new Resolution (Catalog.GetString ("320x240 pixels"), 320, 240);
     sizes[1] = new Resolution (Catalog.GetString ("640x480 pixels"), 640, 480);
     sizes[2] = new Resolution (Catalog.GetString ("800x600 pixels"), 800, 600);
     sizes[3] = new Resolution (Catalog.GetString ("1024x768 pixels"), 1024, 768);
     sizes[4] = new Resolution (Catalog.GetString ("1280x720 pixels (720p)"), 1280, 720);
     sizes[5] = new Resolution (Catalog.GetString ("1600x1200 pixels"), 1600, 1200);
     sizes[6] = new Resolution (Catalog.GetString ("1920x1080 pixels (1080i)"), 1920, 1080);
 }