Changeset 7 for trunk/Apps


Ignore:
Timestamp:
May 9, 2015, 12:00:33 AM (10 years ago)
Author:
chronos
Message:
  • Added: Action to switch to full screen mode.
  • Added: Video driver registration.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Apps/UClock.pas

    r6 r7  
    2424var
    2525  Message: TIPCMessage;
     26  WindowId: Integer;
    2627begin
    2728  Message := TIPCMessage.Create;
     29  WindowId := API.WindowCreate;
     30  API.WindowSetAttr(300, 200, True);
    2831  while not Task.Terminated do begin
    2932    API.WriteText('test');
     33    API.DrawText(Point(10, 10), 'Text');
     34    API.DrawLine(Point(20, 20), Point(100, 100));
    3035    API.Sleep(OneSecond);
    3136    //API.ReadMessage(Message);
Note: See TracChangeset for help on using the changeset viewer.