sprint 1-alpha
|
GTL, GUI Template Library is an ATL compatible framework, oriented to cross-compile Win32 application on more operative systems. More...
Classes | |
struct | CRect |
a RECT Wrapper More... | |
struct | Rect |
class | CInstance |
class | TBitmap |
Gestione delle Bitmap. More... | |
class | CBrushT |
A Brush object. More... | |
class | Button |
a generic button: TODO specialize for CheckBox, Radio More... | |
class | ComboBox |
struct | TCommandMap |
class | OpenDlg |
class | BrowseForFile |
class | ReadConfiguration |
Wrapper per leggere dal registro di windows. More... | |
class | WriteConfiguration |
Wrapper per scrivere nel registro di windows. More... | |
class | TDC |
class | CPaintDC |
class | CWindowDC |
class | CClientDC |
class | CObjectContext |
class | DoubleBufferDC |
A memory DC used for double buffer during paint. More... | |
class | CDialog |
class | CModelessDialog |
struct | set |
struct | get |
class | Conf< set > |
class | Conf< get > |
struct | EditBox |
class | EditableListView |
class | CLogFont |
un LOGFONT (contiene informazioni per generare un Font) More... | |
class | CFontT |
Wrapper per i Font. More... | |
class | ListBox |
class | ListView |
ListView control. More... | |
class | CMenuT |
Menu object. More... | |
class | CPenT |
struct | Param |
class | ReBar |
class | Registry |
Wrapper per leggere o scrivere dal registro di windows. More... | |
class | SkinButtonManager |
class | StatusBar |
class | TabCtrl |
class | TextButtonManager |
class | ToolBar |
class | TreeView |
class | CDefaultWindowTraits |
A Default collection of Window Traits (should be overwritten entirelly) More... | |
class | CChildWindowTraits |
struct | TWindowManager |
class | VWindow |
class | WindowRegister |
class | WindowSingleton |
class | CWindow |
Typedefs | |
typedef TBitmap< true > | CBitmap |
Bitmap che si auto-distrugge. | |
typedef TBitmap< false > | CBitmapHandle |
Bitmap che e' un mero contenitore. | |
typedef CBrushT< false > | CBrushHandle |
typedef CBrushT< true > | CBrush |
typedef TDC< false > | CDCHandle |
Handle without DeleteDC. | |
typedef TDC< true > | CDC |
Handle with DeleteDC. | |
typedef CFontT< false > | CFontHandle |
Un handler per un font. Non libera il font in distruzione dell'oggetto. | |
typedef CFontT< true > | CFont |
un Font. Libera il font in distruzione | |
typedef CMenuT< false > | CMenuHandle |
typedef CMenuT< true > | CMenu |
typedef CPenT< false > | CPenHandle |
Pen Handle. | |
typedef CPenT< true > | CPen |
Auto Deallocating Pen object. | |
Functions | |
HBITMAP | LoadSecureBitmap (LPCTSTR szFileName) |
HBITMAP | LoadBitmapPNG (LPCTSTR szFile) |
BOOL | BrowseForDir (HWND hParent, LPSTR lpBuffer, LPCSTR lpszTitle="Browse for Dir") |
bool | BrowseForDir_DlgItem (HWND hwnd, int id, const char *title) |
CBrushHandle | BlackBrush () |
CBrushHandle | WhiteBrush () |
template<class T > | |
INT_PTR CALLBACK | DlgProc (HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam) |
template<class T > | |
INT_PTR | TDialogBox (LPCTSTR lpTemplate, HWND hWndParent, const T &inst=T()) |
Generic Dialog using a user T class. | |
template<class T > | |
INT_PTR | CreateTDialog (LPCTSTR lpTemplate, HWND hWndParent, T *inst) |
Generic Dialog using a user T class. | |
bool | GetDlgItemText (HWND hwnd, UINT id, std::string &str) |
return a std::string from a dialog item | |
UINT | DlgParseErrorEx (HWND hWnd, LPCSTR lpszArg, DWORD dwParm) |
UINT | DlgParseErrorEx (HWND hWnd, LPCSTR lpszTitle, LPCSTR lpszArg, DWORD dwParm, UINT action=MB_OK) |
void | dot (int d) |
??? | |
bool | ImageList_AddPNG (HIMAGELIST hImageList, LPCTSTR pszFilename) |
carica il file PNG in una HBITMAP e la aggiunge alla ImageList | |
HINSTANCE | ThisInstance () |
Return the current istance (WIN32) | |
void | Property_FillList (HWND hwnd, const Param *, int num) |
Fill a LISTVIEW with Property. | |
void | Property_Edit (HWND hwnd, const Param *, int num, int idx) |
Handle Property Edit. | |
bool | MainLoop () |
template<class T > | |
void | WindowSingletonRegister (const T *win) |
HBITMAP | imageCreateDIBSection (HWND hWnd, int width, int height, int bpp, void **buffer) |
HBITMAP | imageCreateDIBSectionDC (HDC hDC, int width, int height, int bpp, void **buffer) |
BOOL | WriteBmp (const char *file, const DWORD *bmp, DWORD width, DWORD height, DWORD bpp) |
Variables | |
HINSTANCE | TheHInstance |
e' inizializatto in pmwin.cpp usato GetModuleHandle(NULL) |
GTL, GUI Template Library is an ATL compatible framework, oriented to cross-compile Win32 application on more operative systems.
INT_PTR CALLBACK sprint::gtl::DlgProc | ( | HWND | hwndDlg, |
UINT | uMsg, | ||
WPARAM | wParam, | ||
LPARAM | lParam | ||
) |
A general purpose DlgProc wrapper for user T class
HBITMAP sprint::gtl::LoadBitmapPNG | ( | LPCTSTR | szFile | ) |
Carica un PNG
HBITMAP sprint::gtl::LoadSecureBitmap | ( | LPCTSTR | szFileName | ) |
Carica una bitmap (o un png a seconda dell'estensione) se questo non e' in cache, altrimenti ritorna l'elemento precedente senza caricarlo di nuovo
Nella versione finale questa funzione oltre a fare da cache permettera' anche di verificare se il file che si carica ha il CRC32 (o SHA1) corretto o e' stato modificato
bool sprint::gtl::MainLoop | ( | ) |
ciclo principale TODO Spostarlo in un altro file h, change namespace?