Searched refs:icon (Results 1 - 25 of 175) sorted by relevance

1234567

/haiku/src/apps/icon-o-matic/import_export/
H A DImporter.cpp29 Importer::Init(Icon* icon) argument
34 if (!icon || icon->InitCheck() < B_OK)
37 fStyleIndexOffset = icon->Styles()->CountStyles();
38 fPathIndexOffset = icon->Paths()->CountPaths();
H A DImporter.h29 status_t Init(Icon* icon);
H A DExporter.h34 virtual status_t Export(const Icon* icon,
46 status_t _Export(const Icon* icon,
/haiku/src/apps/icon-o-matic/import_export/styled_text/
H A DStyledTextImporter.h39 status_t Import(Icon* icon,
41 status_t Import(Icon* icon,
45 status_t _Import(Icon* icon, const char *text,
48 status_t _AddStyle(Icon *icon, text_run *run);
49 status_t _AddPaths(Icon *icon, BShape *shape);
50 status_t _AddShape(Icon *icon, BShape *shape, text_run *run);
/haiku/src/apps/icon-o-matic/import_export/svg/
H A DSVGImporter.h20 status_t Import(Icon* icon,
/haiku/src/servers/input/
H A DMethodMenuItem.cpp20 MethodMenuItem::MethodMenuItem(int32 cookie, const char* name, const uchar* icon, BMenu* subMenu, BMessenger& messenger) argument
26 fIcon.SetBits(icon, MENUITEM_ICON_SIZE * MENUITEM_ICON_SIZE, 0, B_CMAP8);
31 MethodMenuItem::MethodMenuItem(int32 cookie, const char* name, const uchar* icon) argument
36 fIcon.SetBits(icon, MENUITEM_ICON_SIZE * MENUITEM_ICON_SIZE, 0, B_CMAP8);
52 MethodMenuItem::SetIcon(const uchar *icon) argument
54 fIcon.SetBits(icon, MENUITEM_ICON_SIZE * MENUITEM_ICON_SIZE, 0, B_CMAP8);
H A DMethodMenuItem.h27 MethodMenuItem(int32 cookie, const char *label, const uchar *icon, BMenu *subMenu, BMessenger &messenger);
28 MethodMenuItem(int32 cookie, const char *label, const uchar *icon);
38 void SetIcon(const uchar *icon);
H A DInputServerMethod.cpp42 const uchar *icon)
45 fOwner = new _BMethodAddOn_(this, name, icon);
98 BInputServerMethod::SetIcon(const uchar *icon) argument
100 return fOwner->SetIcon(icon);
160 const uchar *icon)
166 if (icon != NULL)
167 memcpy(fIcon, icon, 16*16*1);
200 _BMethodAddOn_::SetIcon(const uchar* icon) argument
204 if (icon != NULL)
205 memcpy(fIcon, icon, 1
41 BInputServerMethod(const char *name, const uchar *icon) argument
159 _BMethodAddOn_(BInputServerMethod *method, const char *name, const uchar *icon) argument
[all...]
/haiku/headers/os/storage/
H A DMime.h39 status_t get_device_icon(const char* device, void* icon, int32 size);
48 status_t get_device_icon(const char* device, BBitmap* icon, icon_size which);
52 status_t get_named_icon(const char* name, BBitmap* icon, icon_size which);
/haiku/headers/build/os/storage/
H A DMime.h32 status_t get_device_icon(const char *dev, void *icon, int32 size);
56 status_t get_device_icon(const char *dev, BBitmap *icon, icon_size which);
H A DNodeInfo.h32 Like it's mime type, the files icon and the application which will load
55 virtual status_t GetIcon(BBitmap *icon, icon_size k = B_LARGE_ICON) const;
56 virtual status_t SetIcon(const BBitmap *icon, icon_size k = B_LARGE_ICON);
65 status_t GetTrackerIcon(BBitmap *icon,
68 BBitmap *icon,
/haiku/src/apps/processcontroller/
H A DTeamBarMenuItem.h31 BBitmap* icon, bool deleteIcon);
41 void Reset(char* name, team_id team, BBitmap* icon, bool deleteIcon);
H A DMemoryBarMenuItem.h31 BBitmap* icon, bool deleteIcon, BMessage* message);
42 void Reset(char* name, team_id team, BBitmap* icon, bool deleteIcon);
/haiku/src/kits/tracker/
H A DMountMenu.cpp130 // get icon
131 BBitmap* icon = new BBitmap(BRect(0, 0, B_MINI_ICON - 1, B_MINI_ICON - 1), local
133 if (partition->GetIcon(icon, B_MINI_ICON) != B_OK) {
134 delete icon;
135 icon = NULL;
144 if (icon != NULL)
145 item = new IconMenuItem(name.String(), message, icon);
201 BBitmap* icon = new BBitmap(BRect(0, 0, 15, 15), B_CMAP8); local
204 PRINT(("Cannot get mount menu item icon; bad device ID\n"));
205 delete icon;
[all...]
/haiku/src/apps/icon-o-matic/import_export/bitmap/
H A DBitmapExporter.h19 virtual status_t Export(const Icon* icon,
/haiku/src/apps/icon-o-matic/import_export/flat_icon/
H A DRDefExporter.h20 virtual status_t Export(const Icon* icon,
H A DSourceExporter.h20 virtual status_t Export(const Icon* icon,
/haiku/src/bin/rc/tests/
H A Dbuiltin.rdef77 /* Large (32x32, 8-bit) application icon. */
80 array icon[1024]
83 /* Small (16x16, 8-bit) application icon. */
86 array icon[256]
/haiku/src/libs/icon/
H A DIconUtils.cpp306 icon_size which, BBitmap* icon)
308 if (node == NULL || icon == NULL)
315 result = icon->InitCheck();
319 switch (icon->ColorSpace()) {
322 // prefer vector icon
323 result = GetVectorIcon(node, vectorIconAttrName, icon);
329 if (icon->Bounds().IntegerWidth() + 1 >= 32)
335 largeIconAttrName, which, icon);
342 which, icon);
344 // try to fallback to vector icon
304 GetIcon(BNode* node, const char* vectorIconAttrName, const char* smallIconAttrName, const char* largeIconAttrName, icon_size which, BBitmap* icon) argument
381 GetVectorIcon(BNode* node, const char* attrName, BBitmap* icon) argument
443 GetVectorIcon(const uint8* buffer, size_t size, BBitmap* icon) argument
508 GetCMAP8Icon(BNode* node, const char* smallIconAttrName, const char* largeIconAttrName, icon_size which, BBitmap* icon) argument
672 ConvertFromCMAP8(const uint8* src, uint32 width, uint32 height, uint32 srcBPR, BBitmap* icon) argument
797 ConvertToCMAP8(const uint8* src, uint32 width, uint32 height, uint32 srcBPR, BBitmap* icon) argument
[all...]
/haiku/src/apps/pairs/
H A DPairs.cpp113 // didn't find an icon
127 vector_icon* icon = (vector_icon*)malloc(sizeof(vector_icon)); local
128 if (icon == NULL) {
130 free(icon);
134 icon->data = data;
135 icon->size = size;
137 // found a vector icon, add it to the list
138 fIconMap[hash] = icon;
/haiku/src/preferences/filetypes/
H A DIconView.cpp55 // check for icon from preferred app
67 // check super type for an icon
108 // check for icon from preferred app
120 // check super type for an icon
188 // we have the vector icon, no need to get the rest
193 BBitmap* icon = AllocateBitmap(B_LARGE_ICON, B_CMAP8); local
194 if (icon && info.GetIconForType(type, icon, B_LARGE_ICON) == B_OK)
195 AdoptLarge(icon);
197 delete icon;
233 BBitmap* icon = AllocateBitmap(B_LARGE_ICON, B_CMAP8); local
876 ::Icon* icon = fIconData; local
988 SetTo(::Icon* icon) argument
1024 BBitmap* icon = NULL; local
1202 ::Icon* icon = fIconData; local
[all...]
/haiku/headers/os/add-ons/input_server/
H A DInputServerMethod.h21 const uchar* icon);
29 status_t SetIcon(const uchar* icon);
/haiku/src/kits/storage/mime/
H A Ddatabase_support.cpp164 get_icon_data(const BBitmap *icon, icon_size which, void **data, argument
167 if (icon == NULL || data == NULL || dataSize == 0
168 || icon->InitCheck() != B_OK)
188 // Check the icon
189 status_t err = icon->Bounds() == bounds ? B_OK : B_BAD_VALUE;
193 otherColorSpace = (icon->ColorSpace() != B_CMAP8);
200 err = icon8->ImportBits(icon);
206 srcData = icon->Bits();
207 *dataSize = icon->BitsLength();
/haiku/src/build/libbe/storage/
H A DNodeInfo.cpp202 /*! \brief Gets the node's icon.
204 The icon stored in the node's "BEOS:L:STD_ICON" (large) or
207 \param icon A pointer to a pre-allocated BBitmap of the correct dimension
208 to store the requested icon (16x16 for the mini and 32x32 for the
209 large icon).
210 \param k Specifies the size of the icon to be retrieved: \c B_MINI_ICON
211 for the mini and \c B_LARGE_ICON for the large icon.
215 - \c B_BAD_VALUE: \c NULL \a icon, unsupported icon size \a k or bitmap
216 dimensions (\a icon) an
220 GetIcon(BBitmap *icon, icon_size k) const argument
316 SetIcon(const BBitmap *icon, icon_size k) argument
597 GetTrackerIcon(BBitmap *icon, icon_size iconSize) const argument
721 GetTrackerIcon(const entry_ref *ref, BBitmap *icon, icon_size iconSize) argument
[all...]
/haiku/src/apps/diskusage/
H A DInfoWindow.h20 LeftView(BRect frame, BBitmap* icon);

Completed in 368 milliseconds

1234567