Jaeyo / lanterna

Automatically exported from code.google.com/p/lanterna
GNU Lesser General Public License v3.0
0 stars 0 forks source link

Lanterna3: Why is ScreenTextGraphics private? #117

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Playing with 3.0-alpha3 (looks very nice and clean!) I noticed that 
ScreenTextGraphics is package-private. Is there a reason for that? If yes, 
what's the right approach to write to the screen with the convenience of 
TextGraphics?

Original issue reported on code.google.com by konstant...@gmail.com on 25 Sep 2014 at 5:52

GoogleCodeExporter commented 9 years ago
There should be a method on the Screen interface that gives you a TextGraphics 
back? I know there is one now, but maybe I had forgotten to add it at the time 
I released 3.0-alpha3?

Original comment by mab...@gmail.com on 25 Sep 2014 at 11:26

GoogleCodeExporter commented 9 years ago
Thank you, 'newTextGraphics' is the method you're referring to, I was confused 
because I saw 'new ScreenTextGraphics(screen)' in one of the test files. 

Original comment by konstant...@gmail.com on 25 Sep 2014 at 11:36

GoogleCodeExporter commented 9 years ago
Ah, possible, should correct that.

Original comment by mab...@gmail.com on 26 Sep 2014 at 7:04