X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2FApplications%2Fgui_ate_src%2Fmain.c;h=a6ed8aa7ade8dfd92122782bc74494e65287af61;hb=3bcb89ec409dc04c55465bdb79ffc7828f003e3c;hp=82a9117b5282e856300e2426ab0bafe2066238bd;hpb=1b9e758fbf856934974e847c3d5b348d237a0001;p=tpg%2Facess2.git diff --git a/Usermode/Applications/gui_ate_src/main.c b/Usermode/Applications/gui_ate_src/main.c index 82a9117b..a6ed8aa7 100644 --- a/Usermode/Applications/gui_ate_src/main.c +++ b/Usermode/Applications/gui_ate_src/main.c @@ -33,7 +33,7 @@ int main(int argc, char *argv[]) AxWin3_Connect(NULL); // --- Build up window - gMainWindow = AxWin3_Widget_CreateWindow(NULL, 600, 400, ELEFLAG_VERTICAL); + gMainWindow = AxWin3_Widget_CreateWindow(NULL, 700, 400, ELEFLAG_VERTICAL); AxWin3_SetWindowTitle(gMainWindow, "Acess Text Editor"); // TODO: Update title with other info gMainWindow_Root = AxWin3_Widget_GetRoot(gMainWindow); @@ -73,13 +73,15 @@ int main(int argc, char *argv[]) // AxWin3_RichText_SetLineCount(gMainWindow_TextArea, 3); AxWin3_RichText_SendLine(gMainWindow_TextArea, 0, "First line!"); - AxWin3_RichText_SendLine(gMainWindow_TextArea, 2, "Third line!, should be a nice gap above"); + AxWin3_RichText_SendLine(gMainWindow_TextArea, 2, "Third line! \x01""ff0000A red"); // AxWin3_ShowWindow(gMainWindow_TextArea, 1); // TODO: Status Bar? + AxWin3_MoveWindow(gMainWindow, 50, 50); AxWin3_ShowWindow(gMainWindow, 1); + AxWin3_FocusWindow(gMainWindow); // Main loop AxWin3_MainLoop();