Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
wxSmith development
byo:
I will get back to one of previous posts about iconized buttons in palette window
--- Quote from: rickg22 ---Why not just grab upCase's? :wink:
--- End quote ---
I don't se anywhere source for wxRapid, don't want to fetch from exe using some brute attempt ;).
But maybe anybody would like to help and create some nice-looking ones :D I would be grateful :D
I remember how actual C::B logo was created and I believe that there are some people here who could handle this work :D
cyberkoa:
--- Quote from: byo ---
--- Quote from: cyberkoa ---
I have 1 question , under the Watch Tab , there is not symbols.
However, if I use the CB 1.0beta-final (the one I use to compile CB) , I open wxSmith.cbp . there are symbols under Watch .
Any idea ? Anyway , I just curious only. I put more attention to the wxSmith source code study .
--- End quote ---
Hmm, I don't have any watches. Can You post here their names ? Maybe I've addeed something to wrong tree ;)
--- End quote ---
sorry, I make mistake :oops: not the watches , but the symbols . Meaning , there is no symbols appear under tab "Symbol" (if I run in the developing version of CB)
no problem in CB final-beta-1.0
--- Quote from: byo ---By the way - I've updated to wxNotebook interface - it should be available in anonymous cvs in few hours
--- End quote ---
I shall update later .
cyberkoa:
Hi ,byo.
I have tried to add more information in the resources tree for each node , I have added in
widget.cpp
void wxsWidget::BuildTree(wxTreeCtrl* Tree,wxTreeItemId Id,int Index)
{
wxString Name = GetInfo().Name;
Name = Name.Append(" - ");
Name = Name.Append(GetBaseParams().VarNotStored?
GetBaseParams().VarName:GetBaseParams().IdName);
....
}
My intention is to add more detail for each resources rather than only showing the class name like "wxButton" etc .
My question is ,what is the purpose of having the flag VarNotStored in the struct wxsWidgetBaseParams.
In the source you mention "True if widget's variable won't be stored inside main window" , can you explain more on this, I thought it indicates whether the widget have variable name key in ? Sorry if this is a silly question because I just get to know wxwidgets 2 months ago...
byo:
--- Quote from: cyberkoa ---void wxsWidget::BuildTree(wxTreeCtrl* Tree,wxTreeItemId Id,int Index)
{
wxString Name = GetInfo().Name;
Name = Name.Append(" - ");
Name = Name.Append(GetBaseParams().VarNotStored?
GetBaseParams().VarName:GetBaseParams().IdName);
....
}
--- End quote ---
thx for advice - will updae soon :)
--- Quote from: cyberkoa ---
My question is ,what is the purpose of having the flag VarNotStored in the struct wxsWidgetBaseParams.
--- End quote ---
I would like wxSmith to create dialogs and other resources in two ways - first one is to create XRC file and then to automatically manage code loading / event handling etc. Second way is to manage code wchich would create dialog without loading xrc. In this way each widget must have it's variable (just pointer to it's class) - it could be stored as a member of dialog's class (VarNotStored=false) or could be created locally inside funnction building dialog (VarNotStored=true) - using first one means that You want to use widget somewhere in class - read it's content or change it so it's good for edit fields check boxes etc. Second one means that You don't want this widget to be stored inside edialog's class - good for static widgets which won't change (and won't mess dialog's declaration).
Hmm, I hope I've explained that :oops: :)
mandrav:
--- Quote ---Meaning , there is no symbols appear under tab "Symbol" (if I run in the developing version of CB)
--- End quote ---
This must have to do with some events processed by wxSmith plugin, not being skipped (event.Skip()) so that they can be processed by other plugins too.
I mentioned it before and byo said he would look into it.
Yiannis.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version