class_gbr_screen.h 979 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
/**
 * @file class_gbr_screen.h
 */

#ifndef CLASS_GBR_SCREEN_H_
#define CLASS_GBR_SCREEN_H_


#include <base_units.h>
10
#include <class_base_screen.h>
11
#include <layers_id_colors_and_visibility.h>
12

13
#define ZOOM_FACTOR( x )       ( x * IU_PER_DECIMILS )
14 15 16


/* Handle info to display a board */
17
class GBR_SCREEN : public BASE_SCREEN
18 19
{
public:
20
    LAYER_NUM m_Active_Layer;
21 22 23 24 25 26 27 28 29 30
    /**
     * Constructor
     * @param aPageSizeIU is the size of the initial paper page in internal units.
     */
    GBR_SCREEN( const wxSize& aPageSizeIU );

    ~GBR_SCREEN();

    GBR_SCREEN* Next() { return (GBR_SCREEN*) Pnext; }

31 32 33 34
//    void        SetNextZoom();
//    void        SetPreviousZoom();
//    void        SetLastZoom();

35
    virtual int MilsToIuScalar();
36 37 38 39 40 41

    /**
     * Function ClearUndoORRedoList
     * virtual pure in BASE_SCREEN, so it must be defined here
     */
    void ClearUndoORRedoList( UNDO_REDO_CONTAINER& aList, int aItemCount = -1 );
42 43
};

44

45
#endif  // CLASS_GBR_SCREEN_H_