Changeset 62 in Main
- Timestamp:
- 23/03/2012 08:35:52 (14 months ago)
- Location:
- src
- Files:
-
- 4 edited
-
graphics_monitor/App.cpp (modified) (1 diff)
-
graphics_monitor/App.h (modified) (1 diff)
-
graphics_server/Head.cpp (modified) (1 diff)
-
graphics_server/Head.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/graphics_monitor/App.cpp
r59 r62 57 57 switch(message->what) { 58 58 case B_QUIT_REQUESTED: 59 60 59 QuitRequested(); 61 60 break; -
src/graphics_monitor/App.h
r59 r62 28 28 class App : public BApplication { 29 29 public: 30 App();31 ~App();32 status_t Status();33 virtual void ReadyToRun();34 virtual void MessageReceived(BMessage*);35 virtual bool QuitRequested();30 App(); 31 ~App(); 32 status_t Status(); 33 virtual void ReadyToRun(); 34 virtual void MessageReceived(BMessage*); 35 virtual bool QuitRequested(); 36 36 37 37 private: 38 entry_ref fGfxServerRef;39 entry_ref fWarehouseRef;38 entry_ref fGfxServerRef; 39 entry_ref fWarehouseRef; 40 40 }; 41 41 -
src/graphics_server/Head.cpp
r58 r62 5 5 #include "Head.h" 6 6 7 Head::Head(HeadData* head) : BWindow(BRect(100,100,100,100), "Display", B_TITLED_WINDOW, B_NOT_ZOOMABLE | B_NOT_RESIZABLE | B_NOT_CLOSABLE | B_WILL_DRAW) 7 Head::Head(HeadData* head) 8 : 9 BWindow(BRect(100,100,100,100), 10 "Display", B_TITLED_WINDOW, 11 B_NOT_ZOOMABLE | B_NOT_RESIZABLE | B_NOT_CLOSABLE | B_WILL_DRAW) 8 12 { 9 13 Data = head; 10 ResizeBy(Data->Resolutions[Data->CurrentResolution].Width - Bounds().Width(), Data->Resolutions[Data->CurrentResolution].Height - Bounds().Height()); 14 15 // Maybe we should put width & height in seperate variables for readability? 16 ResizeBy(Data->Resolutions[Data->CurrentResolution].Width - Bounds().Width(), 17 Data->Resolutions[Data->CurrentResolution].Height - Bounds().Height()); 11 18 } -
src/graphics_server/Head.h
r58 r62 13 13 class Head : public BWindow { 14 14 public: 15 Head();16 Head(HeadData* head);17 HeadData* Data;15 Head(); 16 Head(HeadData* head); 17 HeadData* Data; 18 18 19 19 private: 20 // HeadData* Data;20 // HeadData* Data; 21 21 }; 22 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)