172
172
appBackground = NULL;
174
174
backImage = NULL;
176
* ------------ Initializing About menu -----------------
178
info = new wxAboutDialogInfo ();
179
info->SetVersion (_T (SIMDOCK_VERSION));
180
info->SetCopyright (_T
181
(" (C) 2007 Simone Della Longa <simonedll@yahoo.it>\n"
182
"This program is free software; you can redistribute it and/or modify\n"
183
"it under the terms of the GNU General Public License as published by\n"
184
"the Free Software Foundation; either version 2 of the License, or\n"
185
"any later version.\n"));
186
info->AddDeveloper (_T ("Author: Simone Della Longa\n"
187
"Contributor: Marco Garzola\n"));
189
info->SetName (_T ("SimDock"));
190
info->SetWebSite (_T (SIMDOCK_WEBSITE));
192
* ------------ Initializing About menu -----------------
195
176
blurTimer = new wxTimer (this, ID_blur_Timer);
196
177
blurTimer->Start (settings.BLUR_TIMEOUT);
333
for (unsigned int i = 0; i < ImagesList->GetCount (); i++)
335
simImage *img = (*ImagesList)[i];
336
if (img->isIn (event.m_x, event.m_y))
338
if (hoveringIcon != img) {
339
OnMouseEnterIcon(event, img);
314
simImage *img = this->getClickedIcon(event);
315
if (hoveringIcon != img) {
316
OnMouseEnterIcon(event, img);
345
319
if (hoveringIcon != None) {
430
404
MyFrame::OnAbout (wxCommandEvent & WXUNUSED (event))
432
wxGenericAboutBox (*info);
406
info = new wxAboutDialogInfo ();
407
info->SetVersion (_T (SIMDOCK_VERSION));
408
info->SetCopyright (_T
409
(" (C) 2007 Simone Della Longa <simonedll@yahoo.it>\n"
410
" (C) 2011 Malte Paskuda <malte@paskuda.biz>\n"
411
"This program is free software; you can redistribute it and/or modify\n"
412
"it under the terms of the GNU General Public License as published by\n"
413
"the Free Software Foundation; either version 2 of the License, or\n"
414
"any later version.\n"));
415
info->AddDeveloper (_T("Simone Della Longa (Original Developer)"));
416
info->AddDeveloper (_T("Malte Paskuda (Developer)"));
417
info->AddDeveloper (_T("Marco Garzola (Contributor)"));
419
info->SetName (_T ("SimDock"));
420
info->SetWebSite (_T (SIMDOCK_WEBSITE));
421
wxGenericAboutBox (*info);
568
557
MyFrame::OnMouseEnter (wxMouseEvent & event)
570
559
#ifdef SIMDOCK_DEBUG
571
cout << "OnmouseEnter" << endl;
560
cout << "OnmouseEnter" << endl;
576
* int style = this->GetWindowStyle(); style = style | wxSTAY_ON_TOP;
577
* this->SetWindowStyle(style);
580
if (!wxGetApp ().onTop)
582
// SetWindowStyleFlag(frameOptions |wxSTAY_ON_TOP);
563
if (!wxGetApp ().onTop) {
654
635
dragging = false;
657
for (unsigned int i = 0; i < ImagesList->GetCount (); i++) {
658
simImage *img = (*ImagesList)[i];
659
if (img->isIn (event.m_x, event.m_y)) {
660
if (img->windowCount() > 0) {
661
if (settings.ENABLE_MINIMIZE && img->active) {
662
if (img->allNotMinimized()) {
663
img->cycleMinimize = true;
665
if (img->allMinimized()) {
666
img->cycleMinimize = false;
669
if (img->cycleMinimize) {
670
tasks_minimize(img->getWindow());
672
tasks_raise(img->getWindow());
638
simImage* img = this->getClickedIcon(event);
640
if (img->windowCount() > 0) {
641
if (settings.ENABLE_MINIMIZE && img->active) {
642
if (img->allNotMinimized()) {
643
img->cycleMinimize = true;
645
if (img->allMinimized()) {
646
img->cycleMinimize = false;
649
if (img->cycleMinimize) {
650
tasks_minimize(img->getWindow());
675
652
tasks_raise(img->getWindow());
680
/* process identifier */
685
wxDialog dlg (this, -1, wxT ("Damn, could not fork...."));
690
exit (system(wx2std(img->link).c_str()));
693
img->blurStatus = STATUS_INCREASING;
695
if (! blurTimer->IsRunning()) {
696
blurTimer->Start (settings.BLUR_TIMEOUT);
655
tasks_raise(img->getWindow());
660
/* process identifier */
665
wxDialog dlg (this, -1, wxT ("Damn, could not fork...."));
670
exit (system(wx2std(img->link).c_str()));
673
img->blurStatus = STATUS_INCREASING;
675
if (! blurTimer->IsRunning()) {
676
blurTimer->Start (settings.BLUR_TIMEOUT);