|
NXWidgets
1.19
|
#include <cstartwindow.hxx>

Classes | |
| struct | SStartWindowSlot |
Public Member Functions | |
| CStartWindow (CTaskbar *taskbar, CApplicationWindow *window) | |
| ~CStartWindow (void) | |
| IApplicationWindow * | getWindow (void) const |
| NXWidgets::IBitmap * | getIcon (void) |
| NXWidgets::CNxString | getName (void) |
| bool | run (void) |
| void | stop (void) |
| void | destroy (void) |
| void | hide (void) |
| void | redraw (void) |
| bool | isFullScreen (void) const |
| bool | addApplication (IApplicationFactory *app) |
| void | clickIcon (int index, bool click) |
Public Member Functions inherited from NxWM::IApplication | |
| virtual | ~IApplication (void) |
| void | setMinimized (bool minimized) |
| void | setTopApplication (bool topapp) |
| bool | isMinimized (void) const |
| bool | isTopApplication (void) const |
Static Protected Member Functions | |
| static int | startWindow (int argc, char *argv[]) |
Protected Attributes | |
| CTaskbar * | m_taskbar |
| CApplicationWindow * | m_window |
| TNxArray< struct SStartWindowSlot > | m_slots |
| struct nxgl_size_s | m_iconSize |
Protected Attributes inherited from NxWM::IApplication | |
| bool | m_minimized |
| bool | m_topapp |
This class is the the start window application.
Definition at line 99 of file cstartwindow.hxx.
| CStartWindow::CStartWindow | ( | CTaskbar * | taskbar, |
| CApplicationWindow * | window | ||
| ) |
CStartWindow Constructor
| taskbar. | A pointer to the parent task bar instance |
| window. | The window to be used by this application. |
Definition at line 83 of file cstartwindow.cxx.
| CStartWindow::~CStartWindow | ( | void | ) |
CStartWindow Constructor
Definition at line 104 of file cstartwindow.cxx.
| bool CStartWindow::addApplication | ( | IApplicationFactory * | app | ) |
Add the application to the start window. The general sequence for setting up the start window is:
| app. | The new application to add to the start window |
Add the application to the start window. The general sequence is:
| app. | The new application to add to the start window |
Definition at line 345 of file cstartwindow.cxx.
| void CStartWindow::clickIcon | ( | int | index, |
| bool | click | ||
| ) |
Simulate a mouse click or release on the icon at index. This method is only available during automated testing of NxWM.
| index. | Selects the icon in the start window |
| click. | True to click and false to release |
Definition at line 401 of file cstartwindow.cxx.
|
protectedvirtual |
Called when the window close button is pressed.
Called when the window minimize close is pressed.
Implements NxWM::IApplicationCallback.
Definition at line 446 of file cstartwindow.cxx.
|
virtual |
Destroy the application and free all of its resources. This method will initiate blocking of messages from the NX server. The server will flush the window message queue and reply with the blocked message. When the block message is received by CWindowMessenger, it will send the destroy message to the start window task which will, finally, safely delete the application.
Implements NxWM::IApplication.
Definition at line 186 of file cstartwindow.cxx.
|
virtual |
Get the icon associated with the application
Implements NxWM::IApplication.
Definition at line 139 of file cstartwindow.cxx.
|
protected |
Calculate the icon bounding box
Definition at line 455 of file cstartwindow.cxx.
|
virtual |
Get the name string associated with the application
Implements NxWM::IApplication.
Definition at line 153 of file cstartwindow.cxx.
|
virtual |
Each implementation of IApplication must provide a method to recover the contained CApplicationWindow instance.
Each implementation of IApplication must provide a method to recover the contained IApplicationWindow instance.
Implements NxWM::IApplication.
Definition at line 126 of file cstartwindow.cxx.
|
protectedvirtual |
Handle a widget action event. For CButtonArray, this is a mouse button pre-release event.
| e | The event data. |
Handle a widget action event. For CImage, this is a mouse button pre-release event.
| e | The event data. |
Reimplemented from NXWidgets::CWidgetEventHandler.
Definition at line 526 of file cstartwindow.cxx.
|
virtual |
The application window is hidden (either it is minimized or it is maximized, but not at the top of the hierarchy)
The application window is hidden (either it is minimized or it is maximized, but not at the top of the hierarchy
Implements NxWM::IApplication.
Definition at line 205 of file cstartwindow.cxx.
|
virtual |
Report of this is a "normal" window or a full screen window. The primary purpose of this method is so that window manager will know whether or not it show draw the task bar.
Implements NxWM::IApplication.
Definition at line 329 of file cstartwindow.cxx.
|
protectedvirtual |
Called when the window minimize button is pressed.
Implements NxWM::IApplicationCallback.
Definition at line 437 of file cstartwindow.cxx.
|
virtual |
Redraw the entire window. The application has been maximized or otherwise moved to the top of the hiearchy. This method is call from CTaskbar when the application window must be displayed
Redraw the entire window. The application has been maximized or otherwise moved to the top of the hiearchy
Implements NxWM::IApplication.
Definition at line 222 of file cstartwindow.cxx.
|
protected |
Stop all applications
Definition at line 497 of file cstartwindow.cxx.
|
virtual |
Start the application.
Implements NxWM::IApplication.
Definition at line 164 of file cstartwindow.cxx.
|
staticprotected |
This is the start window task. This function receives window events from the NX listener threads indirectly through this sequence:
|
virtual |
Stop the application.
Implements NxWM::IApplication.
Definition at line 173 of file cstartwindow.cxx.
|
protected |
A box big enough to hold the largest icon
Definition at line 121 of file cstartwindow.hxx.
|
protected |
List of apps in the start window
Definition at line 120 of file cstartwindow.hxx.
|
protected |
CStartWindow state dataReference to the "parent" taskbar
Definition at line 118 of file cstartwindow.hxx.
|
protected |
Reference to the application window
Definition at line 119 of file cstartwindow.hxx.
1.8.13