Which file should I edit for editing the sidebar(the one which comes when u press triangle)

a lot of files actually, but the main two are:
system_plugin.rco » tex_option_menu_base
common_gui.prx » fades, placement etc
ok thanks I'll try it for my new theme