Changeset 24 in Main
- Timestamp:
- 27/11/2011 05:13:23 (18 months ago)
- Files:
-
- 2 added
- 4 edited
-
artwork (added)
-
artwork/Drafter Logo.png (added)
-
src/fake_app_server/App.cpp (modified) (3 diffs)
-
src/fake_app_server/Makefile (modified) (1 diff)
-
src/fake_app_server/Topology.h (modified) (2 diffs)
-
src/fake_app_server/main.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/fake_app_server/App.cpp
r22 r24 47 47 { 48 48 // TODO: set up whatever other threads / systems 49 // construct a messenger 49 50 // Create console thread 50 51 BMessenger* msgr = new BMessenger(this); 51 52 ConsoleID = spawn_thread(Console, "Drafter Console", B_USER_INPUT_HANDLING, (void*) msgr); 52 53 resume_thread(ConsoleID); 53 54 55 // Create the windows for the heads 54 56 int headindex = 0; 55 57 for (int a = 0; a < SlotsUsed; a++) … … 57 59 for (int b = 0; b < Devices[a].HeadCount; b++) 58 60 { 59 //Devices[a].Heads[b].Index = headindex;60 // TODO: create window61 61 HeadList[headindex] = new Head(&(Devices[a].Heads[b])); 62 62 HeadList[headindex]->Show(); … … 82 82 while (file.good()) 83 83 { 84 // TODO: Read the data from the file...85 84 // Format: 86 85 // # comment -
src/fake_app_server/Makefile
r21 r24 1 NAME= DrafterTest11 NAME= server 2 2 TYPE= APP 3 3 SRCS= main.cpp App.cpp Head.cpp -
src/fake_app_server/Topology.h
r21 r24 7 7 8 8 #include <SupportDefs.h> 9 #include <Bitmap.h> 9 10 10 11 struct ResolutionData … … 24 25 uint32 CurrentResolution; 25 26 ResolutionData* Resolutions; 27 BBitmap* Framebuffer; 26 28 }; 27 29 -
src/fake_app_server/main.cpp
r23 r24 19 19 app->Run(); 20 20 } 21 return 0; 21 22 }
Note: See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](http://pulkomandy.lexinfo.fr/projects/haiku3daccel/export/24/Main/artwork/Drafter%20Logo.png)