[mistelix] Add 800x600 resolution
- From: Jordi Mas <jmas src gnome org>
- To: svn-commits-list gnome org
- Subject: [mistelix] Add 800x600 resolution
- Date: Wed, 29 Apr 2009 09:02:32 -0400 (EDT)
commit ac1508703603c0e5bc476c7dec5f69aaeca66003
Author: Jordi Mas <jmas softcatala org>
Date: Wed Apr 29 15:01:17 2009 +0200
Add 800x600 resolution
---
src/core/ResolutionManager.cs | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/src/core/ResolutionManager.cs b/src/core/ResolutionManager.cs
index 4dcd9c9..779eebe 100644
--- a/src/core/ResolutionManager.cs
+++ b/src/core/ResolutionManager.cs
@@ -35,17 +35,18 @@ namespace Mistelix.Core
static ResolutionManager ()
{
// See: http://en.wikipedia.org/wiki/Display_resolution#Current_standards
- sizes = new Resolution [6];
+ 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 ("1024x768 pixels"), 1024, 768);
- sizes[3] = new Resolution (Catalog.GetString ("1280x720 pixels (720p)"), 1280, 720);
- sizes[4] = new Resolution (Catalog.GetString ("1600x1200 pixels"), 1600, 1200);
- sizes[5] = new Resolution (Catalog.GetString ("1920x1080 pixels (1080i)"), 1920, 1080);
+ 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);
}
static public Resolution Default {
- get { return sizes[2]; } // 1024x768
+ get { return sizes[3]; } // 1024x768
}
static public Resolution[] List {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]