*** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1,21 +1,17 @@
|
|||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
// Name: gauge.h
|
// Name: gauge.h
|
||||||
// Purpose: wxGauge class
|
// Purpose: wxGauge class
|
||||||
// Author: AUTHOR
|
// Author: David Webster
|
||||||
// Modified by:
|
// Modified by:
|
||||||
// Created: ??/??/98
|
// Created: 10/06/99
|
||||||
// RCS-ID: $Id$
|
// RCS-ID: $Id$
|
||||||
// Copyright: (c) AUTHOR
|
// Copyright: (c) David Webster
|
||||||
// Licence: wxWindows licence
|
// Licence: wxWindows licence
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef _WX_GAUGE_H_
|
#ifndef _WX_GAUGE_H_
|
||||||
#define _WX_GAUGE_H_
|
#define _WX_GAUGE_H_
|
||||||
|
|
||||||
#ifdef __GNUG__
|
|
||||||
#pragma interface "gauge.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "wx/control.h"
|
#include "wx/control.h"
|
||||||
|
|
||||||
WXDLLEXPORT_DATA(extern const char*) wxGaugeNameStr;
|
WXDLLEXPORT_DATA(extern const char*) wxGaugeNameStr;
|
||||||
@@ -56,7 +52,8 @@ class WXDLLEXPORT wxGauge: public wxControl
|
|||||||
int GetRange() const ;
|
int GetRange() const ;
|
||||||
int GetValue() const ;
|
int GetValue() const ;
|
||||||
|
|
||||||
void SetSize(int x, int y, int width, int height, int sizeFlags = wxSIZE_AUTO);
|
bool SetForegroundColour(const wxColour& col);
|
||||||
|
bool SetBackgroundColour(const wxColour& col);
|
||||||
|
|
||||||
virtual void Command(wxCommandEvent& WXUNUSED(event)) {} ;
|
virtual void Command(wxCommandEvent& WXUNUSED(event)) {} ;
|
||||||
|
|
||||||
|
@@ -1,11 +1,11 @@
|
|||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
// Name: gdiobj.h
|
// Name: gdiobj.h
|
||||||
// Purpose: wxGDIObject class: base class for other GDI classes
|
// Purpose: wxGDIObject class: base class for other GDI classes
|
||||||
// Author: AUTHOR
|
// Author: David Webster
|
||||||
// Modified by:
|
// Modified by:
|
||||||
// Created: ??/??/98
|
// Created: ??/??/98
|
||||||
// RCS-ID: $Id$
|
// RCS-ID: $Id$
|
||||||
// Copyright: (c) AUTHOR
|
// Copyright: (c) David Webster
|
||||||
// Licence: wxWindows licence
|
// Licence: wxWindows licence
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
@@ -14,10 +14,6 @@
|
|||||||
|
|
||||||
#include "wx/object.h"
|
#include "wx/object.h"
|
||||||
|
|
||||||
#ifdef __GNUG__
|
|
||||||
#pragma interface "gdiobj.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
class WXDLLEXPORT wxGDIRefData: public wxObjectRefData {
|
class WXDLLEXPORT wxGDIRefData: public wxObjectRefData {
|
||||||
public:
|
public:
|
||||||
inline wxGDIRefData()
|
inline wxGDIRefData()
|
||||||
@@ -34,6 +30,14 @@ DECLARE_DYNAMIC_CLASS(wxGDIObject)
|
|||||||
inline wxGDIObject() { m_visible = FALSE; };
|
inline wxGDIObject() { m_visible = FALSE; };
|
||||||
inline ~wxGDIObject() {};
|
inline ~wxGDIObject() {};
|
||||||
|
|
||||||
|
// Creates the resource
|
||||||
|
virtual bool RealizeResource(void) { return FALSE; };
|
||||||
|
|
||||||
|
// Frees the resource
|
||||||
|
virtual bool FreeResource(bool WXUNUSED(force) = FALSE) { return FALSE; };
|
||||||
|
|
||||||
|
virtual bool IsFree(void) const { return FALSE; };
|
||||||
|
|
||||||
inline bool IsNull() const { return (m_refData == 0); }
|
inline bool IsNull() const { return (m_refData == 0); }
|
||||||
|
|
||||||
virtual bool GetVisible() { return m_visible; }
|
virtual bool GetVisible() { return m_visible; }
|
||||||
|
1094
src/os2/gauge.cpp
1094
src/os2/gauge.cpp
File diff suppressed because it is too large
Load Diff
@@ -9,9 +9,8 @@
|
|||||||
// Licence: wxWindows licence
|
// Licence: wxWindows licence
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifdef __GNUG__
|
// For compilers that support precompilation, includes "wx.h".
|
||||||
#pragma implementation "gdiobj.h"
|
#include "wx/wxprec.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "wx/gdiobj.h"
|
#include "wx/gdiobj.h"
|
||||||
|
|
||||||
|
@@ -311,6 +311,8 @@ OS2OBJS = \
|
|||||||
..\os2\$D\font.obj \
|
..\os2\$D\font.obj \
|
||||||
..\os2\$D\fontdlg.obj \
|
..\os2\$D\fontdlg.obj \
|
||||||
..\os2\$D\frame.obj \
|
..\os2\$D\frame.obj \
|
||||||
|
..\os2\$D\gauge.obj \
|
||||||
|
..\os2\$D\gdiobj.obj \
|
||||||
..\os2\$D\window.obj
|
..\os2\$D\window.obj
|
||||||
|
|
||||||
OS2LIBOBJS = \
|
OS2LIBOBJS = \
|
||||||
@@ -342,6 +344,8 @@ OS2LIBOBJS = \
|
|||||||
font.obj \
|
font.obj \
|
||||||
fontdlg.obj \
|
fontdlg.obj \
|
||||||
frame.obj \
|
frame.obj \
|
||||||
|
gauge.obj \
|
||||||
|
gdiobj.obj \
|
||||||
window.obj
|
window.obj
|
||||||
|
|
||||||
HTMLOBJS = \
|
HTMLOBJS = \
|
||||||
@@ -517,6 +521,8 @@ $(OS2LIBOBJS):
|
|||||||
copy ..\os2\$D\font.obj
|
copy ..\os2\$D\font.obj
|
||||||
copy ..\os2\$D\fontdlg.obj
|
copy ..\os2\$D\fontdlg.obj
|
||||||
copy ..\os2\$D\frame.obj
|
copy ..\os2\$D\frame.obj
|
||||||
|
copy ..\os2\$D\gauge.obj
|
||||||
|
copy ..\os2\$D\gdiobj.obj
|
||||||
copy ..\os2\$D\window.obj
|
copy ..\os2\$D\window.obj
|
||||||
|
|
||||||
# wxWindows library as DLL
|
# wxWindows library as DLL
|
||||||
|
Reference in New Issue
Block a user