コード例 #1
0
        private void update_palettes(object sender, EventArgs e)
        {
            palette_small plt = sender as palette_small;

            active_palette = plt.active ? plt.id:-1;

            m_sel_clr_ind = plt.get_color_inds()[plt.color_slot];

            update();
        }