﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	mlocked
9578	Increase arbitrary MAX_DISPLAY_CHANS in guidegrid.h	Andrew Leech <andrew@…>		"The maximum number of channels visible on screen in guidegrid is locked to 12 by a define in guidegrid.h[[BR]]

On larger TV's at higher resolutions, more channels than this are certainly easily readable. Also, the number of channels is set in the theme separately.[[BR]]

The MAX_DISPLAY_CHANS is used to create an array so it's easier to keep it there rather than trying to dynamically create the array at runtime based on theme settings, but it would be good to set it significantly higher and allow the theme to set a useful size for use.

{{{

--- a/mythtv/programs/mythfrontend/guidegrid.h
+++ b/mythtv/programs/mythfrontend/guidegrid.h
@@ -28,7 +28,7 @@ class QTimer;
 class MythUIButtonList;
 class MythUIGuideGrid;

-#define MAX_DISPLAY_CHANS 12
+#define MAX_DISPLAY_CHANS 99
 #define MAX_DISPLAY_TIMES 36

 typedef vector<PixmapChannel>   pix_chan_list_t;

}}}"	Patch - Feature	closed	minor	0.25	MythTV - General	0.24-fixes	low	fixed			0
