WxSmith Timeline

From CodeBlocks
Jump to: navigation, search

Timeline for wxSmith:

Task Description Estimated time Finished
Events in wiki Add description of events system into Wiki:
  • Choose item which generate events (few different)
  • Add item's source into wxSmithContribItems
  • Add class registering item in wxSmith
  • add events and describe this process in Wiki
1 day Yes
Extra init code Add extra initialization code added right after item is built

Warning: this may mess the code base

2 hours Yes
Insert by mouse Allow adding items to resource by pointing with mouse 1 day Yes
Grid Add grid for containers without sizers. This will require:
  • Generating panel-derived widget displaying grid
  • Modifying mouse routines in editor
  • Adding new elements into configuration
  • Remember that grid also apply when resizing container using grid
1 day Yes
Adopt new header system New header generation system is now capable of generating forward declarations and list of headers splitted for pch-included and non-included. The option whether to use pch filter and/or forward declarations should be available while generating new resource 1 day Yes
Add more tools There are some tools which could be accessible from viasual editor:
  • Chk.png wxColourDialog
  • Chk.png wxDirDialog
  • Chk.png wxFileDialog
  • Nop.png wxFindReplaceDialog
  • Chk.png wxMultiChoiceDialog
  • Nop.png wxSingleChoiceDialog
  • Nop.png wxTextEntryDialog
  • Nop.png wxPasswordEntryDialog
  • Nop.png wxFontDialog
  • Nop.png wxPageSetupDialog
  • Nop.png wxPringDialog
  • Nop.png wxProgressDialog
  • Nop.png wxMessageDialog
  • Nop.png wxSymbolPickerDialog
  • Nop.png wxRichTextFormattingDialog
  • Nop.png wxFTP
  • Nop.png wxHTTP
  • Nop.png wxDialUpManager
  • Nop.png wxSocketClient (?)
1 week No
Fix dragbox bug Sometimes on linux when resource is more complicated, drag boxes are placed in invalid position. It looks like the positions are calculated before main panel (the one which not yet belongs to the resource or the main resource's panel) is shifted using it's sizer. 1 day No
Add ability to fetch buttons from wxStdDialogButtonSizer It should be quite easy to fetch buttons from this sizer, it may be done using FindWindow when using XRC (by using OnBuildXRCFetchingCode) and simply by storing pointers when using source mode (just by assigning pointers when generating 1 day No
Virtual-function events Some items provide functinalities in derived classes only by calling virtual functions. Such functions could be threated as some kind of events and could be generated automatically by wxSmith (by automatically generating some derived class) 1 week No
Include one resource in another There could be some special item which would allow adding other resources (like wxPanels) into another ones. Curently it msut be done by making some tricks like changing "Class name" or by using custom item. wxSmith could really easily integrate with such resources. The only problem I see here is that there's changing list of constructor arguments which can be passed into other resources and wxSmith won't be able to guess values for custom arguments - but this can be implemented similarily to generation of custom resources - by providing some kond of script-code where all arguments would be provided by the user 3 days No
Using //{ and //} comments to allow folding of wxSmith code In resouce wizard there could be an option to automatically add //{ and //} comments which notify wxScintilla that the block should be foldable. One of following solutions could be used here:

Firts solution:


It will require changing detection of block folding

Second solution:

//{ wxSmith-generated code

Third solution:

//{ wxSmith-generated code
1 hour No