NAME

IUP::Manual::07_UsingImageLibrary - Using IUP buil-in image library

IUP MANUAL

Available Images

All built-in images from ImageLibrary are available automatically after use IUP

To use/reference build-in images you have to use symbolic names like "IUP_LogoTecgraf" - BEWARE: the names are strings not constants/bare words.

See - Using Images in Other Elements (via IMAGE Attribute)

Bitmap Group

These bitmaps are 16x16-8bpp (Motif), 16x16-32bpp (Win32) or 24x24-32bpp (GTK) pixels size images that can be used in Buttons, usually inside toolbars. Do not set RASTERSIZE of buttons so they can expand when switching to GTK.

Name Image (Motif) Image (Win32) Image (GTK)
"IUP_ActionCancel"
"IUP_ActionOk"
"IUP_ArrowDown"
"IUP_ArrowLeft"
"IUP_ArrowRight"
"IUP_ArrowUp"
"IUP_EditCopy"
"IUP_EditCut"
"IUP_EditErase"
"IUP_EditFind"
"IUP_EditPaste"
"IUP_EditRedo"
"IUP_EditUndo"
"IUP_FileClose"
"IUP_FileCloseAll"
"IUP_FileNew"
"IUP_FileOpen"
"IUP_FileProperties"
"IUP_FileSave"
"IUP_FileSaveAll"
"IUP_FileText"
"IUP_FontBold"
"IUP_FontDialog"
"IUP_FontItalic"
"IUP_MediaForward"
"IUP_MediaGotoBegin"
"IUP_MediaGoToEnd"
"IUP_MediaPause"
"IUP_MediaPlay"
"IUP_MediaRecord"
"IUP_MediaReverse"
"IUP_MediaRewind"
"IUP_MediaStop"
"IUP_MessageError"
"IUP_MessageHelp"
"IUP_MessageInfo"
"IUP_NavigateHome"
"IUP_NavigateRefresh"
"IUP_Print"
"IUP_PrintPreview"
"IUP_ToolsColor"
"IUP_ToolsSettings"
"IUP_ToolsSortAscend"
"IUP_ToolsSortDescend"
"IUP_ViewFullScreen"
"IUP_Webcam"
"IUP_WindowsCascade"
"IUP_WindowsTile"
"IUP_Zoom"
"IUP_ZoomActualSize"
"IUP_ZoomIn"
"IUP_ZoomOut"
"IUP_ZoomSelection"

Icon Group

These icons are 32x32 pixels size (or just 32 pixels height) images that can be used in Labels, usually inside toolbars.

Name Image (generic)
"IUP_Tecgraf"
"IUP_PUC-Rio"
"IUP_BR"
"IUP_Lua"
"IUP_TecgrafPUC-Rio"
"IUP_Petrobras"

Logo Group

These logos are 48x48 pixels size (or just 48 pixels height) images that can be used in Labels, usually inside dialogs.

Name Image (generic)
"IUP_LogoTecgraf"
"IUP_LogoPUC-Rio"
"IUP_LogoBR"
"IUP_LogoLua"
"IUP_LogoTecgrafPUC-Rio"
"IUP_LogoPetrobras"

Other

NOTE: used imglib has to be built with -DIUP_IMGLIB_LARGE (which is disabled by default) to include these images. Alien::IUP asks dusing build process for enabling 48x48 images.

Here are other images available in the IUP stock library, commonly used by the respective systems. All images are 48x48 pixels size and 32bpp.

Name Image (Win32) Image (GTK)
"IUP_LogoMessageSecurity"
"IUP_LogoMessageWarning"
"IUP_LogoMessageInfo"
"IUP_LogoMessageError"
"IUP_LogoMessageHelp"
"IUP_DeviceCamera" N/A
"IUP_DeviceCD" N/A
"IUP_DeviceCellPhone" N/A
"IUP_DeviceComputer" N/A
"IUP_DeviceFax" N/A
"IUP_DeviceMP3" N/A
"IUP_DeviceNetwork" N/A
"IUP_DevicePDA" N/A
"IUP_DevicePrinter" N/A
"IUP_DeviceScanner" N/A
"IUP_DeviceSound" N/A
"IUP_DeviceVideo" N/A