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:
@@ -746,6 +746,8 @@ void xy_update_xor_rectangle( XYWnd& self, rect_t area ){
|
||||
|
||||
gboolean xywnd_button_press( GtkWidget* widget, GdkEventButton* event, XYWnd* xywnd ){
|
||||
if ( event->type == GDK_BUTTON_PRESS ) {
|
||||
gtk_widget_grab_focus( xywnd->GetWidget() );
|
||||
|
||||
if( !xywnd->Active() ){
|
||||
g_pParentWnd->SetActiveXY( xywnd );
|
||||
}
|
||||
@@ -785,6 +787,11 @@ void xywnd_motion( gdouble x, gdouble y, guint state, void* data ){
|
||||
}
|
||||
|
||||
gboolean xywnd_wheel_scroll( GtkWidget* widget, GdkEventScroll* event, XYWnd* xywnd ){
|
||||
gtk_widget_grab_focus( xywnd->GetWidget() );
|
||||
GtkWindow* window = xywnd->m_parent != 0 ? xywnd->m_parent : MainFrame_getWindow();
|
||||
if( !gtk_window_is_active( window ) )
|
||||
gtk_window_present( window );
|
||||
|
||||
if( !xywnd->Active() ){
|
||||
g_pParentWnd->SetActiveXY( xywnd );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user