search for: bitmap2

Displaying 7 results from an estimated 7 matches for "bitmap2".

Did you mean: bitmap
2007 Jun 22
0
[1056] trunk/wxruby2/swig/classes/include/wxToolBar.h: Add missing param to InsertTool long version; uncomment some methods now
...p; -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp * \param wxObject* -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp*/ - - wxToolBarTool* AddTool(int toolId , const wxString& label , const wxBitmap& bitmap1 , const wxBitmap& bitmap2 = wxNullBitmap, wxItemKind kind = wxITEM_NORMAL, const wxString& shortHelpString = wxT(""), const wxString& longHelpString = wxT(""), wxObject* clientData = NULL) ; -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp/** -&nbsp&nbsp&nb...
2007 Jun 22
0
[1059] trunk/wxruby2/doc/textile/toolbar.txtl: Update ToolBar documentation to reflect recent changes in API
...ss="cx"> </span><del>- "ToolBarToolBase":toolbartoolbase.html *add_tool*(%(arg-type)Integer% toolId, - %(arg-type)String% label, - %(arg-type)Bitmap% bitmap1, - %(arg-type)Bitmap% bitmap2 = NullBitmap, - %(arg-type)ItemKind% kind = ITEM_NORMAL, - %(arg-type)String% shortHelpString = "", - %(arg-type)String% longHelpString = "", - %(arg-type)Object% clien...
2007 Jun 22
0
[1057] trunk/wxruby2/swig/classes/include/wxToolBar.h: Add new methods from the 2.8 API
...@@ -16,11 +16,14 @@ </span><span class="cx"> wxToolBarToolBase* AddTool(wxToolBarToolBase* tool ); </span><span class="cx"> wxToolBarToolBase* AddCheckTool(int toolId , const wxString& label , const wxBitmap& bitmap1 , const wxBitmap& bitmap2 , const wxString& shortHelpString = wxT(""), const wxString& longHelpString = wxT(""), wxObject* clientData = NULL) ; </span><span class="cx"> wxToolBarToolBase* AddRadioTool(int toolId , const wxString& label , const wxBitmap& bitma...
2005 Jan 22
9
Dragging images across the canvas
Hi wxRuby Gurus, I''m trying to write a sample program which allows me to drag an image (by left_mouse_button down) across the canvas. I got it to work ... well, sort of. The problem is I can drag it only by clicking on the left top corner of the image and nowhere else. Besides, the dragging is not very smooth. How can I make it better? I am using wxRuby 0.6.0 on Win XP (Home) and
2007 Apr 25
2
[LLVMdev] Work in progress patch to speed up andersen's implementation
...e. */ #define EXECUTE_IF_SET_IN_BITMAP(BITMAP, MIN, BITNUM, ITER) \ for (bmp_iter_set_init (&(ITER), (BITMAP), (MIN), &(BITNUM)); \ bmp_iter_set (&(ITER), &(BITNUM)); \ bmp_iter_next (&(ITER), &(BITNUM))) /* Loop over all the bits set in BITMAP1 & BITMAP2, starting with MIN and setting BITNUM to the bit number. ITER is a bitmap iterator. BITNUM should be treated as a read-only variable as it contains loop state. */ #define EXECUTE_IF_AND_IN_BITMAP(BITMAP1, BITMAP2, MIN, BITNUM, ITER) \ for (bmp_iter_and_init (&(ITER), (BITMAP1), (B...
2007 Jun 19
5
Wx::ToolBar#insert_tool
...uys, Wx::ToolBar#insert_tool, is either not referenced right, or needs to be updated. 1.) Wx::ToolBar#insert_tool(size_t pos, ToolBarToolBase tool) comes up with a No overloading function type error, AKA 404 Not Found 2.) Wx::ToolBar#insert_tool(size_t pos, Integer toolId, Bitmap bitmap1, Bitmap bitmap2 = NullBitmap, Boolean isToggle = false, Object clientData = nil, String shortHelpString = "", String longHelpString = "") Should have a reference also in the parameters to String label just after Integer toolId, to conform with Wx::ToolBar#add_tool(). Just thought I''d...
2007 Jun 22
0
[1055] trunk/wxruby2/swig/classes/ToolBar.i: Chnage methods returning ToolBarToolBase to return position of new tool;
...;s not a documented class. -#// fake it by saying it''s just a control -typedef wxControl wxToolBarTool; </del><span class="cx"> </span><del>-%ignore wxToolBar::AddTool(int toolId, const wxString& label, const wxBitmap& bitmap1, const wxBitmap& bitmap2 = wxNullBitmap, wxItemKind kind = wxITEM_NORMAL, const wxString& shortHelpString = "", const wxString& longHelpString = "", wxObject* clientData = NULL); </del><ins>+// +%typemap(out) wxToolBarToolBase* { + int pos_of_tool = arg1->GetToolPos($1->GetId...