39 {
41
42 $bearsamppWinbinder->reset();
44
45
47
48
49 $textLines = explode('@nl@', $aboutText);
50
51
52 $yPos = 20;
53 $lineHeight = 20;
54 foreach ($textLines as $line) {
55 $bearsamppWinbinder->createLabel($this->wbWindow, trim($line), 80, $yPos, 470, $lineHeight);
56 $yPos += $lineHeight;
57 }
58
59
60 $yPos = 125;
61
62
65 $yPos += 20;
66
68 $this->wbLinkDonate = $bearsamppWinbinder->createHyperLink($this->wbWindow,
HttpClient::getWebsiteUrlNoUtm(
'donate'), 180, $yPos, 300, 15, WBC_LINES);
69 $yPos += 20;
70
72 $this->wbLinkGithub = $bearsamppWinbinder->createHyperLink($this->wbWindow,
HttpClient::getGithubUserUrl(), 180, $yPos, 300, 15, WBC_LINES);
73 $yPos += 10;
74
76
77 $this->wbImage = $bearsamppWinbinder->drawImage($this->wbWindow,
Path::getImagesPath() .
'/about.bmp');
78
79 $bearsamppWinbinder->setHandler($this->wbWindow, $this, 'processWindow');
80 $bearsamppWinbinder->mainLoop();
81 $bearsamppWinbinder->reset();
82 }
static getWebsiteUrlNoUtm($path='', $fragment='')
static getGithubUserUrl()
static getImagesPath($aetrayPath=false)