#include <GAbout.h>
Public Member Functions | |
GAbout (GView *parent, const char *AppName, double Ver, const char *Text, const char *AboutGraphic, const char *Url, const char *Email) | |
Constructor. | |
int | OnNotify (GViewI *Ctrl, int Flags) |
Called when a child view or view with it's SetNotify() set to this window changes. |
GAbout::GAbout | ( | GView * | parent, | |
const char * | AppName, | |||
double | Ver, | |||
const char * | Text, | |||
const char * | AboutGraphic, | |||
const char * | Url, | |||
const char * | ||||
) |
Constructor.
parent | The parent window |
AppName | The application name |
Ver | The version |
Text | The description of the application |
AboutGraphic | The filename of a graphic to display |
Url | URL for the app |
Support email addr for the app |
References GFontType::Create(), GViewFactory::Create(), GRect::Dimension(), GDialog::DoModal(), GFontType::GetSystemFont(), GDocView::GetTextExtent(), IDOK, List< Type >::Insert(), LC_MED, GView::MoveToCenter(), GView::Name(), GWindow::Name(), GStringPipe::NewStr(), GStream::Print(), GDocView::SetCursor(), GDocView::SetEnv(), GView::SetFont(), GView::SetId(), GView::SetNotify(), GView::SetParent(), GWindow::SetPos(), GView::SetPos(), GView::Sunken(), GBytePipe::Write(), GRect::X(), GView::X(), GRect::x1, GRect::x2, GRect::Y(), GView::Y(), GRect::y1, GRect::y2, and GRect::ZOff().
int GAbout::OnNotify | ( | GViewI * | Ctrl, | |
int | Flags | |||
) |
Called when a child view or view with it's SetNotify() set to this window changes.
The event by default will bubble up to the GWindow at the top of the window heirarchy visiting each GView on the way. If it reaches a GView that processes it then the event stops propergating up the heirarchy.
Reimplemented from GView.
References GRect::Dimension(), GDialog::EndModal(), GWindow::GetPos(), IDOK, GRect::Offset(), GWindow::SetPos(), GRect::X(), GRect::x1, GRect::x2, GRect::Y(), GRect::y1, and GRect::y2.