From 05da3688496fd8bd737b074d1b06c68ddcb08bd0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz?= Date: Tue, 10 Sep 2019 18:43:08 +0200 Subject: [PATCH] assets/images/logo[12].bmp: updated. libroar/RoarWindowAbout.py: switch to wx.FlexGridSizer(). assets/text/TODO: updated. --- assets/images/logo1.bmp | Bin 49206 -> 65674 bytes assets/images/logo2.bmp | Bin 35894 -> 47754 bytes assets/text/TODO | 8 +++----- libroar/RoarWindowAbout.py | 11 +++++------ 4 files changed, 8 insertions(+), 11 deletions(-) diff --git a/assets/images/logo1.bmp b/assets/images/logo1.bmp index 60aa99badd3f8dc0b8958abd2c2dac80dc2ab446..451356da8e876074e749035edde42da4cbe1a16e 100644 GIT binary patch literal 65674 zcmeI5J#XGN5XY5v?C390c4t0y{N)&^kz*;HL*LEv8`mTZ**|7@x*vY;aP zAF7{Te{X0W;Je@V4O?GO%qfcmu~4PJe<8&eQY`ov0%DKFnraiC@ci|s(d@<=)UDS0w=kdMC?@&E-%H;mt#ofbTd3=8%Mh2tK zjEIsZTRs0NZ3+BojbokmfBjh3KdSr2wx0*>o7x7&yFRCQFTHr+zh3@_%jf#r4RIYG zPbjW$9031y@~1KXM>FP+*}iKVKkldxIQ04e@LwnY+nbkQ+ov}0tvPPbpX!Up=3xB= z_^*#Y+5RorzF^6@`oh!)e7~eVpdBy3zx%GF^wo6z*!JAG{w-l2$B=w{?FRdX>*7Du zkB9K5IC9(o|8?;nn#YCmm-9yOUl;!&KQ5F%#p8Y>_^*e*wvH3SpRXH%|9bexFb<6i z{@~B|iY(y>pDF1^j*@w2ua5h4G90%DMr#LehfEi0f1&Yc-lp#HF`r)Msisr*26^A0 zF?Kqj^WQ(oo?5@SpU$+`qM!|WbmYYA>I+Mb+#dR}x$sN9DnONpOrtgC)wYC|8o3konG$M4cR=uKZU<6bF2KdIX<87PYH7- zmayEX3C-j5xqkI^E}m%)(C+hwgyp^>=Pz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drxZnhEslUfJ-G_gbPk!mC}E*bVWD- diff --git a/assets/text/TODO b/assets/text/TODO index 66c5e25..e45546e 100644 --- a/assets/text/TODO +++ b/assets/text/TODO @@ -13,10 +13,8 @@ c) text (edit, Unicode sets) 11) GUI: a) Settings panel - b) revisit About panel - c) {de,in}crease cell size - d) switch from wxPython to GTK - e) {copy,cut,insert from,paste} - f) {fix,reduce} flickering when viewRect > (0, 0) + b) switch from wxPython to GTK + c) {fix,reduce} flickering when viewRect > (0, 0) + d) {copy,cut,insert from,paste}, {de,in}crease cell size vim:ff=dos tw=0 diff --git a/libroar/RoarWindowAbout.py b/libroar/RoarWindowAbout.py index 420cbe5..b7b5ff2 100644 --- a/libroar/RoarWindowAbout.py +++ b/libroar/RoarWindowAbout.py @@ -17,24 +17,23 @@ class RoarWindowAbout(wx.Dialog): # __init__(self, parent, minSize=(320, 300), title="About roar") def __init__(self, parent, minSize=(320, 300), title="About roar"): super().__init__(parent, size=minSize, title=title) - self.panel, self.sizer, self.sizerH = wx.Panel(self), wx.BoxSizer(wx.VERTICAL), [wx.BoxSizer(wx.HORIZONTAL), wx.BoxSizer(wx.HORIZONTAL), wx.BoxSizer(wx.HORIZONTAL)] + self.panel, self.sizer, self.sizerV = wx.Panel(self), wx.FlexGridSizer(2, 2, 4, 4), wx.BoxSizer(wx.VERTICAL) logoPathNames = glob(os.path.join("assets", "images", "logo*.bmp")) logoPathName = logoPathNames[random.randint(0, len(logoPathNames) - 1)] self.logo = wx.StaticBitmap(self.panel, -1, wx.Bitmap(logoPathName)) - self.sizerH[0].Add(self.logo, 0, wx.ALL | wx.CENTER, 4) self.title = wx.StaticText(self.panel, label="roar -- mIRC art editor for Windows && Linux\nGit revision __ROAR_RELEASE_GIT_SHORT_REV__\nhttps://www.github.com/lalbornoz/roar/\nCopyright (c) 2018, 2019 Lucio Andrés Illanes Albornoz ", style=wx.ALIGN_CENTER) self.title.SetFont(wx.Font(8, wx.DEFAULT, wx.NORMAL, wx.NORMAL, underline=False)) - self.sizerH[1].Add(self.title, 0, wx.ALL | wx.CENTER, 3) - labelsText = ["&roar!", "&ROAR!", "&roaaaaaaar!", "&ROAROARAOR", "_&ROAR_"] labelText = labelsText[random.randint(0, len(labelsText) - 1)] self.buttonRoar = wx.Button(self.panel, label=labelText) self.buttonRoar.Bind(wx.EVT_BUTTON, self.onButtonRoar) - self.sizerH[2].Add(self.buttonRoar, 0, wx.ALL | wx.CENTER, 2) + self.sizerV.AddMany(((self.title, 0, wx.ALL | wx.CENTER, 4), (self.buttonRoar, 0, wx.ALL | wx.CENTER, 4),)) - [self.sizer.Add(sizer, 0, wx.CENTER) for sizer in self.sizerH] + self.sizer.AddMany(( + (self.logo, 0, wx.ALL | wx.CENTER, 4), + (self.sizerV, 0, wx.ALL | wx.CENTER, 3),)) self.panel.SetSizerAndFit(self.sizer) self.SetClientSize(self.sizer.ComputeFittingClientSize(self)); self.Center(); self.SetTitle(title)