1#ifndef __cxxtest__Win32Gui_h__
2#define __cxxtest__Win32Gui_h__
111 for (
int i = 1;
i < argc; ++
i )
391#ifdef PBM_SETBARCOLOR
414 setCaption( suiteName,
"::", testName,
"()" );
417 void setCaption(
const char *a =
"",
const char *
b =
"",
const char *c =
"",
const char *d =
"" )
void setCaption(const char *a="", const char *b="", const char *c="", const char *d="")
static LRESULT CALLBACK windowProcedure(HWND window, UINT message, WPARAM wParam, LPARAM lParam)
void progressBarMessage(UINT message, WPARAM wParam=0, LPARAM lParam=0)
int _statusWidths[STATUS_TOTAL_PARTS]
void setSummaryStatusBar()
void statusBarMessage(UINT message, WPARAM wParam=0, const void *lParam=0)
void setStatusTime(unsigned part, DWORD start)
HWND createWindow(LPCTSTR className, DWORD style, HWND parent=(HWND) NULL)
unsigned _statusOffsets[STATUS_TOTAL_PARTS]
char _strTotalTests[WorldDescription::MAX_STRLEN_TOTAL_TESTS]
char * allocate(unsigned length)
void setStatusParts(LONG width)
void getTotalTests(const WorldDescription &wd)
void setIcon(LPCTSTR icon)
void setRatios(unsigned suiteNameRatio, unsigned suiteTimeRatio, unsigned testNameRatio, unsigned testTimeRatio, unsigned testsDoneRatio, unsigned worldTimeRatio)
void showSuiteName(const char *suiteName)
void enterWorld(const WorldDescription &wd)
void enterGui(int &argc, char **argv)
void getScreenArea(RECT &area)
static void setUp(HWND window, LPCREATESTRUCT create)
void showTestName(const char *testName)
void guiEnterSuite(const char *suiteName)
void initCommonControls()
void parseCommandLine(int argc, char **argv)
void guiEnterTest(const char *suiteName, const char *testName)
void showMainWindow(int mode)
static DWORD WINAPI guiThread(LPVOID parameter)
void getWholeScreenArea(RECT &area)
void deallocate(char *data)
LRESULT handle(HWND window, UINT message, WPARAM wParam, LPARAM lParam)
bool getScreenAreaWithoutTaskbar(RECT &area)
void setColor(BYTE, BYTE, BYTE)
char _statusTestsDone[sizeof("1000000000 of (100%)")+WorldDescription::MAX_STRLEN_TOTAL_TESTS]
void setTestCaption(const char *suiteName, const char *testName)
char _timeString[sizeof("00:00:00")]
void registerWindowClass()
void setStatusPart(unsigned part, const char *text)
HICON loadStandardIcon(LPCTSTR icon)
char name(const Variable &v)
static BOOLEAN length(leftv result, leftv arg)
void message(int i, int *reduc, int *olddeg, kStrategy strat, int red_result)