2004-10-19 13:40:30 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2005-01-21 21:04:05 +00:00
|
|
|
// Name: src/palmos/caret.cpp
|
2004-10-19 13:40:30 +00:00
|
|
|
// Purpose: Palm OS implementation of wxCaret
|
2005-01-21 21:04:05 +00:00
|
|
|
// Author: William Osborne - minimal working wxPalmOS port
|
2004-10-19 13:40:30 +00:00
|
|
|
// Modified by:
|
|
|
|
// Created: 10.13.04
|
2005-01-21 21:04:05 +00:00
|
|
|
// RCS-ID: $Id$
|
2004-10-19 13:40:30 +00:00
|
|
|
// Copyright: (c) William Osborne
|
|
|
|
// Licence: wxWindows licence
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
// ===========================================================================
|
|
|
|
// declarations
|
|
|
|
// ===========================================================================
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
// headers
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
|
|
|
// For compilers that support precompilation, includes "wx.h".
|
|
|
|
#include "wx/wxprec.h"
|
|
|
|
|
|
|
|
#ifdef __BORLANDC__
|
|
|
|
#pragma hdrstop
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef WX_PRECOMP
|
|
|
|
#include "wx/window.h"
|
|
|
|
#include "wx/log.h"
|
|
|
|
#endif // WX_PRECOMP
|
|
|
|
|
|
|
|
#include "wx/caret.h"
|
|
|
|
|
|
|
|
#if wxUSE_CARET
|
|
|
|
|
|
|
|
#include "wx/palmos/private.h"
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
// macros
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
|
|
|
#define CALL_CARET_API(api, args) \
|
|
|
|
if ( !api args ) \
|
|
|
|
wxLogLastError(_T(#api))
|
|
|
|
|
|
|
|
// ===========================================================================
|
|
|
|
// implementation
|
|
|
|
// ===========================================================================
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
// blink time
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
|
|
|
//static
|
|
|
|
int wxCaretBase::GetBlinkTime()
|
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
//static
|
|
|
|
void wxCaretBase::SetBlinkTime(int milliseconds)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
// creating/destroying the caret
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
|
|
|
bool wxCaret::PalmOSCreateCaret()
|
|
|
|
{
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
void wxCaret::OnSetFocus()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void wxCaret::OnKillFocus()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
// showing/hiding the caret
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
|
|
|
void wxCaret::DoShow()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void wxCaret::DoHide()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
// moving the caret
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
|
|
|
void wxCaret::DoMove()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
// resizing the caret
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
|
|
|
void wxCaret::DoSize()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|