Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

wxSmith development

<< < (30/34) > >>

Master:
                                              In the name of God

hello,  while working wth wxsmith,i bumped into a problem tha id like to consult with you guys .
why isnt it possible to add a bitmap picture as a background of app
in a wxpanel and meanwhile be able to add buttons,wxchoice and etc so that they be visible(they can be seen )!?
and why a bitmap button in this situation doesn't function!?
(please also pay attention to the 2nd part of this post, may be it is a new idea that could be implemented in adoring wxsmith):)
=====
more details :

--- Quote ---the only way to let the buttons and other stuff appear in this situation is to right click on the item and choose"send back" ,by using this method
when you run the application when you move your mouse cursor over a place that the item is located! by the time the mouse hovers on the item it shows up! meaning , that all of the items are invisible until you move the cursor over the object/item you have used in the form!
by the way please notice that , when you use "sendBack" on an item in this situation (using a bitmap as background of your application), you can not just click on that item easily! i mean for example you place a button on your form!(on a bitmap picture),and you send it back, then you want to add sth to the code specific to the button!(for example wana add  a new function or write Close(),what ever you like), wana double click on it and then expect seeing the source code page turned up! but to your surrprise nothing works again !(from properties pane, you cant use a new handler!i dont know Why!?!!)

i really would like o know the cause , and how to fix it if possible, and if there is noway for it now, i would really appreciate implementing such a functionality in WxSmith .

by the way how is it possible to add our own custom menu bar !? again imagin i m planing to give my application a look and feel of Mac Os x under different OSes! how to achieve that ?

would you sth about this Option,;customized menu and theme , and Other stuff ?
(just let the user decide to use a default menu bar or no define its own bar, just like Microsoft Visual Studio , that you can do such a thing in a Properties pane of the Window!)
--- End quote ---
==================
And also , is there any way to insert a flash object and make it function as button! lets say using a  flash button in wxsmith, sth just  like bitmap button! if not can you implement such a thing in adoring Wxsmith?

and is it possible to merge an Object again , sth like a bitmap , a piece of picture to the wxpanel , so that it just doesn't get in way when adding buttons , and other wxstuff ? !

tanx 

frithjofh:
hi byo,

for some time now i'm using some icons for the sizers which i made myself. i don't presume to be a great artist, but i think they work a little bit better than the original ones, better legible. the idea was that all sizer items and similar would be alike and clearly different from al the rest of the widgets icons. so i took up the red and made them all red, i gave them similar sizes, and some more changes...

they work fine for me, i attached them in a .rar , feel free to take a look at them and maybe use them as official ...

greetings from asturias

[attachment deleted by admin]

byo:

--- Quote from: Master on October 20, 2008, 06:42:11 am ---hello,  while working wth wxsmith,i bumped into a problem tha id like to consult with you guys .
why isnt it possible to add a bitmap picture as a background of app
in a wxpanel and meanwhile be able to add buttons,wxchoice and etc so that they be visible(they can be seen )!?
and why a bitmap button in this situation doesn't function!?

--- End quote ---

Hmm, you can do it it by adding handler for EVT_PAINT event. Let's say that you have bitmap in m_SomeBitmap variable, code similar to this should work:


--- Code: ---void SomeFrame::OnPaint(wxPaintEvent& event)
{
    wxPaintDC dc( this );
    dc.DrawBitmap( m_SomeBitmap, 0, 0, true );
}
--- End code ---

Putting some bitmap button or anything else at the bottom is rather a workaround and trying to put one item on another causes strange effect on windows (for example items are drawn in one order but process mouse events in opposite).


--- Quote ---by the way how is it possible to add our own custom menu bar !? again imagin i m planing to give my application a look and feel of Mac Os x under different OSes! how to achieve that ?

would you sth about this Option,;customized menu and theme , and Other stuff ?
(just let the user decide to use a default menu bar or no define its own bar, just like Microsoft Visual Studio , that you can do such a thing in a Properties pane of the Window!)

--- End quote ---

wxWidgets doesn't provide alternative to standard menus by default. There could be some some implementations somewhere on the net but I haven't seen that.


--- Quote ---And also , is there any way to insert a flash object and make it function as button! lets say using a  flash button in wxsmith, sth just  like bitmap button! if not can you implement such a thing in adoring Wxsmith?

--- End quote ---

Do you mean the flash used in web sites? If so then quick answer: no. Even web browsers need plugins for this since decoding flash is a huge challenge.

And I would almost forgot. Thsi topic was related to development process of wxSmith, not developing using wxSmith. It should be posted somewhere in the "users forums".

BTW. Why this post is "in the name of God" ?

Regards
   BYO

byo:

--- Quote from: nausea on October 22, 2008, 09:24:21 pm ---hi byo,

for some time now i'm using some icons for the sizers which i made myself. i don't presume to be a great artist, but i think they work a little bit better than the original ones, better legible. the idea was that all sizer items and similar would be alike and clearly different from al the rest of the widgets icons. so i took up the red and made them all red, i gave them similar sizes, and some more changes...

they work fine for me, i attached them in a .rar , feel free to take a look at them and maybe use them as official ...

greetings from asturias

--- End quote ---

Thanks for the icons. They look better than mine you can expect them in the repository soon :)

BYO

Master:

--- Quote from: byo on October 24, 2008, 11:24:55 pm ---
--- Quote from: Master on October 20, 2008, 06:42:11 am ---hello,  while working wth wxsmith,i bumped into a problem tha id like to consult with you guys .
why isnt it possible to add a bitmap picture as a background of app
in a wxpanel and meanwhile be able to add buttons,wxchoice and etc so that they be visible(they can be seen )!?
and why a bitmap button in this situation doesn't function!?

--- End quote ---

Hmm, you can do it it by adding handler for EVT_PAINT event. Let's say that you have bitmap in m_SomeBitmap variable, code similar to this should work:


--- Code: ---void SomeFrame::OnPaint(wxPaintEvent& event)
{
    wxPaintDC dc( this );
    dc.DrawBitmap( m_SomeBitmap, 0, 0, true );
}
--- End code ---

Putting some bitmap button or anything else at the bottom is rather a workaround and trying to put one item on another causes strange effect on windows (for example items are drawn in one order but process mouse events in opposite).


--- Quote ---by the way how is it possible to add our own custom menu bar !? again imagin i m planing to give my application a look and feel of Mac Os x under different OSes! how to achieve that ?

would you sth about this Option,;customized menu and theme , and Other stuff ?
(just let the user decide to use a default menu bar or no define its own bar, just like Microsoft Visual Studio , that you can do such a thing in a Properties pane of the Window!)

--- End quote ---

wxWidgets doesn't provide alternative to standard menus by default. There could be some some implementations somewhere on the net but I haven't seen that.


--- Quote ---And also , is there any way to insert a flash object and make it function as button! lets say using a  flash button in wxsmith, sth just  like bitmap button! if not can you implement such a thing in adoring Wxsmith?

--- End quote ---

Do you mean the flash used in web sites? If so then quick answer: no. Even web browsers need plugins for this since decoding flash is a huge challenge.

And I would almost forgot. Thsi topic was related to development process of wxSmith, not developing using wxSmith. It should be posted somewhere in the "users forums".

BTW. Why this post is "in the name of God" ?

Regards
   BYO


--- End quote ---
tanx byo for your help , the reason , i posted such a thing here was that , i thought , they could be implemented in Wxsmith ! why ? cuz again i though they are a must have and you forgot to add them to the Wxsmith project !!
well by saying the flash buttons , i mean a button made using some flash button creation software such as Armada flash suit or adobe Flash Cs3!( i wonder if you saw KmPlayer, the latest version, it uses such buttons if think!), so that you can use them in your project !the  mouse hovers,and  it changes ! you know that !
(if again these things need to use plugins , tell me please! )

and That "In the name of God" it my habit !when ever im badly in need of sth and i hope everything goes ok , i start my work (rather start coding a new project or ask new stuff) with the name of God .

again Byo many tanx, and im sorry if my post was no related to this topic  , please consider them as some suggestion on improving Wxsmith! ( ive seen these stuff in VS, so i thought i could be a good idea to implement them in WxSmith too !)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version