Icarus.Utilities This is a caching class, which removes the least recently used items when there is no more need for them. Creates a new cache class. The maximum number of elements the cache can have. Adds a new element to the cache. Note that if the cache is already filled up, some element will be removed. Removes all elements from the cache. Determines whether the cache has an element with the specified key. Removes the object with the specified key from the cache. Returns an enumerator over the elements in the cache. This function will be called whenever we hit the maximum number of elements allowed and will return the id of the element which we would like to remove. In the current implementation, it uses the LRU algorithm to determine which element to remove. Returns the element with the specified key from the cache. Gets whether or not we can add another element without removing an existing one. We want to keep track of access times to the elements of the cache, hence the need for a private class to encapsulate that data. The enumerator for the cache class. Summary description for DirectXUtilities. Singleton Implementation. Singleton Implementation. Find16BitMode - Tests for 16-bit buffer formats for compatibility with the current display adapter in full-screen. The chosen format, or D3D.Format.Unknown if one isn't found Returns the current display mode. Singleton Implementation. This class provides additional functionality for drawing such things as rounded rectangles through a Graphics object. The code is mostly adapted from this CodeProject article: http://www.codeproject.com/cs/media/ExtendedGraphics.asp Creates a new extended graphics object. The graphics object used for drawing. Fills a rounded rectangle. Fills a rounded rectangle. Draws a Rounded Rectangle. Draws a Rounded Rectangle. Returns a graphics path for a rounded rectangle. Returns a capsular path for the base rectangle. The graphics object used for drawing. TextBoxWriter translates a series of writes to a TextBox display. Note that no locking is performed because this class is only written to by BufferedStringTextWriter which does locking. However the class does do an extra level of buffering in the case where the control has not yet been created at the time of the Write(). The TextBoxBase-derived control we write to StringBuilder to hold text until the control is actually created Create a new TextBoxWriter The TextBox to write to Create a new TextBoxWriter The RichTextBox to write to Clear the TextBox Flush the text to the Box Write Character to the Box Character to write Write String to the Box string to write Write a String to the Box followed by a newline String to write Doesn't do anything null Retrive the Character Encoding