ToolMap
Loading...
Searching...
No Matches
scale.h
1/***************************************************************************
2 scale.h
3 Deals with the scale properties
4 -------------------
5 copyright : (C) 2007 CREALP Lucien Schreiber
6 ***************************************************************************/
7
8/***************************************************************************
9 * *
10 * This program is free software; you can redistribute it and/or modify *
11 * it under the terms of the GNU General Public License as published by *
12 * the Free Software Foundation; either version 2 of the License, or *
13 * (at your option) any later version. *
14 * *
15 ***************************************************************************/
16#ifndef _SCALE_H
17#define _SCALE_H
18
19#include <wx/wxprec.h>
20
21#ifndef WX_PRECOMP
22#include <wx/wx.h>
23#endif
24
25/***************************************************************************/
32class ScaleTM : public wxObject {
33 private:
34 public:
35 ScaleTM() {
36 ;
37 }
38
39 ~ScaleTM() {
40 ;
41 }
42
43 // static function for converting string
44 static bool GetScaleFromLong(const long& scale, wxString& stringscale);
45
46 static long GetScaleFromString(const wxString& scale);
47};
48
49#endif
Class used to deal with scales.
Definition scale.h:32