Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
Plugin Settings Icons
mandrav:
--- Quote from: dmoore on July 05, 2007, 02:50:31 pm ---I've made a start: http://wiki.codeblocks.org/index.php?title=Managing_Plug-in_Resources
(it will probably take a couple of weeks to complete because I have other pressing demands on my time :) )
Anyone reading this should feel free to contribute - I'm certain there are many mistakes
--- End quote ---
Thanks :)
killerbot:
we once made the suggestion in a sticky post, to use CamelCase, could you adopt your wiki page to use that too please.
MyPlugIn ;-)
dje:
Hi !
After many tests, I don't succeed in installing my plugin pngs :oops:
My manifest.xml
--- Code: ---<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<CodeBlocks_plugin_manifest_file>
<SdkVersion major="1" minor="11" release="10" />
<Plugin name="ThreadSearch">
<Value title="ThreadSearch" />
<Value version="0.7" />
<Value description="Multi-threaded 'Search in files' with preview window." />
<Value author="Jerome ANTOINE" />
<Value authorEmail="" />
<Value authorWebsite="" />
<Value thanksTo="wxWidgets team
Code::Blocks team
wxGlade team" />
<Value license="GPL" />
</Plugin>
<Extra file="images/findf.png" />
<Extra file="images/findfdisabled.png" />
<Extra file="images/options.png" />
<Extra file="images/optionsdisabled.png" />
<Extra file="images/stop.png" />
<Extra file="images/stopdisabled.png" />
</CodeBlocks_plugin_manifest_file>
--- End code ---
My structure :
ThreadSearch.cbplugin
findf.png
findfdisabled.png
options.png
optionsdisabled.png
stop.png
stopdisabled.png
ThreadSearch.dll
ThreadSearch.png
ThreadSearch-off.png
ThreadSearch.zip
manifest.xml
I also tried to put pngs (all except ThreadSearch.png and ThreadSearch-off.png) in ThreadSearch.zip but only settings pngs are copied.
Is there anything wrong ?
XP SP2, SVN 4229.
Dje
dmoore:
show your image loading code...
dje:
In fact, I just checked the tree.
extra pngs are not copied at the right (expected) place.
i first tried to copy them with
--- Code: ---<Extra file="images/ThreadSearch/findf.png" />
--- End code ---
As it didn't work, I tried with
--- Code: ---<Extra file="images/findf.png" />
--- End code ---
I also tried with
--- Code: ---<Extra file="images\ThreadSearch\findf.png" />
--- End code ---
Shouldn't they be copied at install whatever my code is ?
It is
--- Code: ---wxString prefix = ConfigManager::GetDataFolder() + _T("/images/ThreadSearch/");
...
pBtnSearch->SetBitmapDisabled(wxBitmap(prefix + wxT("findfdisabled.png"), wxBITMAP_TYPE_PNG));
--- End code ---
@dmoore You already saw it isn't it ?
Dje
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version