home *** CD-ROM | disk | FTP | other *** search
/ PC PowerPlay 58 / pcpp58a.iso / extras / quake 3 source / Q3A_ToolSource.exe / Main / TextureLayout.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  2001-01-02  |  1.3 KB  |  60 lines

  1. // TextureLayout.cpp : implementation file
  2. //
  3.  
  4. #include "stdafx.h"
  5. #include "Radiant.h"
  6. #include "TextureLayout.h"
  7.  
  8. #ifdef _DEBUG
  9. #define new DEBUG_NEW
  10. #undef THIS_FILE
  11. static char THIS_FILE[] = __FILE__;
  12. #endif
  13.  
  14. /////////////////////////////////////////////////////////////////////////////
  15. // CTextureLayout dialog
  16.  
  17.  
  18. CTextureLayout::CTextureLayout(CWnd* pParent /*=NULL*/)
  19.     : CDialog(CTextureLayout::IDD, pParent)
  20. {
  21.     //{{AFX_DATA_INIT(CTextureLayout)
  22.     m_fX = 4.0f;
  23.     m_fY = 4.0f;
  24.     //}}AFX_DATA_INIT
  25. }
  26.  
  27.  
  28. void CTextureLayout::DoDataExchange(CDataExchange* pDX)
  29. {
  30.     CDialog::DoDataExchange(pDX);
  31.     //{{AFX_DATA_MAP(CTextureLayout)
  32.     DDX_Text(pDX, IDC_EDIT_X, m_fX);
  33.     DDX_Text(pDX, IDC_EDIT_Y, m_fY);
  34.     //}}AFX_DATA_MAP
  35. }
  36.  
  37.  
  38. BEGIN_MESSAGE_MAP(CTextureLayout, CDialog)
  39.     //{{AFX_MSG_MAP(CTextureLayout)
  40.     //}}AFX_MSG_MAP
  41. END_MESSAGE_MAP()
  42.  
  43. /////////////////////////////////////////////////////////////////////////////
  44. // CTextureLayout message handlers
  45.  
  46. void CTextureLayout::OnOK() 
  47. {
  48.     CDialog::OnOK();
  49. }
  50.  
  51. BOOL CTextureLayout::OnInitDialog() 
  52. {
  53.     CDialog::OnInitDialog();
  54.     
  55.     // TODO: Add extra initialization here
  56.     
  57.     return TRUE;  // return TRUE unless you set the focus to a control
  58.                   // EXCEPTION: OCX Property Pages should return FALSE
  59. }
  60.