11#include "AddonCallback.h"
12#include "AddonString.h"
14#include "swighelper.h"
25 class InterceptorBase;
48 explicit Action(
const CAction& caction) { setFromCAction(caction); }
50 void setFromCAction(
const CAction& caction);
53 float fAmount1 = 0.0f;
54 float fAmount2 = 0.0f;
56 unsigned long buttonCode = 0;
57 std::string strAction;
60 AddonClass::Ref<Control> control;
63#ifdef DOXYGEN_SHOULD_USE_THIS
90 long getId() { XBMC_TRACE;
return id; }
93#ifdef DOXYGEN_SHOULD_USE_THIS
106#ifdef DOXYGEN_SHOULD_USE_THIS
116 float getAmount1() { XBMC_TRACE;
return fAmount1; }
119#ifdef DOXYGEN_SHOULD_USE_THIS
129 float getAmount2() { XBMC_TRACE;
return fAmount2; }
187 friend class WindowDialogMixin;
188 bool isDisposed =
false;
190 void doAddControl(
Control* pControl, CCriticalSection* gcontext,
bool wait);
191 void doRemoveControl(
Control* pControl, CCriticalSection* gcontext,
bool wait);
195 InterceptorBase* window;
198 std::vector<AddonClass::Ref<Control> > vecControls;
199 int iOldWindowId = 0;
200 int iCurrentControlId = 3000;
202 CEvent m_actionEvent;
204 bool canPulse =
false;
207 bool existingWindow =
true;
208 bool destroyAfterDeInit =
false;
218 void deallocating()
override;
245 SWIGHIDDENVIRTUAL
void PulseActionEvent();
246 SWIGHIDDENVIRTUAL
bool WaitForActionEvent(
unsigned int milliseconds);
250 explicit Window(
int existingWindowId = -1);
255 SWIGHIDDENVIRTUAL
bool OnMessage(CGUIMessage& message);
256 SWIGHIDDENVIRTUAL
bool OnAction(
const CAction &action);
257 SWIGHIDDENVIRTUAL
bool OnBack(
int actionId);
258 SWIGHIDDENVIRTUAL
void OnDeinitWindow(
int nextWindowID);
260 SWIGHIDDENVIRTUAL
bool IsDialogRunning()
const { XBMC_TRACE;
return false; };
261 SWIGHIDDENVIRTUAL
bool IsDialog()
const { XBMC_TRACE;
return false; };
262 SWIGHIDDENVIRTUAL
bool IsModalDialog()
const { XBMC_TRACE;
return false; };
263 SWIGHIDDENVIRTUAL
bool IsMediaWindow()
const { XBMC_TRACE;
return false; };
264 SWIGHIDDENVIRTUAL
void dispose();
294#ifdef DOXYGEN_SHOULD_USE_THIS
341#ifdef DOXYGEN_SHOULD_USE_THIS
370#ifdef DOXYGEN_SHOULD_USE_THIS
398 virtual void onClick(
int controlId);
401#ifdef DOXYGEN_SHOULD_USE_THIS
432#ifdef DOXYGEN_SHOULD_USE_THIS
459 virtual void onFocus(
int controlId);
462#ifdef DOXYGEN_SHOULD_USE_THIS
490#ifdef DOXYGEN_SHOULD_USE_THIS
505 SWIGHIDDENVIRTUAL
void show();
508#ifdef DOXYGEN_SHOULD_USE_THIS
525#ifdef DOXYGEN_SHOULD_USE_THIS
537 SWIGHIDDENVIRTUAL
void setFocusId(
int iControlId);
540#ifdef DOXYGEN_SHOULD_USE_THIS
555#ifdef DOXYGEN_SHOULD_USE_THIS
570#ifdef DOXYGEN_SHOULD_USE_THIS
588#ifdef DOXYGEN_SHOULD_USE_THIS
604 SWIGHIDDENVIRTUAL
void removeControls(std::vector<Control*> pControls);
607#ifdef DOXYGEN_SHOULD_USE_THIS
623#ifdef DOXYGEN_SHOULD_USE_THIS
639#ifdef DOXYGEN_SHOULD_USE_THIS
668 SWIGHIDDENVIRTUAL
void setProperty(
const char* key,
const String& value);
671#ifdef DOXYGEN_SHOULD_USE_THIS
698 SWIGHIDDENVIRTUAL String
getProperty(
const char* key);
701#ifdef DOXYGEN_SHOULD_USE_THIS
731#ifdef DOXYGEN_SHOULD_USE_THIS
753#ifdef DOXYGEN_SHOULD_USE_THIS
765 SWIGHIDDENVIRTUAL
void close();
768#ifdef DOXYGEN_SHOULD_USE_THIS
777 SWIGHIDDENVIRTUAL
void doModal();
780#ifdef DOXYGEN_SHOULD_USE_THIS
816#ifdef DOXYGEN_SHOULD_USE_THIS
832 SWIGHIDDENVIRTUAL
void addControls(std::vector<Control*> pControls);
835#ifdef DOXYGEN_SHOULD_USE_THIS
static int getNextAvailableWindowId()
void setWindow(InterceptorBase *_window)
void interceptorClear()
Definition: Window.h:270
Control * GetControlById(int iControlId, CCriticalSection *gc)
getButtonCode()
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
getId()
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
getAmount1()
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
getAmount2()
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
onInit(...)
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
onAction(...)
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
onDoubleClick(...)
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
onClick(...)
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
onFocus(...)
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
void onControl(...)
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
removeControls(...)
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
setFocusId(...)
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
removeControl(...)
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
clearProperty(...)
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
getProperty(...)
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
show()
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
clearProperties()
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
getFocusId()
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
addControl(...)
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
setFocus(...)
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
addControls(...)
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
setProperty(...)
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
close()
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
getHeight()
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
getFocus()
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
getWidth()
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
getControl(...)
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...
doModal()
<h4><code><span style="font-style: italic;">Function: </span><span style="font-style: bold;"><font co...