• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/include/wx/

Lines Matching defs:format

46 // a format for data which may be either one of the standard ones (text,
57 wxDataFormat(NativeFormat format = wxDF_INVALID);
58 wxDataFormat(const wxChar *format);
60 wxDataFormat& operator=(NativeFormat format);
61 wxDataFormat& operator=(const wxDataFormat& format);
63 bool operator==(NativeFormat format) const;
64 bool operator!=(NativeFormat format) const;
66 void SetType(NativeFormat format);
70 void SetId(const wxChar *format);
113 // which is either SET or GET and which tells the function if the format needs
122 Get = 0x01, // format is supported by GetDataHere()
123 Set = 0x02, // format is supported by SetData()
124 Both = 0x03 // format is supported by both (unused currently)
130 // get the best suited format for rendering our data
140 // get the (total) size of data for the given format
141 virtual size_t GetDataSize(const wxDataFormat& format) const = 0;
143 // copy raw data (in the specified format) to the provided buffer, return
145 virtual bool GetDataHere(const wxDataFormat& format, void *buf) const = 0;
147 // get data from the buffer of specified length (in the given format),
149 virtual bool SetData(const wxDataFormat& WXUNUSED(format),
155 // returns true if this format is supported
156 bool IsSupported(const wxDataFormat& format, Direction dir = Get) const;
182 // wxDataObjectSimple is a wxDataObject which only supports one format (in
192 // This class should be used when you provide data in only one format (no
200 // ctor takes the format we support, but it can also be set later with
202 wxDataObjectSimple(const wxDataFormat& format = wxFormatInvalid)
203 : m_format(format)
207 // get/set the format we support
209 void SetFormat(const wxDataFormat& format) { m_format = format; }
236 virtual size_t GetDataSize(const wxDataFormat& WXUNUSED(format)) const
238 virtual bool GetDataHere(const wxDataFormat& WXUNUSED(format),
241 virtual bool SetData(const wxDataFormat& WXUNUSED(format),
246 // the one and only format we support
272 // must be allocated on the heap) whose format will become the preferred
276 // Report the format passed to the SetData method. This should be the
277 // format of the data object within the composite that recieved data from
287 virtual size_t GetDataSize(const wxDataFormat& format) const;
288 virtual bool GetDataHere(const wxDataFormat& format, void *buf) const;
289 virtual bool SetData(const wxDataFormat& format, size_t len, const void *buf);
292 const wxDataFormat& format );
294 const wxDataFormat& format );
295 virtual size_t GetBufferOffset( const wxDataFormat& format );
299 // returns the pointer to the object which supports this format or NULL
300 wxDataObjectSimple *GetObject(const wxDataFormat& format) const;
353 // some platforms have 2 and not 1 format for text data
363 size_t GetDataSize(const wxDataFormat& format) const;
364 bool GetDataHere(const wxDataFormat& format, void *pBuf) const;
365 bool SetData(const wxDataFormat& format, size_t nLen, const void* pBuf);
447 // if you don't specify the format in the ctor, you can still use
449 wxCustomDataObject(const wxDataFormat& format = wxFormatInvalid);