<commit_before>//
// Name:		LightDlg.cpp
//
// Copyright (c) 2004 Virtual Terrain Project
// Free for all uses, see license.txt for details.
//

#ifdef __GNUG__
	#pragma implementation "LightDlg.cpp"
#endif

// For compilers that support precompilation, includes "wx/wx.h".
#include "wx/wxprec.h"

#ifdef __BORLANDC__
	#pragma hdrstop
#endif

#include "vtlib/vtlib.h"
#include "vtui/Helper.h"	// for FillWithColor
#include "LightDlg.h"
#include <wx/colordlg.h>

// WDR: class implementations

//----------------------------------------------------------------------------
// LightDlg
//----------------------------------------------------------------------------

// WDR: event table for LightDlg

BEGIN_EVENT_TABLE(LightDlg,AutoDialog)
	EVT_CHOICE( ID_LIGHT, LightDlg::OnLight )
	EVT_BUTTON( ID_AMBIENT, LightDlg::OnAmbient )
	EVT_BUTTON( ID_DIFFUSE, LightDlg::OnDiffuse )
	EVT_TEXT_ENTER( ID_DIRX, LightDlg::OnText )
	EVT_TEXT_ENTER( ID_DIRY, LightDlg::OnText )
	EVT_TEXT_ENTER( ID_DIRZ, LightDlg::OnText )
END_EVENT_TABLE()

LightDlg::LightDlg( wxWindow *parent, wxWindowID id, const wxString &title,
	const wxPoint &position, const wxSize& size, long style ) :
	AutoDialog( parent, id, title, position, size, style )
{<commit_msg>rem Borland thing<commit_after>//
// Name:		LightDlg.cpp
//
// Copyright (c) 2004 Virtual Terrain Project
// Free for all uses, see license.txt for details.
//

#ifdef __GNUG__
	#pragma implementation "LightDlg.cpp"
#endif

// For compilers that support precompilation, includes "wx/wx.h".
#include "wx/wxprec.h"

#include "vtlib/vtlib.h"
#include "vtui/Helper.h"	// for FillWithColor
#include "LightDlg.h"
#include <wx/colordlg.h>

// WDR: class implementations

//----------------------------------------------------------------------------
// LightDlg
//----------------------------------------------------------------------------

// WDR: event table for LightDlg

BEGIN_EVENT_TABLE(LightDlg,AutoDialog)
	EVT_CHOICE( ID_LIGHT, LightDlg::OnLight )
	EVT_BUTTON( ID_AMBIENT, LightDlg::OnAmbient )
	EVT_BUTTON( ID_DIFFUSE, LightDlg::OnDiffuse )
	EVT_TEXT_ENTER( ID_DIRX, LightDlg::OnText )
	EVT_TEXT_ENTER( ID_DIRY, LightDlg::OnText )
	EVT_TEXT_ENTER( ID_DIRZ, LightDlg::OnText )
END_EVENT_TABLE()

LightDlg::LightDlg( wxWindow *parent, wxWindowID id, const wxString &title,
	const wxPoint &position, const wxSize& size, long style ) :
	AutoDialog( parent, id, title, position, size, style )
{
{'fraction_non_alphanumeric': 0.23444581788215904, 'fraction_numerical': 0.003296250515039143, 'mean_word_length': 2.6566265060240966, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6866563', 'n_tokens_mistral': 809, 'n_tokens_neox': 821, 'n_words': 195}