Changeset 62 in Main


Ignore:
Timestamp:
23/03/2012 08:35:52 (14 months ago)
Author:
BitPuffin
Message:

Just some minor indentation cleanup to test if the repo is working
I need to install haiku again to actually test compile the code

Location:
src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • src/graphics_monitor/App.cpp

    r59 r62  
    5757        switch(message->what) { 
    5858                case B_QUIT_REQUESTED: 
    59                  
    6059                        QuitRequested(); 
    6160                        break; 
  • src/graphics_monitor/App.h

    r59 r62  
    2828class App : public BApplication { 
    2929public: 
    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(); 
    3636 
    3737private: 
    38         entry_ref               fGfxServerRef; 
    39         entry_ref               fWarehouseRef; 
     38        entry_ref                                       fGfxServerRef; 
     39        entry_ref                                       fWarehouseRef; 
    4040}; 
    4141 
  • src/graphics_server/Head.cpp

    r58 r62  
    55#include "Head.h" 
    66 
    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) 
     7Head::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) 
    812{ 
    913        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()); 
    1118} 
  • src/graphics_server/Head.h

    r58 r62  
    1313class Head : public BWindow { 
    1414public: 
    15         Head(); 
    16         Head(HeadData* head); 
    17         HeadData*       Data; 
     15                                                                        Head(); 
     16                                                                        Head(HeadData* head); 
     17        HeadData*                                               Data; 
    1818                                                                 
    1919private: 
    20 //      HeadData*       Data; 
     20//      HeadData*                                               Data; 
    2121}; 
    2222 
Note: See TracChangeset for help on using the changeset viewer.