Re: help me learn to read documentation

2015-10-01 Thread Robin via Digitalmars-d-learn
On Friday, 2 October 2015 at 01:20:50 UTC, Adam D. Ruppe wrote: On Thursday, 1 October 2015 at 19:15:39 UTC, Robin wrote: [...] Those describe simple class members, so you can set them through assignment: Text CurrentFps = new Text(dejavu); // change to white on black Current

Re: help me learn to read documentation

2015-10-01 Thread Adam D. Ruppe via Digitalmars-d-learn
On Thursday, 1 October 2015 at 19:15:39 UTC, Robin wrote: The documentation here (http://dgame-dev.de/index.php?controller=learn&mode=package&package=graphic&module=Text&version=0.6)... gives me the Text() class but i dont know how to use "foreground, background, and Font mode" or at least turn

help me learn to read documentation

2015-10-01 Thread Robin via Digitalmars-d-learn
Hi. I like to learn programming by examples but I need help learning how to read documentation. I have some idea of how it works in some aspects but in others i get completely stuck because there are no examples or code snippets. I am using dgame (dgame-dev.de) and im reading the documentation