Q3map2:
* fix: parsing of /* */ comments, having * or / inside
Radiant:
misc...
encapsulate RETURN_FALSE_IF_FAIL macros with do while 0: minus warnings
* button to call color selector from ents inspector color entry
* explanatory text on initial engine path configuration
* don't show Global preferences by default, except first start
* activate {xyview, camera, texbro glwidget} on mouse button press and scroll, so {texbro treeview and console} hotkeys do not override global ones
* activate windows, containing xyview, camera, texbro on mouse scroll
* fix: autoapplying trigger texture on entity creation is undoable
* fix: texbro m1/2 x2 work, when some tag is loaded
* bold key and spawnflags names in entity inspector entity description
* fix: +CameraFreeMove* command, +shift, -CameraFreeMove*, -shift = still moving (reason: caps letter)
This commit is contained in:
@@ -845,6 +845,7 @@ void camwnd_update_xor_rectangle( CamWnd& self, rect_t area ){
|
||||
|
||||
gboolean selection_button_press( GtkWidget* widget, GdkEventButton* event, WindowObserver* observer ){
|
||||
if ( event->type == GDK_BUTTON_PRESS ) {
|
||||
gtk_widget_grab_focus( widget );
|
||||
observer->onMouseDown( WindowVector_forDouble( event->x, event->y ), button_for_button( event->button ), modifiers_for_state( event->state ) );
|
||||
}
|
||||
return FALSE;
|
||||
@@ -886,6 +887,11 @@ gboolean selection_motion_freemove( GtkWidget *widget, GdkEventMotion *event, Wi
|
||||
}
|
||||
|
||||
gboolean wheelmove_scroll( GtkWidget* widget, GdkEventScroll* event, CamWnd* camwnd ){
|
||||
//gtk_window_set_focus( camwnd->m_parent, camwnd->m_gl_widget );
|
||||
gtk_widget_grab_focus( camwnd->m_gl_widget );
|
||||
if( !gtk_window_is_active( camwnd->m_parent ) )
|
||||
gtk_window_present( camwnd->m_parent );
|
||||
|
||||
if ( event->direction == GDK_SCROLL_UP ) {
|
||||
Camera_Freemove_updateAxes( camwnd->getCamera() );
|
||||
if( camwnd->m_bFreeMove || !g_camwindow_globals.m_bZoomInToPointer ){
|
||||
|
||||
Reference in New Issue
Block a user