search for: getposit

Displaying 20 results from an estimated 23 matches for "getposit".

Did you mean: deposit
2010 Nov 08
1
API Google MAPS
...a"), myOptions); // add the marker itself var marker = new google.maps.Marker({ position: point, map: mapilla, draggable: true }); google.maps.event.addListener(marker, ''position_changed'', function() { var darwin = new google.maps.LatLng(marker.getPosition()); $(''input:text[name=event[lng]]'').val(marker.getPosition().lng()); $(''input:text[name=event[lat]]'').val(marker.getPosition().lat()); //document.getElementById("Longitud").innerHTML = marker.getPosition().lng(); //document.getE...
2006 Sep 27
2
GetSize and GetPosition
Right now we default to returning objects instead of arrays. perl/python have alternates that return tuples/lists. Do we want to %alias those so we can get arrays back or does it really matter?
2006 Sep 12
1
Patch to wxMouseEvent.h
This patch just applies some const tags that were missing (does this affect anything at all?) and removes a definition that was causing a conflict. Roy _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
2006 Aug 03
6
evt_scrollwin_thumbtrack/GetPosition?
...event successfully, but I am unable to capture the position of the thumb tracker. I have looked at the poor man''s doc and have been unable to figure out how this is captured. I have also looked at the wxWidgets documentation and tried using event.get_position (corresponding to wxWidgets GetPosition, and following the format generally used in wxRuby), but this was not successful. Thanks, Joe _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
2005 Dec 15
1
Some handy methods - perhaps cool enough to be committed some time
...Feel free to use it. The code should be rather self explaining, but heres a quickguide. - new Geometry.Size(width,height) - Creates a new instance of size - new Geometry.Position(x,y) - Creates a new instance of position - new Geometry.Area(position,size) - Creates a new instance of area - Element.getPosition(element) - retrieves the position of an element - Element.setPosition(element,position) - sets the position of an element - Element.getSize(element) - retrieves the size of an element - Element.setSize(element,position) - sets the size of an element - Element.setOpacity(element,opacity) - sets t...
2006 Sep 20
3
Fix for non-centered windows
Two patches here: First one removes virtual from a function that shouldn''t have been virtual. Second one applies a typemap to catch GetRectFromChildWindow. For reasons that are completely beyond me the standard ruby OUTPUT typemaps don''t define directorargouts. I will take a stab at patching SWIG''s default typemaps someday so we get this fixed for free on all our
2007 Jul 21
0
[1130] trunk/wxruby2/swig/classes/Caret.i: Make Caret managed as object, so it is cleaned up properly when not
...lt;/ins><span class="cx"> </span><ins>+%ignore wxCaret::wxCaret() ; +%ignore wxCaret::wxCaret(wxWindow* window, int width, int height); + </ins><span class="cx"> // only support the variants that return an object </span><del>-%ignore GetPosition(int* x , int* y ) const; -%ignore GetSize(int* width , int* height ) const; </del><ins>+%ignore GetPosition(int* x, int* y) const; +%ignore GetSize(int* width, int* height) const; </ins><span class="cx"> </span><ins>+%rename(MoveXy) wxCaret::Mov...
2007 Jul 04
0
[1107] trunk/wxruby2: Add the 2.8 get_modifiers method to KeyEvent; remove some deprecated
...yEvent_controldown </span><span class="cx"> * "KeyEvent#get_key_code":#KeyEvent_getkeycode </span><ins>+* "KeyEvent#get_modifiers":#KeyEvent_getmodifiers </ins><span class="cx"> * "KeyEvent#get_position":#KeyEvent_getposition </span><span class="cx"> * "KeyEvent#get_raw_key_code":#KeyEvent_getrawkeycode </span><span class="cx"> * "KeyEvent#get_raw_key_flags":#KeyEvent_getrawkeyflags </span><span class="lines">@@ -98,57 +92,6 @@ <...
2005 Nov 04
19
Drag & Scroll
When using drag and drop, the browser window will not scroll if you move the mouse off the page. This makes it very difficult, if not impossible to create certain types of web applications. I know this has been mentioned before and is on the Wish List, but it''s very frustrating. If you look at this other Javascript library called "Drag''nDrop & DHTML Library"
2007 Apr 30
0
[998] branches/wxruby2/wxwidgets_282/swig/classes/Window.i: Additional %ignore needed for Wx::Window in 2.8
...">@@ -26,6 +26,7 @@ </span><span class="cx"> // only support the variants that return an object </span><span class="cx"> %ignore wxWindow::GetSize(int* width , int* height ) const; </span><span class="cx"> %ignore wxWindow::GetPosition(int* x , int* y ) const; </span><ins>+%ignore wxWindow::GetScreenPosition(int* x, int* y) const; </ins><span class="cx"> </span><span class="cx"> %rename(SetDimensions) wxWindow::SetSize(int x , int y , int width , int height , int s...
2007 Aug 10
0
Wine release 0.9.43
...nders (1): shell32: Define avi resource #164. Luis C. Busquets P?rez (3): ntdll: Update Nt stdcalls for stubs of Zw. kernel32: Export RestoreLastError. dpnlobby: Add dpnlobby that forwards to dpnet.dll. Maarten Lankhorst (23): winealsa: Increase performance of wavein getposition. winealsa: Increase performance of waveout getposition. winealsa: Always commit at least 3 periods in dsoutput. dsound: Replace buffer critical section with a rw-lock. dsound: Reset state when stopping device. dsound: Small mixer optimizations. dsound: Fix loc...
2006 Dec 31
0
[815] trunk/wxruby2/swig/classes: Added ContextMenuEvent class plus event handling methods
...= wxDefaultPosition) + : wxCommandEvent(type, winid), + m_pos(pt) + { } + wxContextMenuEvent(const wxContextMenuEvent & event) + : wxCommandEvent(event), + m_pos(event.m_pos) + { } + + // Position of event (in screen coordinates) + const wxPoint& GetPosition() const { return m_pos; } + void SetPosition(const wxPoint& pos) { m_pos = pos; } + + virtual wxEvent *Clone() const { return new wxContextMenuEvent(*this); } + +protected: + wxPoint m_pos; +}; + +#endif </ins></span></pre> </div> </div> </body&gt...
2006 Dec 31
0
[814] trunk/wxruby2/swig/classes: Added ScrollEvent class plus event processing and handler methods
...mp;nbsp&nbsp&nbsp&nbsp&nbsp/** -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp * \brief Returns the position of the scrollbar. -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp*/ - </del><span class="cx"> int GetPosition() const; </span><span class="cx"> }; </span><span class="cx"> </span></span></pre> </div> </div> </body> </html>
2013 Mar 15
0
Wine release 1.5.26
...after intro 27320 sims3 crashes after a while in wined3d 27466 Listview redraw is broken 27854 Listview: custom draw code overwrites text background color when it shouldn't (it seems) 27855 entry field in Quicken98-2002 follows keys rather than filling out field 28039 IAudioClock_GetPosition must ignore underruns (MacOS) 28723 Sound stutter in Rage when emulated windows version is set to "Windows 7" (XAudio2 -> mmdevapi sound output path) 28856 Crackling/popping sounds in Starcraft 2 (PulseAudio) 29274 Steam on Mac - mic test fails and crashes Counter Strike 1....
2006 Dec 20
0
[791] trunk/wxruby2/swig/classes/include/wxWindow.h: Remove shadowing GetBestSize def causing warning, plus strip crufty comments
...p;nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp * \param int* -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp * \param int* -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp*/ - </del><span class="cx"> void GetPosition(int* x , int* y ) const; </span><del>-&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp/** -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp * \brief This gets the position of the window in pixels, relative to the parent window -for th...
2020 Aug 01
0
Wine release 5.14
..." parameter to WINSPOOL_SetDefaultPrinter(). winspool: Stop setting the "Devices" key. wine.inf: Map the Devices section of win.ini to the registry. winspool: Stop modifying the "Devices" profile section. quartz: Allow the arguments to IMediaSeeking::GetPositions() to be NULL. quartz: Correctly convert reference time to REFTIME in IBasicVideo::get_AvgTimePerFrame(). winegstreamer: Check for failure from gst_video_info_set_format(). wine.inf: Map the Desktop section of win.ini to the registry. wine.inf: Map the Extensions section...
2007 Jun 29
0
Wine release 0.9.40
...: Finally get rid of the thread in alsa directsound acceleration. dsound: Give rougher estimates for fraglen to satisfy alsa. dsound: Simplify mixing by removing remixing support, and fix its waveout breakage. dsound: Tune some parameters for alsa waveout. winealsa: Optimize GetPosition() more in dsalsa. dsound/winealsa: Remove writelead for alsa directsound. winealsa: Silence buffer on allocation. dsound: Fix calcplayposition to handle mixed amount > buffer length better. Marcus Meissner (1): wined3d: Fixed pointer casting and additions. Michael St...
2006 Dec 03
0
[778] trunk/wxruby2: Remove broken and deprecated LayoutConstraints, update samples & docs
...wxWindow::SetConstraints; + </ins><span class="cx"> // only support the variants that return an object </span><span class="cx"> %ignore wxWindow::GetSize(int* width , int* height ) const; </span><span class="cx"> %ignore wxWindow::GetPosition(int* x , int* y ) const; </span></span></pre> </div> </div> </body> </html>
2007 Sep 14
0
Wine release 0.9.45
...void code duplication. dsound: Update DSOUND_PrimarySetFormat to follow flags and return values more precisely. winealsa: Make SetFormat work better with new behavior of dsound. dsound: Increase dll refcount and disable thread calls. winealsa: Use correct capture position in getposition. winealsa: Remove forceformat and 2 orphan LeaveCriticalSection. dsound: Fix null pointer dereference for waveout in creating buffer. dsound: Fix detection of different sample rates in setformat. dsound: Runtime link to advapi32.RegDeleteTree. dsound: Change default...
2012 May 25
0
Wine release 1.5.5
...to hold the entire prebuffer. dsound: Change mix_buffer to float instead of INT. dsound: Get rid of redundant primary_mixpos member. dsound: Compute mix buffer's size more accurately. dsound: Resample to float, not device format. dsound: Don't use IAudioClock::GetPosition to determine buffer fullness. msgsm32: Downgrade ERR to WARN. wineoss.drv: Track number of frames reserved by client in capture direction. wineoss.drv: Resolve some diff between winealsa and wineoss. Andr? Hentschel (4): winedbg: Add partial Thumb2 disassembler. wm...