tHWND gSystemMenu;
tHWND gRunDialog;
tAxWin3_Widget *gRunInput;
+
+tAxWin3_Widget *gWindowList;
tAxWin3_Widget *gTimeDisplay;
int giScreenWidth;
int giScreenHeight;
AxWin3_Widget_SetSize(ele, 4);
// TODO: Program list
- ele = AxWin3_Widget_AddWidget(gSidebarRoot, ELETYPE_BOX, ELEFLAG_VERTICAL, "ProgramList");
+ gWindowList = AxWin3_Widget_AddWidget(gSidebarRoot, ELETYPE_BOX, ELEFLAG_VERTICAL, "ProgramList");
// - Plain <hr/> style spacer
ele = AxWin3_Widget_AddWidget(gSidebarRoot, ELETYPE_SPACER, ELEFLAG_NOSTRETCH, "SideBar Spacer Top");
return -1;
if( strnlen(Msg->DebugName, max_debugname_len) == max_debugname_len )
return -1;
+
+ _SysDebug("Widget_NewWidgetSubwin(%i %i Type %i Flags 0x%x Subwin %i)",
+ Msg->Parent, Msg->NewID, Msg->Type, Msg->Flags, Msg->WindowHandle);
parent = Widget_GetElementById(Info, Msg->Parent);
if(!parent) return 1;
tElement *ele;
const tWidgetIPC_SetFocus *msg = Data;
if(Len < sizeof(*msg)) return -1;
+
+ _SysDebug("Widget_SetFocus(%i)", msg->WidgetID);
ele = Widget_GetElementById(info, msg->WidgetID);
Widget_SetFocus(info, ele);
if( Len < sizeof(*Msg) )
return -1;
+
+ _SysDebug("Widget_SetSize(%i, %i)", Msg->WidgetID, Msg->Value);
ele = Widget_GetElementById(Info, Msg->WidgetID);
if(!ele) return 1;
if( Msg->Text[Len - sizeof(*Msg) - 1] != '\0' )
return -1;
+ _SysDebug("Widget_SetText(%i, '%.30s')", Msg->WidgetID, Msg->Text);
ele = Widget_GetElementById(Info, Msg->WidgetID);
if(!ele) return 1;
static struct {
uint16_t W, H;
uint32_t Data[];
-} cCursorBitmap = {
+} __attribute__((packed)) cCursorBitmap = {
8, 16,
{
0xFF000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,